drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jpeg
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jpeg
When hw_init() fails, amdgpu_device_ip_fini_early() skips hw_fini() because status.hw was never set. For VCN, UVD (including UVD ENC), VCE, and JPEG, hw_fini() is where cancel_delayed_work_sync() is called. Any idle work queued during the partial hw_init() is therefore left pending after sw_fini() frees the adev state the handler touches.
Cancel the idle work in each hw_init() error path, immediately before returning the error, so that hw_fini() remains the sole cancel site on the normal teardown path with no duplication.
(cherry picked from commit 7ff2327fde029e97d0050fcb94e3f4063c318547)
| Product | Versions |
|---|---|
| Linux Linux | 416e1fab475281905e6a45883bc7e5ac8b3f0248 to before 7672a1b890f9dba1da73e45ca1a285e5113d239f Affected416e1fab475281905e6a45883bc7e5ac8b3f0248 to before 112e4af9de689f442e93191b01b69cf83edebb8f Affected416e1fab475281905e6a45883bc7e5ac8b3f0248 to before 631a5bff7f3bd8703763cf890316811da1e74f99 Affected416e1fab475281905e6a45883bc7e5ac8b3f0248 to before 29a8665880b18e3e3c3c95ff6c7050bf2de2411f Affected416e1fab475281905e6a45883bc7e5ac8b3f0248 to before eee555f605aed2f0ea0e8caf30b477a489bc383e Affected416e1fab475281905e6a45883bc7e5ac8b3f0248 to before 1276491ff0b796b70d119b3151728410ec6abdd8 Affected416e1fab475281905e6a45883bc7e5ac8b3f0248 to before a56c2536c399d57a9bb1c02fd411e0c25859af3b Affected |
| Linux Linux | 5.15 Affectedbefore 5.15 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc2 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/7672a1b890f9dba1da73e45ca1a285e5113d239f
- https://git.kernel.org/stable/c/112e4af9de689f442e93191b01b69cf83edebb8f
- https://git.kernel.org/stable/c/631a5bff7f3bd8703763cf890316811da1e74f99
- https://git.kernel.org/stable/c/29a8665880b18e3e3c3c95ff6c7050bf2de2411f
- https://git.kernel.org/stable/c/eee555f605aed2f0ea0e8caf30b477a489bc383e
- https://git.kernel.org/stable/c/1276491ff0b796b70d119b3151728410ec6abdd8
- https://git.kernel.org/stable/c/a56c2536c399d57a9bb1c02fd411e0c25859af3b
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.