CVE-2026-99587: ata: libata-scsi: reject data-in commands with a data-out buffer
Vulnerability summary
CVE-2026-99587 is a medium (CVSS 6.7) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.9% of scored vulnerabilities.
Not severe (CVSS 6.7, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 1Timeline
- 20-11-2026PublishedVulnerability first disclosed.
- 23-11-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
1 score · 1 source · 1 versionEPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu169 products
- linuxAll versions (No fix recorded)
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded)
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Chainguard10 products
- linux-desktop-7.2All versions (No fix recorded)
- linux-desktop-7.2-bootcAll versions (No fix recorded)
- linux-desktop-7.2-bootc-boot-installedAll versions (No fix recorded)
- linux-desktop-7.2-headersAll versions (No fix recorded)
- linux-desktop-7.2-modulesAll versions (No fix recorded)
Debian2 products
- linuxAll versions (No fix recorded) | < 6.12.118-1 | < 7.3.5-1
- linux-6.12< 6.12.118-1~deb12u1
Linux1 product
- linux≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 8a57c4ce7fe35b04874685b5df14f72c097016c2 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < da24281e7f8e3b741ea906395d218e995a3cbbc4 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 93257499c883d83b531d5ffff57242d2e3762be8 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 97313de58cfd8c5e9251e991079a1879553eec5d | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cd77d3791e66350541f1c7c5447db2f28857bba4 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < f4cfd238e806e6784a7b4ff609a0592382d54df3 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 10c6a917284f584162974767d4e2a0cf411db684 | ≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a4845f077415ef32fe672c841e2fc58ae9e28273 | 2.6.12
4 vendors · 182 products