Description (CNA)
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)
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 6049db43d6dd9cbb9d7f897839d15b0bc600e23c before fc5606ac91642d0f184b83ab833148c457c3c331; affected 6049db43d6dd9cbb9d7f897839d15b0bc600e23c before 2c1a643942caae938ea84df2648a9b0c136e09be; affected 6049db43d6dd9cbb9d7f897839d15b0bc600e23c before e016347fb1829489e062ea51a98a51f48b1d582d; affected 6049db43d6dd9cbb9d7f897839d15b0bc600e23c before c28e74395ab09922bbf5be42bc5a6ed1ba4f3c37; affected 6049db43d6dd9cbb9d7f897839d15b0bc600e23c before 2556dd3a36beb3a11041ef01b5e9762e2157909f; affected 6049db43d6dd9cbb9d7f897839d15b0bc600e23c before 2b86ab1bd6673c525adda88819d7658ba9e784ec |
| Linux / Linux | affected 5.10; unaffected 0 before 5.10; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.55 through 6.18.*; unaffected 7.2.9 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/fc5606ac91642d0f184b83ab833148c457c3c331
- https://git.kernel.org/stable/c/2c1a643942caae938ea84df2648a9b0c136e09be
- https://git.kernel.org/stable/c/e016347fb1829489e062ea51a98a51f48b1d582d
- https://git.kernel.org/stable/c/c28e74395ab09922bbf5be42bc5a6ed1ba4f3c37
- https://git.kernel.org/stable/c/2556dd3a36beb3a11041ef01b5e9762e2157909f
- https://git.kernel.org/stable/c/2b86ab1bd6673c525adda88819d7658ba9e784ec