CVE-2026-99587Linux
NVD
Vulnerability Summary
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.
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 & Patched Versions
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and < 8a57c4ce7fe35b04874685b5df14f72c097016c2
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and < da24281e7f8e3b741ea906395d218e995a3cbbc4
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and < 93257499c883d83b531d5ffff57242d2e3762be8
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and < 97313de58cfd8c5e9251e991079a1879553eec5d
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and < cd77d3791e66350541f1c7c5447db2f28857bba4
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and < f4cfd238e806e6784a7b4ff609a0592382d54df3
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and < 10c6a917284f584162974767d4e2a0cf411db684
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 and < a4845f077415ef32fe672c841e2fc58ae9e28273
- Linux 2.6.12
- Linux 8a57c4ce7fe35b04874685b5df14f72c097016c2
- Linux da24281e7f8e3b741ea906395d218e995a3cbbc4
- Linux 93257499c883d83b531d5ffff57242d2e3762be8
- Linux 97313de58cfd8c5e9251e991079a1879553eec5d
- Linux cd77d3791e66350541f1c7c5447db2f28857bba4
- Linux f4cfd238e806e6784a7b4ff609a0592382d54df3
- Linux 10c6a917284f584162974767d4e2a0cf411db684
- Linux a4845f077415ef32fe672c841e2fc58ae9e28273
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run Linux and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 20, 2026Published
- Nov 23, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Linux CVEsYou are reading CVE-2026-99587. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Referencehttps://git.kernel.org/stable/c/10c6a917284f584162974767d4e2a0cf411db684
- Referencehttps://git.kernel.org/stable/c/8a57c4ce7fe35b04874685b5df14f72c097016c2
- Referencehttps://git.kernel.org/stable/c/93257499c883d83b531d5ffff57242d2e3762be8
- Referencehttps://git.kernel.org/stable/c/97313de58cfd8c5e9251e991079a1879553eec5d
- Referencehttps://git.kernel.org/stable/c/a4845f077415ef32fe672c841e2fc58ae9e28273
- Referencehttps://git.kernel.org/stable/c/cd77d3791e66350541f1c7c5447db2f28857bba4
- Referencehttps://git.kernel.org/stable/c/da24281e7f8e3b741ea906395d218e995a3cbbc4
- Referencehttps://git.kernel.org/stable/c/f4cfd238e806e6784a7b4ff609a0592382d54df3
Data last checked: Nov 24, 2026 08:13 UTC