CVE-2026-74557

Source
https://cve.org/CVERecord?id=CVE-2026-74557
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74557.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74557
Downstream
Published
2026-08-15T12:28:01.988Z
Modified
2026-08-18T03:56:30.632288806Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer
Details

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

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

iscsiscsicmd_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 <= SCSISENSEBUFFERSIZE) 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74557.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7996a778ff8c717cb1a7a294475c59cc8f1e9fb8
Fixed
7567f06abdefb1caf2d836107c4d08c5185c650e
Fixed
60499924faf4ef97e84228c20515218ef121facf
Fixed
3ef209ca0b4b68c75e9a814d90cc916026b5a6ac
Fixed
1f07a897d43c63e6c9458bf77450defef39b5833
Fixed
98b87885de4b7f605533a2860685f5689fce8e82

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74557.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.18
Fixed
6.6.151
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.103
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.44
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74557.json"