CVE-2026-99587

published 20 Nov 2026 · updated 20 Nov 2026

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

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f4cfd238e806e6784a7b4ff609a0592382d54df3, Kernel 10c6a917284f584162974767d4e2a0cf411db684, Kernel a4845f077415ef32fe672c841e2fc58ae9e28273 and 4 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f4cfd238e806e6784a7b4ff609a0592382d54df3, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <10c6a917284f584162974767d4e2a0cf411db684, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <a4845f077415ef32fe672c841e2fc58ae9e28273, >=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <cd77d3791e66350541f1c7c5447db2f28857bba4, =2.6.12f4cfd238e806e6784a7b4ff609a0592382d54df3, 10c6a917284f584162974767d4e2a0cf411db684, a4845f077415ef32fe672c841e2fc58ae9e28273, cd77d3791e66350541f1c7c5447db2f28857bba4
linux-kernel: Kernel>=6.13.0 <6.18.64, >=6.19.0 <7.3.5, >=2.6.12 <6.12.1186.18.64, 7.3.5, 6.12.118

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-99587 severity on Zeptric[![CVE-2026-99587](https://zeptric.io/badge/cve/CVE-2026-99587.svg)](https://zeptric.io/cve/CVE-2026-99587)