Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-97441 Overview
CVE-2026-97441 is a Linux kernel vulnerability in the Advanced Host Controller Interface (AHCI) SATA driver. The flaw occurs when an AHCI controller disabled in BIOS exposes a bogus HOST_CAP register value such as 0xFFFFFFFF. The driver interprets the CAP.NP (Number of Ports) field at face value, which can claim up to 32 ports. When the mapped Base Address Register (BAR) region is smaller than required to service that port count, the driver accesses memory beyond the BAR boundary during probe, triggering a kernel panic.
Critical Impact
A malformed or stale AHCI capability register causes out-of-bounds Memory-Mapped I/O (MMIO) access during driver probe, resulting in a kernel panic and denial of service on affected systems.
Affected Products
- Linux kernel ata/ahci driver (upstream, prior to the fix commits)
- Linux stable branches receiving backports of commits c4086c6, df262c8, and f2e2910
- Systems with AHCI SATA controllers disabled or misconfigured in BIOS/UEFI
Discovery Timeline
- 2026-09-24 - CVE-2026-97441 published to NVD
- 2026-09-25 - Last updated in NVD database
Technical Details for CVE-2026-97441
Vulnerability Analysis
The AHCI driver reads the HOST_CAP register during ahci_init_one() to determine controller capabilities. The CAP.NP field is a zero-based 5-bit value, so a raw value of 0x1f indicates 32 ports. When a controller is disabled in BIOS, the register may return 0xFFFFFFFF, causing the driver to believe the device supports the maximum port count. The driver then iterates over per-port register blocks located at fixed offsets within the mapped BAR. If the BAR size is insufficient to contain registers for all claimed ports, the driver dereferences MMIO addresses beyond the valid mapping. This triggers a kernel panic on probe. The upstream fix adds a validation step that calculates the required MMIO size as 0x100 + max_ports * 0x80 and aborts probe with -ENODEV when the BAR is too small.
Root Cause
The root cause is missing input validation on hardware-provided configuration data. The driver trusted the CAP.NP field without cross-checking it against the physical size of the mapped BAR region, which is a classic Out-of-Bounds Read condition in kernel driver initialization.
Attack Vector
Exploitation requires physical access, BIOS-level configuration control, or faulty/malicious hardware that returns crafted PCI configuration data. A local administrator who disables an AHCI controller in BIOS, or an attacker who substitutes malicious hardware, can trigger the panic at boot or on driver load. This is primarily a reliability and denial-of-service issue rather than a remote attack vector.
No verified exploit code is available. Technical details are documented in the upstream fix commits c4086c6, df262c8, and f2e2910.
Detection Methods for CVE-2026-97441
Indicators of Compromise
- Kernel panic messages referencing ahci, ahci_init_one, or MMIO access faults during boot or module load
- dmesg entries showing AHCI probe failures with -ENODEV after patching, indicating the validation check rejected an invalid controller
- Unexpected system reboots correlating with insertion or power cycling of SATA hardware
Detection Strategies
- Audit installed kernel versions across the fleet and compare against the stable commits that contain the fix
- Monitor /var/log/kern.log and journald for AHCI probe errors or page-fault oops traces tied to libahci
- Correlate boot-time crash dumps with hardware inventory changes to identify misconfigured controllers
Monitoring Recommendations
- Forward kernel logs to a centralized logging platform and alert on panic signatures involving the AHCI subsystem
- Track BIOS configuration drift on managed systems, flagging controllers toggled from enabled to disabled
- Include kernel version attestation in endpoint posture checks to confirm patched builds are deployed
How to Mitigate CVE-2026-97441
Immediate Actions Required
- Apply the Linux stable kernel update containing commits c4086c6, df262c8, and f2e2910 to all affected systems
- Verify BIOS/UEFI configuration for SATA controllers and enable or fully disable them cleanly rather than leaving them in indeterminate states
- Restrict physical and administrative access to systems where BIOS settings can be modified
Patch Information
The fix adds BAR-size validation in ahci_init_one(). The required MMIO size is computed as 0x100 for global registers plus max_ports * 0x80 for per-port register blocks. If the actual BAR is smaller, probe fails with -ENODEV and emits a descriptive error. Patches are available in upstream commits c4086c6, df262c8, and f2e2910. Distribution vendors are expected to backport the fix to supported stable series.
Workarounds
- Blacklist the ahci module on systems where the SATA controller is intentionally disabled and the driver is not required
- Reset BIOS SATA controller settings to defaults to avoid returning a bogus HOST_CAP value
- Where feasible, physically remove or disable at the firmware level any unused SATA controllers that return invalid capability data
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

