Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: accel/amdxdna: Fix dead lock for suspend and resume When an application issues a query IOCTL while auto suspend is running, a deadlock can occur. The query path holds dev_lock and then calls pm_runtime_resume_and_get(), which waits for the ongoing suspend to complete. Meanwhile, the suspend callback attempts to acquire dev_lock and blocks, resulting in a deadlock. Fix this by releasing dev_lock before calling pm_runtime_resume_and_get() and reacquiring it after the call completes. Also acquire dev_lock in the resume callback to keep the locking consistent.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 063db451832b8849faf1b0b8404b3a6a39995b29 before ac24537478dd8eb2fd3984b4652bb19461e5e74c; affected 063db451832b8849faf1b0b8404b3a6a39995b29 before 1aa82181a3c285c7351523d587f7981ae4c015c8; affected 3bdd26582d026bdd86aa76f03989a1137b2490a0; affected 6.18.57 before 6.19 |
| Linux / Linux | affected 6.19; unaffected 0 before 6.19; unaffected 6.19.7 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.