# CVE-2026-97441: ata: ahci: fail probe if BAR too small for claimed ports

> 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 7, 2026-11-26)
- **Published:** 2026-09-24T16:03:54.845Z
- **Modified:** 2026-10-03T11:17:55.757Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 533a08ea11217100cec7a0ed903cb9b9c892d6f1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c717b20100ef8cd06b5237af70ea2cb692e058ce; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ff0ab535f8febbd32afa5832f8d2d9b06a8d5060; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6d29b91164424256a759ddabc8f2de1ae09bd3f1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< df262c828b616450eb351349e91c63447551bd01; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f2e291043c37a896d7f9797e25a356dceb030177; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c4086c6e1af757e1ff26fa2d2926b3ec0195de79
- Anyone running Linux 2.6.12

## Description

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\]

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 533a08ea11217100cec7a0ed903cb9b9c892d6f1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c717b20100ef8cd06b5237af70ea2cb692e058ce; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ff0ab535f8febbd32afa5832f8d2d9b06a8d5060; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6d29b91164424256a759ddabc8f2de1ae09bd3f1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< df262c828b616450eb351349e91c63447551bd01; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f2e291043c37a896d7f9797e25a356dceb030177; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c4086c6e1af757e1ff26fa2d2926b3ec0195de79 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-97441.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 533a08ea11217100cec7a0ed903cb9b9c892d6f1; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < c717b20100ef8cd06b5237af70ea2cb692e058ce; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < ff0ab535f8febbd32afa5832f8d2d9b06a8d5060; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 533a08ea11217100cec7a0ed903cb9b9c892d6f1, Linux 6d29b91164424256a759ddabc8f2de1ae09bd3f1

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-97441 being exploited?

There is no confirmed exploitation: CVE-2026-97441 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-97441?

It has no CVSS score yet. Unknown.

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 533a08ea11217100cec7a0ed903cb9b9c892d6f1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c717b20100ef8cd06b5237af70ea2cb692e058ce; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ff0ab535f8febbd32afa5832f8d2d9b06a8d5060; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 6d29b91164424256a759ddabc8f2de1ae09bd3f1; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< df262c828b616450eb351349e91c63447551bd01; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f2e291043c37a896d7f9797e25a356dceb030177; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< c4086c6e1af757e1ff26fa2d2926b3ec0195de79; Linux 2.6.12.

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

Yes. Fixed in Linux 533a08ea11217100cec7a0ed903cb9b9c892d6f1, Linux 6d29b91164424256a759ddabc8f2de1ae09bd3f1. No fix listed yet: follow the vendor advisory.

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

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/533a08ea11217100cec7a0ed903cb9b9c892d6f1>
- other: <https://git.kernel.org/stable/c/c717b20100ef8cd06b5237af70ea2cb692e058ce>
- other: <https://git.kernel.org/stable/c/ff0ab535f8febbd32afa5832f8d2d9b06a8d5060>
- other: <https://git.kernel.org/stable/c/6d29b91164424256a759ddabc8f2de1ae09bd3f1>
- other: <https://git.kernel.org/stable/c/df262c828b616450eb351349e91c63447551bd01>
- other: <https://git.kernel.org/stable/c/f2e291043c37a896d7f9797e25a356dceb030177>
- other: <https://git.kernel.org/stable/c/c4086c6e1af757e1ff26fa2d2926b3ec0195de79>

## 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-97441>

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