CVE-2026-139002: ACPI: CPPC: Propagate errors from cross-CPU FFH calls
In the Linux kernel, the following vulnerability has been resolved:
ACPI: CPPC: Propagate errors from cross-CPU FFH calls
The arm64 and RISC-V CPPC FFH accessors ignore the return value of smpcallfunctionsingle(). If the target CPU is offline, the call can return -ENXIO without running the callback. The accessors then consume callback output which was never initialized and may report success.
CPU offlining leaves the CPU's CPPC sysfs attributes present. On arm64, the AMU feature mask does not exclude an offline CPU, so a paired counter read can expose uninitialized stack values through feedbackctrs. RISC-V has the same problem in both SBI and CSR reads, and its write paths also inspect an uninitialized callback status after a failed cross-CPU call.
Return the SMP call error before using callback output. The arm64 single and paired counter readers already check the helper's return value. For RISC-V, also check the callback status before copying a read value: an unsupported CSR sets the error but does not initialize the value.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In the arm64 and RISC-V CPPC FFH accessors, return the smp_call_function_single() error before using callback output; check callback status before copying read values, including RISC-V SBI and CSR reads and writes.