CVE-2026-99587
publishedata: libata-scsi: reject data-in commands with a data-out buffer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8a57c4ce7fe35b04874685b5df14f72c097016c2 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < da24281e7f8e3b741ea906395d218e995a3cbbc4 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 93257499c883d83b531d5ffff57242d2e3762be8 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 97313de58cfd8c5e9251e991079a1879553eec5d · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cd77d3791e66350541f1c7c5447db2f28857bba4 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f4cfd238e806e6784a7b4ff609a0592382d54df3 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 10c6a917284f584162974767d4e2a0cf411db684 · 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a4845f077415ef32fe672c841e2fc58ae9e28273 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux2.6.12 (affected) · 0 to < 2.6.12 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8a57c4ce7fe35b04874685b5df14f72c097016c2 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < da24281e7f8e3b741ea906395d218e995a3cbbc4 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 93257499c883d83b531d5ffff57242d2e3762be8 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 97313de58cfd8c5e9251e991079a1879553eec5d (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < cd77d3791e66350541f1c7c5447db2f28857bba4 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f4cfd238e806e6784a7b4ff609a0592382d54df3 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 10c6a917284f584162974767d4e2a0cf411db684 (affected · git)1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < a4845f077415ef32fe672c841e2fc58ae9e28273 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 2.6.12 (affected)0 to < 2.6.12 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/10c6a917284f584162974767d4e2a0cf411db684
- https://git.kernel.org/stable/c/8a57c4ce7fe35b04874685b5df14f72c097016c2
- https://git.kernel.org/stable/c/93257499c883d83b531d5ffff57242d2e3762be8
- https://git.kernel.org/stable/c/97313de58cfd8c5e9251e991079a1879553eec5d
- https://git.kernel.org/stable/c/a4845f077415ef32fe672c841e2fc58ae9e28273
- https://git.kernel.org/stable/c/cd77d3791e66350541f1c7c5447db2f28857bba4
- https://git.kernel.org/stable/c/da24281e7f8e3b741ea906395d218e995a3cbbc4
- https://git.kernel.org/stable/c/f4cfd238e806e6784a7b4ff609a0592382d54df3
Provider assertions
1Linux · cna
ata: libata-scsi: reject data-in commands with a data-out buffer
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e709cd9b96db02ae2371c74e310c115488c2aecc4127548b413128d92036a0fc
- Ingested
- 23 Nov 2026, 14:37:12 UTC
- Source record
- Official CVE record