CVE-2026-74557
scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer
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.
INFO
Published Date :
Aug. 15, 2026, 1:18 p.m.
Last Modified :
Aug. 15, 2026, 1:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-74557
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update the Linux kernel to include the fix.
- Verify the bounds check logic.
- Test SCSI command responses.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74557.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74557 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74557
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74557 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74557 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '7996a778ff8c717cb1a7a294475c59cc8f1e9fb8', 'lessThan': '7567f06abdefb1caf2d836107c4d08c5185c650e', 'versionType': 'git'}, {'status': 'affected', 'version': '7996a778ff8c717cb1a7a294475c59cc8f1e9fb8', 'lessThan': '60499924faf4ef97e84228c20515218ef121facf', 'versionType': 'git'}, {'status': 'affected', 'version': '7996a778ff8c717cb1a7a294475c59cc8f1e9fb8', 'lessThan': '3ef209ca0b4b68c75e9a814d90cc916026b5a6ac', 'versionType': 'git'}, {'status': 'affected', 'version': '7996a778ff8c717cb1a7a294475c59cc8f1e9fb8', 'lessThan': '1f07a897d43c63e6c9458bf77450defef39b5833', 'versionType': 'git'}, {'status': 'affected', 'version': '7996a778ff8c717cb1a7a294475c59cc8f1e9fb8', 'lessThan': '98b87885de4b7f605533a2860685f5689fce8e82', 'versionType': 'git'}], 'programFiles': ['drivers/scsi/libiscsi.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '2.6.18'}, {'status': 'unaffected', 'version': '0', 'lessThan': '2.6.18', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.151', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.103', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.44', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.8', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc6', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/scsi/libiscsi.c'], 'defaultStatus': 'affected'}] 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. Added Reference https://git.kernel.org/stable/c/1f07a897d43c63e6c9458bf77450defef39b5833 Added Reference https://git.kernel.org/stable/c/3ef209ca0b4b68c75e9a814d90cc916026b5a6ac Added Reference https://git.kernel.org/stable/c/60499924faf4ef97e84228c20515218ef121facf Added Reference https://git.kernel.org/stable/c/7567f06abdefb1caf2d836107c4d08c5185c650e Added Reference https://git.kernel.org/stable/c/98b87885de4b7f605533a2860685f5689fce8e82