perf/amd/ibs: Avoid calling perf_allow_kernel() from the IBS NMI handler
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.33, Kernel 7.0.10, Kernel 2783ed2442ce69ae240b787aee6dae801cef7aec and 2 more.
In the Linux kernel, the following vulnerability has been resolved: perf/amd/ibs: Avoid calling perf_allow_kernel() from the IBS NMI handler Calling perf_allow_kernel() from the NMI context is unsafe and could be fatal. Capture the permission at event-initialization time by storing it in event->hw.flags, and have the NMI handler rely on that cached flag instead of making the call directly.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.14.1 <6.18.33, >=6.19 <7.0.10, =6.14, >=50a53b60e141d7e31368a87e222e4dd5597bd4ae <2783ed2442ce69ae240b787aee6dae801cef7aec, >=50a53b60e141d7e31368a87e222e4dd5597bd4ae <b0a09142622a994c4f4088c3f61db5da87cfc711, >=50a53b60e141d7e31368a87e222e4dd5597bd4ae <0584e74fa2b27e9e722cfb5b579f79263df20040 | 6.18.33, 7.0.10, 2783ed2442ce69ae240b787aee6dae801cef7aec, b0a09142622a994c4f4088c3f61db5da87cfc711, 0584e74fa2b27e9e722cfb5b579f79263df20040 |
| linux-kernel: Kernel | >=6.14.0 <6.18.33, >=6.19.0 <7.0.10 | 6.18.33, 7.0.10 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket