drm/amdgpu: Fix runtime PM leak in amdgpu_debugfs_test_ib_show()
- 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.1.189, 6.6.158, 6.12.112, 6.18.55, 7.2.9
- 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: drm/amdgpu: Fix runtime PM leak in amdgpu_debugfs_test_ib_show() amdgpu_debugfs_test_ib_show() resumes the device with pm_runtime_get_sync() before taking the reset domain semaphore with down_write_killable(). If the write lock acquisition is interrupted, the function returns without calling pm_runtime_put_autosuspend(), leaking the runtime PM reference acquired for the device and keeping the GPU awake. Drop the runtime PM reference on the interrupted down_write_killable() error path before returning. (cherry picked from commit ec30a576c2d4c0364549e6c04218f50704ef56c8)
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 6049db43d6dd9cbb9d7f897839d15b0bc600e23c · fixed in fc5606ac91642d0f184b83ab833148c457c3c331; From 6049db43d6dd9cbb9d7f897839d15b0bc600e23c · fixed in 2c1a643942caae938ea84df2648a9b0c136e09be; From 6049db43d6dd9cbb9d7f897839d15b0bc600e23c · fixed in e016347fb1829489e062ea51a98a51f48b1d582d; From 6049db43d6dd9cbb9d7f897839d15b0bc600e23c · fixed in c28e74395ab09922bbf5be42bc5a6ed1ba4f3c37; From 6049db43d6dd9cbb9d7f897839d15b0bc600e23c · fixed in 2556dd3a36beb3a11041ef01b5e9762e2157909f; From 6049db43d6dd9cbb9d7f897839d15b0bc600e23c · fixed in 2b86ab1bd6673c525adda88819d7658ba9e784ec
- Linux Linux
5.10
- KernelLinux
From 5.10.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.19.0 · fixed in 7.2.9