CVE-2026-139790
drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jpeg
AI summary AI generated
A local attacker may trigger a use-after-free in the Linux kernel amdgpu driver because pending idle work is left queued after a failed VCN, UVD, VCE, or JPEG hardware init.
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 7672a1b890f9dba1da73e45ca1a285e5113d239f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 112e4af9de689f442e93191b01b69cf83edebb8f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 631a5bff7f3bd8703763cf890316811da1e74f99; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 29a8665880b18e3e3c3c95ff6c7050bf2de2411f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < eee555f605aed2f0ea0e8caf30b477a489bc383e; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 1276491ff0b796b70d119b3151728410ec6abdd8; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < a56c2536c399d57a9bb1c02fd411e0c25859af3b
- Anyone running Linux 5.15
Vulnerability facts
- Affected
- Linux >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 7672a1b890f9dba1da73e45ca1a285e5113d239f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 112e4af9de689f442e93191b01b69cf83edebb8f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 631a5bff7f3bd8703763cf890316811da1e74f99; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 29a8665880b18e3e3c3c95ff6c7050bf2de2411f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < eee555f605aed2f0ea0e8caf30b477a489bc383e; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 1276491ff0b796b70d119b3151728410ec6abdd8; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < a56c2536c399d57a9bb1c02fd411e0c25859af3b; Linux 5.15
- Fixed in
- Linux 7672a1b890f9dba1da73e45ca1a285e5113d239f, Linux 112e4af9de689f442e93191b01b69cf83edebb8f, Linux 631a5bff7f3bd8703763cf890316811da1e74f99, Linux 29a8665880b18e3e3c3c95ff6c7050bf2de2411f, Linux 1276491ff0b796b70d119b3151728410ec6abdd8
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 7672a1b890f9dba1da73e45ca1a285e5113d239f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 112e4af9de689f442e93191b01b69cf83edebb8f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 631a5bff7f3bd8703763cf890316811da1e74f99; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 29a8665880b18e3e3c3c95ff6c7050bf2de2411f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < eee555f605aed2f0ea0e8caf30b477a489bc383e; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 1276491ff0b796b70d119b3151728410ec6abdd8; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < a56c2536c399d57a9bb1c02fd411e0c25859af3b | — | cvelist |
| Linux | 5.15 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-139790. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-139790.md Affected: Linux >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 7672a1b890f9dba1da73e45ca1a285e5113d239f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 112e4af9de689f442e93191b01b69cf83edebb8f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 631a5bff7f3bd8703763cf890316811da1e74f99; >= 416e1fab475281905e6a458… Fixed in: Linux 7672a1b890f9dba1da73e45ca1a285e5113d239f, Linux 112e4af9de689f442e93191b01b69cf83edebb8f, Linux 631a5bff7f3bd8703763cf890316811da1e74f99, Linux 29a8665880b18e3e3c3c95ff6c7050bf2de2411f, Linux 1276491ff0b796b70d119b3151728410ec6abdd8 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- 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
FAQ
Is CVE-2026-139790 being exploited?
There is no confirmed exploitation: CVE-2026-139790 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-139790?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-139790?
Linux >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 7672a1b890f9dba1da73e45ca1a285e5113d239f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 112e4af9de689f442e93191b01b69cf83edebb8f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 631a5bff7f3bd8703763cf890316811da1e74f99; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 29a8665880b18e3e3c3c95ff6c7050bf2de2411f; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < eee555f605aed2f0ea0e8caf30b477a489bc383e; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < 1276491ff0b796b70d119b3151728410ec6abdd8; >= 416e1fab475281905e6a45883bc7e5ac8b3f0248, < a56c2536c399d57a9bb1c02fd411e0c25859af3b; Linux 5.15.
Is there a fix for CVE-2026-139790?
Yes. Fixed in Linux 7672a1b890f9dba1da73e45ca1a285e5113d239f, Linux 112e4af9de689f442e93191b01b69cf83edebb8f, Linux 631a5bff7f3bd8703763cf890316811da1e74f99, Linux 29a8665880b18e3e3c3c95ff6c7050bf2de2411f, Linux 1276491ff0b796b70d119b3151728410ec6abdd8. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-139790?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| MEDIUM 6.5 | CVE-2026-140063 Glib2: authenticated dos via pre-emptive 128mib read-buffer allocation in gdbusworker | Linux kernel+1 | ||
| MEDIUM 5.1 | CVE-2026-140038 Binutils: gprofng uses predictable /tmp directory with unchecked mkdir() enabling symlink-based file clobber | Linux kernel+1 | ||
| HIGH 7.3 | CVE-2026-139801 KVM: nSVM: Check validity of vmcs01 save area copied from SMRAM on RSM | Linux kernel | ||
| UNSCORED | CVE-2026-139800 9p/xen: drain response work after unbinding IRQ | Linux kernel | ||
| HIGH 7.0 | CVE-2026-139799 mm/shmem: hold off eviction in shmem_writeout() | Linux kernel |