ACPI: processor_idle: Mark LPI enter functions as __cpuidle
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c17fe25dcb55ab94f6aa2930b7504ea666d5fcc2, Kernel 10f675902a5fc88ccfe34bb8aa37de50806b03b1, Kernel 5b6165d7ec38477e8cfa41bfa464959957953822 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: ACPI: processor_idle: Mark LPI enter functions as __cpuidle When function tracing or Kprobes is enabled, entering an ACPI Low Power Idle (LPI) state triggers the following RCU splat: RCU not on for: acpi_idle_lpi_enter+0x4/0xd8 WARNING: CPU: 8 PID: 0 at include/linux/trace_recursion.h:162 function_trace_call+0x1e8/0x228 The acpi_idle_lpi_enter() function is invoked within the cpuidle path after RCU has already been disabled for the current local CPU. Consequently, ftrace's function_trace_call() expects RCU to be actively watching before recording trace data, emitting a warning if it is not. Fix this by annotating acpi_idle_lpi_enter(), the generic __weak stub, and the RISC-V implementation of acpi_processor_ffh_lpi_enter() with __cpuidle. This moves these functions into the '.cpuidle.text' section, implicitly disabling ftrace instrumentation (notrace) along this sensitive path and preventing trace-induced RCU warnings during idle entry.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=a36a7fecfe6071732075ad5aa31196adce13181b <c17fe25dcb55ab94f6aa2930b7504ea666d5fcc2, >=a36a7fecfe6071732075ad5aa31196adce13181b <10f675902a5fc88ccfe34bb8aa37de50806b03b1, >=a36a7fecfe6071732075ad5aa31196adce13181b <5b6165d7ec38477e8cfa41bfa464959957953822, >=a36a7fecfe6071732075ad5aa31196adce13181b <8bbe4dd7964552f74c271c3a8d95a4331a8ab5f9, >=a36a7fecfe6071732075ad5aa31196adce13181b <8ca5dfe4249bbb6bd34f37d16c2ea933c31f6a2a, >=a36a7fecfe6071732075ad5aa31196adce13181b <956ca5d72c76504824c8eb601879da9476973e15, =4.8 | c17fe25dcb55ab94f6aa2930b7504ea666d5fcc2, 10f675902a5fc88ccfe34bb8aa37de50806b03b1, 5b6165d7ec38477e8cfa41bfa464959957953822, 8bbe4dd7964552f74c271c3a8d95a4331a8ab5f9, 8ca5dfe4249bbb6bd34f37d16c2ea933c31f6a2a, 956ca5d72c76504824c8eb601879da9476973e15 |
| linux-kernel: Kernel | >=6.13.0 <6.18.40, >=6.19.0 <7.1.5, >=6.2.0 <6.6.160, >=6.7.0 <6.12.97, >=4.8.0 <6.1.191 | 6.18.40, 7.1.5, 6.6.160, 6.12.97, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket