# CVE-2026-74557: scsi: libiscsi: Fix stale-data leak into the SCSI sense buffer

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.58% (percentile 42, 2026-11-28)
- **Published:** 2026-08-15T12:28:01.988Z
- **Modified:** 2026-10-16T20:17:37.470Z

## Who should check

- Anyone running Linux \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 812f1ae95b22419422972748f173b0916ee4d621; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< fef6167e8149896cd81bea333fd51b1c91239149; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< baa04572673125e4d5bc309b4077d1cb46cc78d1; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 7567f06abdefb1caf2d836107c4d08c5185c650e; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 60499924faf4ef97e84228c20515218ef121facf; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 3ef209ca0b4b68c75e9a814d90cc916026b5a6ac; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 1f07a897d43c63e6c9458bf77450defef39b5833; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 98b87885de4b7f605533a2860685f5689fce8e82
- Anyone running Linux 2.6.18

## 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.

## Affected and fixed versions

- Linux: \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 812f1ae95b22419422972748f173b0916ee4d621; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< fef6167e8149896cd81bea333fd51b1c91239149; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< baa04572673125e4d5bc309b4077d1cb46cc78d1; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 7567f06abdefb1caf2d836107c4d08c5185c650e; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 60499924faf4ef97e84228c20515218ef121facf; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 3ef209ca0b4b68c75e9a814d90cc916026b5a6ac; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 1f07a897d43c63e6c9458bf77450defef39b5833; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 98b87885de4b7f605533a2860685f5689fce8e82 (cvelist)
- Linux: 2.6.18 (cvelist)

## Mitigation

- Upgrade Linux to 98b87885de4b7f605533a2860685f5689fce8e82 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74557. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74557.md
Affected: Linux >= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < 812f1ae95b22419422972748f173b0916ee4d621; >= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < fef6167e8149896cd81bea333fd51b1c91239149; >= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, < baa04572673125e4d5bc309b4077d1cb46cc78d1; >= 7996a778ff8c717cb1a7a29…
Fixed in: Linux 812f1ae95b22419422972748f173b0916ee4d621, Linux 7567f06abdefb1caf2d836107c4d08c5185c650e, Linux 60499924faf4ef97e84228c20515218ef121facf, Linux 3ef209ca0b4b68c75e9a814d90cc916026b5a6ac, Linux 1f07a897d43c63e6c9458bf77450defef39b5833, Linux 98b87885de4b7f605533a2860685f5689fce8e82

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74557 being exploited?

There is no confirmed exploitation: CVE-2026-74557 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-74557?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-74557?

Linux \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 812f1ae95b22419422972748f173b0916ee4d621; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< fef6167e8149896cd81bea333fd51b1c91239149; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< baa04572673125e4d5bc309b4077d1cb46cc78d1; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 7567f06abdefb1caf2d836107c4d08c5185c650e; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 60499924faf4ef97e84228c20515218ef121facf; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 3ef209ca0b4b68c75e9a814d90cc916026b5a6ac; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 1f07a897d43c63e6c9458bf77450defef39b5833; \>= 7996a778ff8c717cb1a7a294475c59cc8f1e9fb8, \< 98b87885de4b7f605533a2860685f5689fce8e82; Linux 2.6.18.

### Is there a fix for CVE-2026-74557?

Yes. Fixed in Linux 812f1ae95b22419422972748f173b0916ee4d621, Linux 7567f06abdefb1caf2d836107c4d08c5185c650e, Linux 60499924faf4ef97e84228c20515218ef121facf, Linux 3ef209ca0b4b68c75e9a814d90cc916026b5a6ac, Linux 1f07a897d43c63e6c9458bf77450defef39b5833, Linux 98b87885de4b7f605533a2860685f5689fce8e82. Upgrade Linux to 98b87885de4b7f605533a2860685f5689fce8e82 or later.

### How do I check if I'm affected by CVE-2026-74557?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/812f1ae95b22419422972748f173b0916ee4d621>
- other: <https://git.kernel.org/stable/c/fef6167e8149896cd81bea333fd51b1c91239149>
- other: <https://git.kernel.org/stable/c/baa04572673125e4d5bc309b4077d1cb46cc78d1>
- other: <https://git.kernel.org/stable/c/7567f06abdefb1caf2d836107c4d08c5185c650e>
- other: <https://git.kernel.org/stable/c/60499924faf4ef97e84228c20515218ef121facf>
- other: <https://git.kernel.org/stable/c/3ef209ca0b4b68c75e9a814d90cc916026b5a6ac>
- other: <https://git.kernel.org/stable/c/1f07a897d43c63e6c9458bf77450defef39b5833>
- other: <https://git.kernel.org/stable/c/98b87885de4b7f605533a2860685f5689fce8e82>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74557>

HTML: <https://flawdb.com/CVE-2026-74557> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74557>
