drm/amd/display: Wrap DCN32 phantom-plane allocation in DC_RUN_WITH_PREEMPTION_ENABLED
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7.0.10, Kernel 19e82047cb68bcde55791ee20178acd431609b8d, Kernel 30bb2ec6695d62f63db4aa6179c4626834ed0cd6 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Wrap DCN32 phantom-plane allocation in DC_RUN_WITH_PREEMPTION_ENABLED [Why] dcn32_validate_bandwidth() wraps dcn32_internal_validate_bw() with DC_FP_START()/DC_FP_END(). In x86 non-RT, DC_FP_START takes fpregs_lock(), which disables local softirqs. The DML1 path through dcn32_enable_phantom_plane() calls kvzalloc() to allocate ~335 KiB for dc_plane_state. This triggers the vmalloc path, which calls BUG_ON(in_interrupt()) because it's invoked within the FPU-enabled (softirq disabled) region, leading to a kernel crash. [How] Wrap the dc_state_create_phantom_plane() call with the DC_RUN_WITH_PREEMPTION_ENABLED() macro to allow preemption during this memory allocation. (cherry picked from commit 885ccbef7b94a8b38f69c4211c679021aa27ad11)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.0 <7.0.10, =7.1, >=235c67634230b0f9ad8c0185272fed36c892b1c4 <19e82047cb68bcde55791ee20178acd431609b8d, >=235c67634230b0f9ad8c0185272fed36c892b1c4 <30bb2ec6695d62f63db4aa6179c4626834ed0cd6, >=235c67634230b0f9ad8c0185272fed36c892b1c4 <a8c1480bb066cf0f6e79129b7292e1c99ff68b9b, =6.0, >=235c67634230b0f9ad8c0185272fed36c892b1c4 <183182235f6d53bac62c6c39014738a54a68dfa6 | 7.0.10, 19e82047cb68bcde55791ee20178acd431609b8d, 30bb2ec6695d62f63db4aa6179c4626834ed0cd6, a8c1480bb066cf0f6e79129b7292e1c99ff68b9b, 183182235f6d53bac62c6c39014738a54a68dfa6 |
| linux-kernel: Kernel | >=6.0.0 <6.12.114, >=6.13.0 <6.18.57, >=6.19.0 <7.0.10 | 6.12.114, 6.18.57, 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