# CVE-2026-99587: ata: libata-scsi: reject data-in commands with a data-out buffer

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-28)
- **Published:** 2026-11-20T05:49:16.977Z
- **Modified:** 2026-11-23T08:18:00.197Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8a57c4ce7fe35b04874685b5df14f72c097016c2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< da24281e7f8e3b741ea906395d218e995a3cbbc4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 93257499c883d83b531d5ffff57242d2e3762be8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 97313de58cfd8c5e9251e991079a1879553eec5d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cd77d3791e66350541f1c7c5447db2f28857bba4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f4cfd238e806e6784a7b4ff609a0592382d54df3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 10c6a917284f584162974767d4e2a0cf411db684; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a4845f077415ef32fe672c841e2fc58ae9e28273
- Anyone running Linux 2.6.12

## Description

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

ata: libata-scsi: reject data-in commands with a data-out buffer

SG\_IO can submit a data-in SCSI command with DMA\_TO\_DEVICE. The
scatterlist can then contain pages pinned without write access.
ata\_scsi\_rbuf\_fill() writes simulated replies to that scatterlist;
in the reported case, the copy tried to write the shared zero page
and faulted in the kernel.

The same mismatch can affect SG\_IO commands translated by libata.
ZBC IN and GET PHYSICAL ELEMENT STATUS completion handlers can modify
the receive buffer even if the drive aborts the command. For ATAPI,
the successful INQUIRY completion also rewrites the buffer in
atapi\_fixup\_inquiry().

Reject these mismatched commands before the buffer is written or the
command is issued. Report ABORTED COMMAND / DATA IN BUFFER ERROR because
the CDB itself can be valid; the supplied transfer direction is wrong.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8a57c4ce7fe35b04874685b5df14f72c097016c2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< da24281e7f8e3b741ea906395d218e995a3cbbc4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 93257499c883d83b531d5ffff57242d2e3762be8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 97313de58cfd8c5e9251e991079a1879553eec5d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cd77d3791e66350541f1c7c5447db2f28857bba4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f4cfd238e806e6784a7b4ff609a0592382d54df3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 10c6a917284f584162974767d4e2a0cf411db684; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a4845f077415ef32fe672c841e2fc58ae9e28273 (cvelist)
- Linux: 2.6.12 (cvelist)

## Technologies

Linux kernel

## 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-99587. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99587.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8a57c4ce7fe35b04874685b5df14f72c097016c2; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < da24281e7f8e3b741ea906395d218e995a3cbbc4; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 93257499c883d83b531d5ffff57242d2e3762be8; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 8a57c4ce7fe35b04874685b5df14f72c097016c2, Linux 93257499c883d83b531d5ffff57242d2e3762be8, Linux 97313de58cfd8c5e9251e991079a1879553eec5d, Linux 10c6a917284f584162974767d4e2a0cf411db684

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 8a57c4ce7fe35b04874685b5df14f72c097016c2; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< da24281e7f8e3b741ea906395d218e995a3cbbc4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 93257499c883d83b531d5ffff57242d2e3762be8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 97313de58cfd8c5e9251e991079a1879553eec5d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< cd77d3791e66350541f1c7c5447db2f28857bba4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f4cfd238e806e6784a7b4ff609a0592382d54df3; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 10c6a917284f584162974767d4e2a0cf411db684; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a4845f077415ef32fe672c841e2fc58ae9e28273; Linux 2.6.12.

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

Yes. Fixed in Linux 8a57c4ce7fe35b04874685b5df14f72c097016c2, Linux 93257499c883d83b531d5ffff57242d2e3762be8, Linux 97313de58cfd8c5e9251e991079a1879553eec5d, Linux 10c6a917284f584162974767d4e2a0cf411db684. No fix listed yet: follow the vendor advisory.

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

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/8a57c4ce7fe35b04874685b5df14f72c097016c2>
- other: <https://git.kernel.org/stable/c/da24281e7f8e3b741ea906395d218e995a3cbbc4>
- other: <https://git.kernel.org/stable/c/93257499c883d83b531d5ffff57242d2e3762be8>
- other: <https://git.kernel.org/stable/c/97313de58cfd8c5e9251e991079a1879553eec5d>
- other: <https://git.kernel.org/stable/c/cd77d3791e66350541f1c7c5447db2f28857bba4>
- other: <https://git.kernel.org/stable/c/f4cfd238e806e6784a7b4ff609a0592382d54df3>
- other: <https://git.kernel.org/stable/c/10c6a917284f584162974767d4e2a0cf411db684>
- other: <https://git.kernel.org/stable/c/a4845f077415ef32fe672c841e2fc58ae9e28273>

## 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-99587>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

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