GHSA-9Q95-MC37-JR9P
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:30In 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": [],
"aliases": [
"CVE-2026-99587"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:17:50Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\nata: libata-scsi: reject data-in commands with a data-out buffer\n\nSG_IO can submit a data-in SCSI command with DMA_TO_DEVICE. The\nscatterlist can then contain pages pinned without write access.\nata_scsi_rbuf_fill() writes simulated replies to that scatterlist;\nin the reported case, the copy tried to write the shared zero page\nand faulted in the kernel.\n\nThe same mismatch can affect SG_IO commands translated by libata.\nZBC IN and GET PHYSICAL ELEMENT STATUS completion handlers can modify\nthe receive buffer even if the drive aborts the command. For ATAPI,\nthe successful INQUIRY completion also rewrites the buffer in\natapi_fixup_inquiry().\n\nReject these mismatched commands before the buffer is written or the\ncommand is issued. Report ABORTED COMMAND / DATA IN BUFFER ERROR because\nthe CDB itself can be valid; the supplied transfer direction is wrong.",
"id": "GHSA-9q95-mc37-jr9p",
"modified": "2026-11-23T09:30:49Z",
"published": "2026-11-20T06:32:03Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99587"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/10c6a917284f584162974767d4e2a0cf411db684"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/8a57c4ce7fe35b04874685b5df14f72c097016c2"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/93257499c883d83b531d5ffff57242d2e3762be8"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/97313de58cfd8c5e9251e991079a1879553eec5d"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/a4845f077415ef32fe672c841e2fc58ae9e28273"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/cd77d3791e66350541f1c7c5447db2f28857bba4"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/da24281e7f8e3b741ea906395d218e995a3cbbc4"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/f4cfd238e806e6784a7b4ff609a0592382d54df3"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.