# CVE-2026-98479: scsi: libiscsi\_tcp: Check the data direction of a Data-In PDU

> 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:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.55% (percentile 40, 2026-11-26)
- **Published:** 2026-10-18T15:15:53.663Z
- **Modified:** 2026-10-24T14:16:43.610Z

## Who should check

- Anyone running Linux \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 79991b770fc3685b1d5cf805b659a879edd19931; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 8db1232945bc663fb94f300090a1fc108de99296; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 94e5bdd08e51c450d954bc592f591c233ca5c9df; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< de96dc11aee0d058927bff94a168e3c5c46483e2; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< e3b25bf2cf2496e85bc05b33360faf9fdf880e03; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< ee56b5e18f566c0b5a183379dcd63d402cebf2f8; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 24ffc919467d20951f0f132d1c75294e2e91e09b; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< bce07e2f37b5e4a427d36fd6b1c14067b27591db
- Anyone running Linux 2.6.29

## Description

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

scsi: libiscsi\_tcp: Check the data direction of a Data-In PDU

The Data-In branch of iscsi\_tcp\_hdr\_dissect() resolves the ITT to a task
and copies the PDU's data segment into that command's scatterlist without
asking whether the command was reading. iscsi\_tcp\_r2t\_rsp() in the same
file does ask, and rejects an R2T for a command that is not DMA\_TO\_DEVICE.

A target that answers a WRITE command's ITT with a Data-In therefore has
the initiator write target-supplied bytes into the pages that write was
about to send. Those are the caller's own pinned pages for an O\_DIRECT
write, and page cache pages for a buffered one.

Observed against a test target that emits one 512-byte Data-In naming a 128
KB write's ITT, after the R2T for that write. With O\_DIRECT the caller's
buffer ends up holding 512 bytes of the target's data while pwrite()
returns 131072. Buffered is quieter: pwrite() and fsync() both succeed,
nothing is logged, and reading those blocks back returns the target's bytes
out of the page cache without a command going on the wire.

Check the direction before using the scatterlist, the way the R2T path
already does.

## Affected and fixed versions

- Linux: \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 79991b770fc3685b1d5cf805b659a879edd19931; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 8db1232945bc663fb94f300090a1fc108de99296; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 94e5bdd08e51c450d954bc592f591c233ca5c9df; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< de96dc11aee0d058927bff94a168e3c5c46483e2; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< e3b25bf2cf2496e85bc05b33360faf9fdf880e03; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< ee56b5e18f566c0b5a183379dcd63d402cebf2f8; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 24ffc919467d20951f0f132d1c75294e2e91e09b; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< bce07e2f37b5e4a427d36fd6b1c14067b27591db (cvelist)
- Linux: 2.6.29 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98479.md
Affected: Linux >= a081c13e39b5c17052a7b46fafa61019c4c110ff, < 79991b770fc3685b1d5cf805b659a879edd19931; >= a081c13e39b5c17052a7b46fafa61019c4c110ff, < 8db1232945bc663fb94f300090a1fc108de99296; >= a081c13e39b5c17052a7b46fafa61019c4c110ff, < 94e5bdd08e51c450d954bc592f591c233ca5c9df; >= a081c13e39b5c17052a7b46…
Fixed in: Linux 79991b770fc3685b1d5cf805b659a879edd19931, Linux 8db1232945bc663fb94f300090a1fc108de99296, Linux 94e5bdd08e51c450d954bc592f591c233ca5c9df, Linux 24ffc919467d20951f0f132d1c75294e2e91e09b

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-98479 being exploited?

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

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

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

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

Linux \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 79991b770fc3685b1d5cf805b659a879edd19931; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 8db1232945bc663fb94f300090a1fc108de99296; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 94e5bdd08e51c450d954bc592f591c233ca5c9df; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< de96dc11aee0d058927bff94a168e3c5c46483e2; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< e3b25bf2cf2496e85bc05b33360faf9fdf880e03; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< ee56b5e18f566c0b5a183379dcd63d402cebf2f8; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< 24ffc919467d20951f0f132d1c75294e2e91e09b; \>= a081c13e39b5c17052a7b46fafa61019c4c110ff, \< bce07e2f37b5e4a427d36fd6b1c14067b27591db; Linux 2.6.29.

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

Yes. Fixed in Linux 79991b770fc3685b1d5cf805b659a879edd19931, Linux 8db1232945bc663fb94f300090a1fc108de99296, Linux 94e5bdd08e51c450d954bc592f591c233ca5c9df, Linux 24ffc919467d20951f0f132d1c75294e2e91e09b. No fix listed yet: follow the vendor advisory.

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

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/79991b770fc3685b1d5cf805b659a879edd19931>
- other: <https://git.kernel.org/stable/c/8db1232945bc663fb94f300090a1fc108de99296>
- other: <https://git.kernel.org/stable/c/94e5bdd08e51c450d954bc592f591c233ca5c9df>
- other: <https://git.kernel.org/stable/c/de96dc11aee0d058927bff94a168e3c5c46483e2>
- other: <https://git.kernel.org/stable/c/e3b25bf2cf2496e85bc05b33360faf9fdf880e03>
- other: <https://git.kernel.org/stable/c/ee56b5e18f566c0b5a183379dcd63d402cebf2f8>
- other: <https://git.kernel.org/stable/c/24ffc919467d20951f0f132d1c75294e2e91e09b>
- other: <https://git.kernel.org/stable/c/bce07e2f37b5e4a427d36fd6b1c14067b27591db>

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

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