# CVE-2026-98545: ata: libata-scsi: bound the ATA passthru sense descriptor writes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 6, 2026-11-26)
- **Published:** 2026-10-18T15:18:13.949Z
- **Modified:** 2026-10-19T10:19:10.470Z

## Who should check

- Anyone running Linux \>= ce477199c53e3db5a096981c565e232498ddeae4, \< c698f6deabf680f8f4a1727ef2dc80fe78815fbf; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< d9a7147b93624660626cd7c3b1143715699e1f5c; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< 1603abb0c50420e97cf4a1feddbd5e183c5fdf86; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< 80fbb0bc4d11683c88f2f9d3997ea02fcada5408; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< 80320b278fea07ffcda3f57b67b61658e0a4e1ca; 67d9d0b6ae4aaf2c4cef103a96a145c7fdfb15f8; \>= 6.6.44, \< 6.6.158; \>= 6.10.3, \< 6.11
- Anyone running Linux 6.11

## Description

In the Linux kernel, the following vulnerability has been resolved:

ata: libata-scsi: bound the ATA passthru sense descriptor writes

When an ATA PASS-THROUGH command to an ATAPI device fails, the sense
buffer holds the device's REQUEST SENSE reply, and
ata\_scsi\_set\_passthru\_sense\_fields() trusts its additional length
byte, sb\[7\], when adding the ATA Status Return descriptor.  A faulty
or malicious device can use that to make the kernel read and write
past the 96-byte buffer in three ways:

- scsi\_sense\_desc\_find() is passed sb\[7\] + 8 as the buffer length, so
  its clamp against sb\[7\] does nothing and the walk runs off the end.
- A type-9 descriptor found near the end is filled in unchecked.
- A new descriptor at sb\[8 + len\] needs len + 22 bytes, not len + 14,
  so len 75..82 writes up to 8 bytes past the end.

Reproduced with KASAN under qemu, with the emulated ATAPI REQUEST SENSE
reply patched:

  BUG: KASAN: slab-out-of-bounds in scsi\_sense\_desc\_find+0x1a5/0x210
  BUG: KASAN: slab-out-of-bounds in ata\_scsi\_qc\_complete+0x1a15/0x1a50

Both are gone with this patch, and a valid descriptor is still filled
in.

## Affected and fixed versions

- Linux: \>= ce477199c53e3db5a096981c565e232498ddeae4, \< c698f6deabf680f8f4a1727ef2dc80fe78815fbf; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< d9a7147b93624660626cd7c3b1143715699e1f5c; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< 1603abb0c50420e97cf4a1feddbd5e183c5fdf86; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< 80fbb0bc4d11683c88f2f9d3997ea02fcada5408; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< 80320b278fea07ffcda3f57b67b61658e0a4e1ca; 67d9d0b6ae4aaf2c4cef103a96a145c7fdfb15f8; \>= 6.6.44, \< 6.6.158; \>= 6.10.3, \< 6.11 (cvelist)
- Linux: 6.11 (cvelist)

## Mitigation

- Upgrade Linux to 6.11 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98545. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98545.md
Affected: Linux >= ce477199c53e3db5a096981c565e232498ddeae4, < c698f6deabf680f8f4a1727ef2dc80fe78815fbf; >= 97981926224afe17ba3e22e0c2b7dd8b516ee574, < d9a7147b93624660626cd7c3b1143715699e1f5c; >= 97981926224afe17ba3e22e0c2b7dd8b516ee574, < 1603abb0c50420e97cf4a1feddbd5e183c5fdf86; >= 97981926224afe17ba3e22e…
Fixed in: Linux 1603abb0c50420e97cf4a1feddbd5e183c5fdf86, Linux 80fbb0bc4d11683c88f2f9d3997ea02fcada5408, Linux 80320b278fea07ffcda3f57b67b61658e0a4e1ca, Linux 6.6.158, Linux 6.11

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98545 being exploited?

There is no confirmed exploitation: CVE-2026-98545 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.21% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98545?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98545?

Linux \>= ce477199c53e3db5a096981c565e232498ddeae4, \< c698f6deabf680f8f4a1727ef2dc80fe78815fbf; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< d9a7147b93624660626cd7c3b1143715699e1f5c; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< 1603abb0c50420e97cf4a1feddbd5e183c5fdf86; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< 80fbb0bc4d11683c88f2f9d3997ea02fcada5408; \>= 97981926224afe17ba3e22e0c2b7dd8b516ee574, \< 80320b278fea07ffcda3f57b67b61658e0a4e1ca; 67d9d0b6ae4aaf2c4cef103a96a145c7fdfb15f8; \>= 6.6.44, \< 6.6.158; \>= 6.10.3, \< 6.11; Linux 6.11.

### Is there a fix for CVE-2026-98545?

Yes. Fixed in Linux 1603abb0c50420e97cf4a1feddbd5e183c5fdf86, Linux 80fbb0bc4d11683c88f2f9d3997ea02fcada5408, Linux 80320b278fea07ffcda3f57b67b61658e0a4e1ca, Linux 6.6.158, Linux 6.11. Upgrade Linux to 6.11 or later.

### How do I check if I'm affected by CVE-2026-98545?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c698f6deabf680f8f4a1727ef2dc80fe78815fbf>
- other: <https://git.kernel.org/stable/c/d9a7147b93624660626cd7c3b1143715699e1f5c>
- other: <https://git.kernel.org/stable/c/1603abb0c50420e97cf4a1feddbd5e183c5fdf86>
- other: <https://git.kernel.org/stable/c/80fbb0bc4d11683c88f2f9d3997ea02fcada5408>
- other: <https://git.kernel.org/stable/c/80320b278fea07ffcda3f57b67b61658e0a4e1ca>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98545>

HTML: <https://flawdb.com/CVE-2026-98545> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98545>
