Not scored
ACPI: CPPC: Validate FFH register fields before hardware access
- Severity
- Not scored
- Exploit likelihood
- 0.20% (higher than 6% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 before d729f3a14de6aad1d0f73c78e8581f24c6bc5ebf, from a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 before e482141cb6519d49c2a2644c87df9e5f96414060, from a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 before 91eb1633ca0151b701e75e3ea9df6c8a781e7ff6, from a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 before de2295ca3bd51030b395bd0f66fcc6e84571aa2d, from a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 before dd2322d548cc1b424da6d07e69eeab7543020106, from a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 before 353c0cb4375c57d282449cf87e8e405c2e8bc8ed, from a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 before 4f6a4864308b57cf7aa38ddd07cf4ddcecfbcc41, from a6cbcdd5ab5f242d49f511127f0a601b71be2cc4 before 6b016c5c96448c0a5f09328d37f66562d154a5e5 and 1 more Not affected: before 4.9, from 5.10.275 up to 5.10.*, from 5.15.226 up to 5.15.*, from 6.1.193 up to 6.1.*, from 6.6.163 up to 6.6.*, from 6.12.118 up to 6.12.* | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-99788 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2026-99788 changed 2026-11-23 | Public domain |