accel/amdxdna: Prevent PM resume deadlock in hwctx_sync_debug_bo()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2d8eeb0578ae3aadf112fd3e1997e58178f75979 and Kernel e35c9cf5512814fb04f369f2eada64f0a7164609.
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Prevent PM resume deadlock in hwctx_sync_debug_bo() amdxdna_hwctx_sync_debug_bo() invokes the hardware hwctx_sync_debug_bo() callback while holding xdna->dev_lock. The callback may call amdxdna_cmd_submit(), which in turn calls amdxdna_pm_resume_get(). If the device is suspended, amdxdna_pm_resume_get() may synchronously execute amdxdna_pm_resume(), which also acquires xdna->dev_lock, resulting in a deadlock. Avoid the deadlock by calling amdxdna_pm_resume_get() before holding xdna->dev_lock in both amdxdna_hwctx_sync_debug_bo() and amdxdna_drm_config_hwctx_ioctl()
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.19, >=7ea0468380216c10b73633b976d33efa8c12d375 <2d8eeb0578ae3aadf112fd3e1997e58178f75979, >=7ea0468380216c10b73633b976d33efa8c12d375 <e35c9cf5512814fb04f369f2eada64f0a7164609 | 2d8eeb0578ae3aadf112fd3e1997e58178f75979, e35c9cf5512814fb04f369f2eada64f0a7164609 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket