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 smp_call_function_single(). 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 feedback_ctrs. 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.
https://git.kernel.org/stable/c/ceaeb62c7cfe3e21d863b9f2c9108716256d5369
https://git.kernel.org/stable/c/a4e4d7aaa482c633dd18169e134b63e0ce65f579
https://git.kernel.org/stable/c/a47b936dc17f1e6ac709a86594ad000757e45728
https://git.kernel.org/stable/c/77935425eeeff15bf9a85fe40e82f5255d9d1cf9
https://git.kernel.org/stable/c/36e96b469da24868f727b4cd168d7cf01cbd163d
https://git.kernel.org/stable/c/2a3cc60b2967feb8fda625fc1d0843324a81653c
https://git.kernel.org/stable/c/011569ece30d46ab0715c0ae41b93eb224e141fe