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]
Published: 2026-09-24
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via Kernel Panic
Action: Apply Patch
AI Analysis

Impact

A flaw in the Linux AHCI driver causes the kernel to crash when the host controller reports a number of ports that do not fit within the memory‑mapped I/O (BAR) region. The driver calculates the required size as 0x100 for global registers plus 0x80 bytes per advertised port. If the controller’s BAR is smaller than this requirement, the driver accesses memory beyond the valid region, resulting in a kernel panic. The incident is triggered when a BIOS reports an incorrect CAP.NP field, such as 0xFFFFFFFF, which can make the driver believe the controller has 32 ports while only a smaller number are physically present.

Affected Systems

The vulnerability affects Linux kernel systems that load the AHCI driver on hardware where the BIOS may report an incorrect Number of Ports. All kernel versions prior to the patch are potentially susceptible, but the data does not list specific kernel releases. The issue is hardware‑specific, requiring an AHCI controller and a BIOS that can supply a bogus port count. Any system using such hardware with the AHCI driver enabled is at risk.

Risk and Exploitability

With a CVSS score of 5.5 the severity is moderate. The EPSS score is under 1% and the vulnerability is not in CISA KEV, indicating no known exploits. Because the trigger relies on a BIOS‑reported value, an attacker would likely need local or physical access to modify firmware settings, making remote exploitation unlikely. Nonetheless, local attackers could force a denial of service by manipulating BIOS or by physically changing the controller, causing repeated kernel panics. The patch prevents memory accesses beyond the BAR boundary and reports a clear error instead of crashing.

Generated by OpenCVE AI on October 1, 2026 at 17:07 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the Linux kernel patch that adds validation in ahci_init_one to verify the BAR size against the claimed number of ports, causing probe failure with -ENODEV rather than a panic.
  • Upgrade to a kernel version that includes this fix, or backport the commit from the upstream repository to your kernel.
  • If an immediate kernel upgrade is not possible, review and correct the BIOS configuration for AHCI controllers, ensuring the controller is either enabled with a valid port count or disabled entirely to avoid the misreported memory region.

Generated by OpenCVE AI on October 1, 2026 at 17:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Sat, 03 Oct 2026 11:15:00 +0000


Thu, 01 Oct 2026 15:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-20

Wed, 30 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-125
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Fri, 25 Sep 2026 03:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-20

Thu, 24 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
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]
Title ata: ahci: fail probe if BAR too small for claimed ports
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-03T10:58:26.486Z

Reserved: 2026-09-24T14:53:16.870Z

Link: CVE-2026-97441

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-24T17:17:22.313

Modified: 2026-10-03T11:17:55.757

Link: CVE-2026-97441

cve-icon Redhat

Severity : Low

Publid Date: 2026-09-24T00:00:00Z

Links: CVE-2026-97441 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-01T17:15:10Z

Weaknesses