AZL-115708: CVE-2026-99788 affecting package kernel 6.6.161.1-1
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 accesswidth can trigger an invalid shift in GETBITWIDTH() 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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In Linux kernel ACPI CPPC FFH accessors, validate field bounds before hardware access: reject zero-width fields and fields extending beyond bit 63, validate x86 MSR addresses, and apply the checks to read/write paths and arm64 AMU counter readers, including paired-counter descriptors.
- Compensating control
Dispatch FFH accesses before decoding the GAS Access Size in the common path, so FFH fields are not processed by the generic accessor’s GET_BIT_WIDTH() shift.