CVE-2026-97441
ata: ahci: fail probe if BAR too small for claimed ports
Reported by linux · Published September 24, 2026
In the Linux kernel, the following vulnerability has been resolved: ata: ahci: fail probe if BAR too small for claimed ports When an AHCI controller is disabled in BIOS, its HOST_CAP register may contain a bogus value, e.g. 0xFFFFFFFF. Since CAP.NP (Number of Ports) is a zeroes based 5-bit register field, a value of 0x1f means 32 ports. If CAP.NP claims more ports than can physically fit within the mapped BAR region, accessing port registers beyond the BAR boundary causes a kernel panic. Add validation in ahci_init_one() to check that the BAR size is sufficient for the number of ports claimed in CAP.NP. The check calculates the required MMIO size as: required_size = 0x100 (global registers) + max_ports * 0x80 If required_size exceeds the actual BAR size, the probe fails with -ENODEV, preventing the panic and providing a clear error message. [cassel: commit log]
EPSS 0.17% · 6.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-modules-extra-common | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel-modules-extra-common | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| perf | Amazon Linux | 1:6.1.189-236.399.amzn2023 |
| kernel-livepatch-6.18.54-121.166 | Amazon Linux | 1:1.0-0.amzn2023 |
| Linux | Linux | f2e291043c37a896d7f9797e25a356dceb030177, df262c828b616450eb351349e91c63447551bd01, c4086c6e1af757e1ff26fa2d2926b3ec0195de79, 533a08ea11217100cec7a0ed903cb9b9c892d6f1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
| Linux | Linux | 2.6.12, 0, 5.10.271 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
| Linux | Linux | 6.6.158, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12 | 0 |
…and 20 more
Timeline
- Sep 24, 2026 CVE Published
- Sep 25, 2026 EPSS Score (10 in total, the first dated here)
- Oct 3, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-97441
vulnetix vdb fixes CVE-2026-97441
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97441/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart