ACPI: CPPC: Validate FFH register fields before hardware access
Summary
| CVE | CVE-2026-99788 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-20 06:18:18 UTC |
| Updated | 2026-11-20 06:18:18 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
ACPI: CPPC: Validate FFH register fields before hardware access
The x86 CPPC FFH accessors construct masks and shift values using the
firmware's Bit Width and Bit Offset without checking that the field fits
in an MSR. A zero-width field or a field extending beyond bit 63 can
therefore cause an invalid shift. The safe MSR accessors only handle an
access fault, not invalid field arithmetic after a successful read.
Also, the 64-bit GAS address is implicitly narrowed to the 32-bit MSR
number. A descriptor with nonzero upper address bits can access a different
MSR from the one described by firmware.
The arm64 AMU counter readers have the same unchecked field arithmetic.
Validate the field bounds before reading a counter, including both
descriptors in the paired counter path.
Dispatch FFH accesses before decoding the GAS Access Size in the common
read and write paths. Otherwise, a large access_width can trigger an
invalid shift in GET_BIT_WIDTH() before the architecture validates its
register. That field has architecture-specific FFH semantics and is not
needed by the generic memory/port accessor on this path.
Validate x86 MSR addresses and share the field-bounds checks between
related accessors within each architecture. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 dd2322d548cc1b424da6d07e69eeab7543020106 git |
Not specified |
| CNA |
Linux |
Linux |
affected a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 353c0cb4375c57d282449cf87e8e405c2e8bc8ed git |
Not specified |
| CNA |
Linux |
Linux |
affected a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 4f6a4864308b57cf7aa38ddd07cf4ddcecfbcc41 git |
Not specified |
| CNA |
Linux |
Linux |
affected a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 6b016c5c96448c0a5f09328d37f66562d154a5e5 git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.9 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.9 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.118 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.64 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.5 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/dd2322d548cc1b424da6d07e69eeab7543020106 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/6b016c5c96448c0a5f09328d37f66562d154a5e5 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/4f6a4864308b57cf7aa38ddd07cf4ddcecfbcc41 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/353c0cb4375c57d282449cf87e8e405c2e8bc8ed |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.