In the Linux kernel, the following vulnerability has been resolved: ata: libata-scsi: bound the ATA passthru sense descriptor writes When an ATA… (CVE-2026-98545)
Description
A vulnerability in the Linux kernel's ATA passthru sense descriptor handling was resolved. The flaw allowed a faulty or malicious ATAPI device to cause out-of-bounds read and write operations beyond a 96-byte buffer when processing ATA PASS-THROUGH command failures. This was due to improper trust in the sense buffer's additional length byte, leading to unchecked buffer length calculations and descriptor writes. The issue was confirmed with Kernel Address Sanitizer (KASAN) testing and fixed by bounding the sense descriptor writes properly.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's libata-scsi subsystem involved the function ata_scsi_set_passthru_sense_fields() trusting the additional length byte (sb[7]) in the sense buffer without proper bounds checking. This allowed a malicious or faulty ATAPI device to cause the kernel to read and write beyond the 96-byte sense buffer in multiple ways, including improper buffer length passed to scsi_sense_desc_find(), unchecked filling of a type-9 descriptor near the buffer end, and writing up to 8 bytes past the buffer end due to incorrect length calculations. The issue was reproduced using KASAN under qemu and was resolved by bounding the ATA passthru sense descriptor writes to prevent out-of-bounds access.
Potential Impact
A malicious or faulty ATAPI device could exploit this vulnerability to cause out-of-bounds memory reads and writes in the kernel, potentially leading to kernel memory corruption or instability. The exact impact beyond memory corruption is not detailed in the provided information. No known exploits in the wild have been reported.
Mitigation Recommendations
A patch has been applied to the Linux kernel to bound the ATA passthru sense descriptor writes and prevent out-of-bounds memory access. Users should update their Linux kernel to a version that includes this fix. Since no patch links or specific fixed versions are provided, users should consult the official Linux kernel advisories or maintainers for the exact fixed versions and apply the official update accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-gq8r-6748-x6m5
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98545"]
Threat ID: 6ad520af2cdf04f656993ac6
Added to database: 10/18/2026, 19:40:31 UTC
Last enriched: 10/18/2026, 20:48:23 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.