Description
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 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
6049db43d6dd9cbb9d7f897839d15b0bc600e23c to < fc5606ac91642d0f184b83ab833148c457c3c331affected6049db43d6dd9cbb9d7f897839d15b0bc600e23c to < 2c1a643942caae938ea84df2648a9b0c136e09beaffected6049db43d6dd9cbb9d7f897839d15b0bc600e23c to < e016347fb1829489e062ea51a98a51f48b1d582daffected6049db43d6dd9cbb9d7f897839d15b0bc600e23c to < c28e74395ab09922bbf5be42bc5a6ed1ba4f3c37affected6049db43d6dd9cbb9d7f897839d15b0bc600e23c to < 2556dd3a36beb3a11041ef01b5e9762e2157909faffected6049db43d6dd9cbb9d7f897839d15b0bc600e23c to < 2b86ab1bd6673c525adda88819d7658ba9e784ecaffected
Linux Linux
Default version status: affected
5.10affected0 to < 5.10unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.55 to ≤ 6.18.*unaffected7.2.9 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
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 ↗