Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-63887

published critical CVSS 3.1 · 9.8

scsi: target: iscsi: Bound iscsi_encode_text_output() appends to rsp_buf

Published
19 Jul 2026, 14:55:00 UTC
Updated
19 Oct 2026, 20:17:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe48354ce078c079996f89d715dfa44814b4eba01 to < cb84e974fb172bc71386289f37b78ea679410b39 · e48354ce078c079996f89d715dfa44814b4eba01 to < b19382dfc6e7dee6d3859ba44b6ca29e97a51627 · e48354ce078c079996f89d715dfa44814b4eba01 to < efe633e600a0ac68357206fede21b1ac8178f3b8 · e48354ce078c079996f89d715dfa44814b4eba01 to < 4e9f0c4a645c995bc75c06c7b3644254ffb4c76b · e48354ce078c079996f89d715dfa44814b4eba01 to < 30bf335e8fe170322080ee001f05ca29c50680b3 · e48354ce078c079996f89d715dfa44814b4eba01 to < 594a40360012ce5f94c715d5e3b20fa3af7d525a · e48354ce078c079996f89d715dfa44814b4eba01 to < 26e4a304b7e6f1338c675d527608d32549c091db · e48354ce078c079996f89d715dfa44814b4eba01 to < bf33e01f88388c43e285492a63e539df6ffed64c · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.1 (affected) · 0 to < 3.1 (unaffected · semver) · 5.10.259 through 5.10.* (unaffected · semver) · 5.15.210 through 5.15.* (unaffected · semver) · 6.1.176 through 6.1.* (unaffected · semver) · 6.6.143 through 6.6.* (unaffected · semver) · 6.12.93 through 6.12.* (unaffected · semver) · 6.18.35 through 6.18.* (unaffected · semver) · 7.0.12 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2026-124 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2026-110 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1881 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
Show 100 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluationALAS2023-2026-1924 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2026-1968 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.157.1.rt7.498.el8_10 ALSA-2026:57254
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 perf Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.157.1.el8_10 ALSA-2026:57253
AlmaLinux 9 kernel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-devel-matched Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-debug-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-devel-matched Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-64k-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-abi-stablelists Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-cross-headers Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-devel-matched Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-debug-uki-virt Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-devel-matched Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-doc Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-headers Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-debug-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-64k-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-debug-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-modules Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-modules-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-rt-modules-extra Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-tools Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-tools-libs Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-tools-libs-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-uki-virt Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-uki-virt-addons Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-zfcpdump Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-zfcpdump-core Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129
AlmaLinux 9 kernel-zfcpdump-devel Advisory build 5.14.0-687.44.1.el9_8 ALSA-2026:63129

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: target: iscsi: Bound iscsi_encode_text_output() appends to rsp_buf iscsi_encode_text_output() concatenates "key=value\0" records into login->rsp_buf, an 8192-byte kzalloc(MAX_KEY_VALUE_PAIRS) buffer allocated in iscsit_alloc_login_setup_buffer(). The three sprintf() call sites in this function (lines 1398, 1411, 1424 in v7.1-rc2) never check the remaining buffer capacity: *length += sprintf(output_buf, "%s=%s", er->key, er->value); *length += 1; output_buf = textbuf + *length; The 8192-byte ceiling at iscsi_target_check_login_request() bounds the *input* Login PDU payload, but a single PDU can carry up to 2048 minimal four-byte "a=b\0" pairs, each unknown key expanding to a 16-byte "a=NotUnderstood\0" output record via iscsi_add_notunderstood_response(). 2048 * 16 = 32 KiB of output into an 8 KiB buffer, producing a ~24 KiB heap overrun in the kmalloc-8k slab. The fix introduces a static iscsi_encode_text_record() helper that uses snprintf() with a per-call bounds check against the remaining buffer, and threads a u32 textbuf_size parameter through iscsi_encode_text_output(). Both call sites in iscsi_target_handle_csg_zero() (PHASE_SECURITY) and iscsi_target_handle_csg_one() (PHASE_OPERATIONAL) pass MAX_KEY_VALUE_PAIRS. On overflow the encoder logs the condition, calls iscsi_release_extra_responses() to drop queued records, and returns -1; both caller sites now emit ISCSI_STATUS_CLS_INITIATOR_ERR / ISCSI_LOGIN_STATUS_INIT_ERR via iscsit_tx_login_rsp() before returning, so the initiator sees an explicit failed-login response rather than a silent connection drop. (Prior to this patch only the PHASE_OPERATIONAL caller did that; the PHASE_SECURITY caller is converted to the same shape.)

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

110

Showing the first 100 linked advisory records.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
9.8 / 10
Severity
critical
Provider
Linux · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:N - The Linux iSCSI target (LIO) is an in-kernel SCSI target that accepts remote TCP connections on the iSCSI portal (typically port 3260); crafted Login PDUs reach the vulnerable encoder via the normal network receive and login-negotiation path. AC:L - Once an iSCSI target portal is reachable, an attacker can reliably trigger the overflow by sending a single Login PDU packed with unknown key=value pairs; no races or victim-dependent timing are required. PR:N - The heap overflow occurs during login negotiation before iSCSI authentication completes; a discovery-session login requires only InitiatorName and SessionType with no credentials, initiator ACL, or local privileges. UI:N - Exploitation requires only network packets sent by the attacker; no action from a legitimate user or administrator is needed beyond the target already exposing its iSCSI portal. S:U - The corruption is confined to kernel heap memory in the iSCSI target/login context and does not cross a VM, container, or IOMMU security boundary by itself. C:H - A ~24 KiB out-of-bounds write into the kmalloc-8k slab can corrupt adjacent kernel objects and be leveraged for arbitrary memory disclosure, not merely a bounded leak. I:H - The unbounded sprintf heap overrun is a large out-of-bounds write that can corrupt adjacent heap metadata or objects to achieve arbitrary kernel memory modification and potential code execution. A:H - Corrupting kmalloc-8k heap objects during login response encoding can cause kernel oops, BUG, or panic, and the attack can be repeated against an exposed iSCSI target.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e48354ce078c079996f89d715dfa44814b4eba01 to < cb84e974fb172bc71386289f37b78ea679410b39 (affected · git)e48354ce078c079996f89d715dfa44814b4eba01 to < b19382dfc6e7dee6d3859ba44b6ca29e97a51627 (affected · git)e48354ce078c079996f89d715dfa44814b4eba01 to < efe633e600a0ac68357206fede21b1ac8178f3b8 (affected · git)e48354ce078c079996f89d715dfa44814b4eba01 to < 4e9f0c4a645c995bc75c06c7b3644254ffb4c76b (affected · git)e48354ce078c079996f89d715dfa44814b4eba01 to < 30bf335e8fe170322080ee001f05ca29c50680b3 (affected · git)e48354ce078c079996f89d715dfa44814b4eba01 to < 594a40360012ce5f94c715d5e3b20fa3af7d525a (affected · git)e48354ce078c079996f89d715dfa44814b4eba01 to < 26e4a304b7e6f1338c675d527608d32549c091db (affected · git)e48354ce078c079996f89d715dfa44814b4eba01 to < bf33e01f88388c43e285492a63e539df6ffed64c (affected · git)Default: unaffected Linux · cna
Linux Linux 3.1 (affected)0 to < 3.1 (unaffected · semver)5.10.259 through 5.10.* (unaffected · semver)5.15.210 through 5.15.* (unaffected · semver)6.1.176 through 6.1.* (unaffected · semver)6.6.143 through 6.6.* (unaffected · semver)6.12.93 through 6.12.* (unaffected · semver)6.18.35 through 6.18.* (unaffected · semver)7.0.12 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-122 CWE-122 Heap-based Buffer Overflow (CISA-ADP · adp)

References

8

Provider assertions

2

Linux · cna

scsi: target: iscsi: Bound iscsi_encode_text_output() appends to rsp_buf

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
42fec80c3e5b8f2a0076e6a9559d85863d8a8bf8d43468b2d2d8195a5763b6e6
Ingested
19 Oct 2026, 20:33:47 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected