Description
In the Linux kernel, the following vulnerability has been resolved:

scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer

iscsi_scsi_cmd_rsp() copies the sense data of a SCSI Response from the
target-supplied data segment. The segment carries a 2-byte sense length
followed by the sense bytes, so it must hold 2 + senselen bytes, but the
bounds check only requires datalen >= senselen:

senselen = get_unaligned_be16(data);
if (datalen < senselen)
goto invalid_datalen;
memcpy(sc->sense_buffer, data + 2,
min_t(uint16_t, senselen, SCSI_SENSE_BUFFERSIZE));

A target that returns a SCSI Response whose datalen equals senselen
(with senselen <= SCSI_SENSE_BUFFERSIZE) makes the memcpy() from data +
2 read up to two bytes past the received data. Those bytes are stale
conn->data contents and end up in the command's sense buffer, which is
returned to userspace.

Account for the 2-byte sense length prefix in the check.
Published: 2026-08-15
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability resides in the Linux kernel's libiscsi module, where the handling of SCSI response data allowed the kernel to read past the end of the supplied data segment (CWE‑125). The code incorrectly validated the data length, which let a malicious iSCSI target supply a response whose length matched the sense length. This caused the kernel to copy two additional unused bytes from the connection buffer into the command’s sense buffer, exposing stale kernel memory contents to user‑space processes that queried the sense buffer. The result is a small but actionable information disclosure, potentially revealing recent kernel traffic or memory contents that could aid further exploitation.

Affected Systems

The flaw affects all Linux kernel implementations that include the libiscsi component and have not applied the fix commit. It is present in every distribution kernel version up to and including the stable branch prior to the patch 1f07a897d43c63e6c9458bf77450defef39b5833. The fix is available in the stable tree as of the referenced commit.

Risk and Exploitability

The CVSS score is 7.5, the EPSS score is less than 1%, and it is not listed in CISA KEV catalog. Exploitation requires an attacker who can control an iSCSI target to send a crafted SCSI response with a length matching the sense length. The attacker would then cause the kernel to copy two stale bytes into the sense buffer, which is then returned to user‑space. The attack vector is network‑based and requires the victim to have an iSCSI target configured. While the disclosed information is limited, it can provide kernel data that may be useful for more advanced exploits. The overall risk is moderate to high for environments that expose iSCSI services to untrusted hosts.

Generated by OpenCVE AI on August 21, 2026 at 22:26 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that includes commit 1f07a897d43c63e6c9458bf77450defef39b5833 or apply the corresponding patch manually.
  • If an immediate kernel upgrade is not possible, disable or restrict access to iSCSI targets from untrusted networks.
  • Verify that the SCSI sense buffer does not contain stale data by monitoring iSCSI responses and matching sense lengths to received data lengths; consider SCSI response validation tools.

Generated by OpenCVE AI on August 21, 2026 at 22:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Fri, 21 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-20

Thu, 20 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 19 Aug 2026 17:00:00 +0000


Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Sat, 15 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-20

Sat, 15 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer iscsi_scsi_cmd_rsp() copies the sense data of a SCSI Response from the target-supplied data segment. The segment carries a 2-byte sense length followed by the sense bytes, so it must hold 2 + senselen bytes, but the bounds check only requires datalen >= senselen: senselen = get_unaligned_be16(data); if (datalen < senselen) goto invalid_datalen; memcpy(sc->sense_buffer, data + 2, min_t(uint16_t, senselen, SCSI_SENSE_BUFFERSIZE)); A target that returns a SCSI Response whose datalen equals senselen (with senselen <= SCSI_SENSE_BUFFERSIZE) makes the memcpy() from data + 2 read up to two bytes past the received data. Those bytes are stale conn->data contents and end up in the command's sense buffer, which is returned to userspace. Account for the 2-byte sense length prefix in the check.
Title scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-19T16:38:59.951Z

Reserved: 2026-08-15T05:44:03.916Z

Link: CVE-2026-74557

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T13:18:01.160

Modified: 2026-08-19T17:21:10.927

Link: CVE-2026-74557

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-74557 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T22:30:17Z

Weaknesses