accel/amdxdna: Fix dead lock for suspend and resume
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.19, 6.19.7
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 063db451832b8849faf1b0b8404b3a6a39995b29 · fixed in ac24537478dd8eb2fd3984b4652bb19461e5e74c; From 063db451832b8849faf1b0b8404b3a6a39995b29 · fixed in 1aa82181a3c285c7351523d587f7981ae4c015c8; From 6.18.57 · fixed in 6.19
- Linux Linux
6.19
- KernelLinux
From 6.19.0 · fixed in 6.19.7