Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
7ea0468380216c10b73633b976d33efa8c12d375 to < 2d8eeb0578ae3aadf112fd3e1997e58178f75979affected7ea0468380216c10b73633b976d33efa8c12d375 to < e35c9cf5512814fb04f369f2eada64f0a7164609affected
Linux Linux
Default version status: affected
6.19affected0 to < 6.19unaffected7.1.5 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected