# CVE-2026-139790: drm/amdgpu: cancel idle work in hw\_init failure paths for vcn/uvd/vce/jpeg

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-11-30T13:38:01.580Z
- **Modified:** 2026-11-30T14:20:12.687Z

> **AI summary (AI-generated, claude-haiku-5-5):** 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.

## 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

## 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

- Linux: \>= 416e1fab475281905e6a45883bc7e5ac8b3f0248, \< 7672a1b890f9dba1da73e45ca1a285e5113d239f; \>= 416e1fab475281905e6a45883bc7e5ac8b3f0248, \< 112e4af9de689f442e93191b01b69cf83edebb8f; \>= 416e1fab475281905e6a45883bc7e5ac8b3f0248, \< 631a5bff7f3bd8703763cf890316811da1e74f99; \>= 416e1fab475281905e6a45883bc7e5ac8b3f0248, \< 29a8665880b18e3e3c3c95ff6c7050bf2de2411f; \>= 416e1fab475281905e6a45883bc7e5ac8b3f0248, \< eee555f605aed2f0ea0e8caf30b477a489bc383e; \>= 416e1fab475281905e6a45883bc7e5ac8b3f0248, \< 1276491ff0b796b70d119b3151728410ec6abdd8; \>= 416e1fab475281905e6a45883bc7e5ac8b3f0248, \< a56c2536c399d57a9bb1c02fd411e0c25859af3b (cvelist)
- Linux: 5.15 (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- other: <https://git.kernel.org/stable/c/7672a1b890f9dba1da73e45ca1a285e5113d239f>
- other: <https://git.kernel.org/stable/c/112e4af9de689f442e93191b01b69cf83edebb8f>
- other: <https://git.kernel.org/stable/c/631a5bff7f3bd8703763cf890316811da1e74f99>
- other: <https://git.kernel.org/stable/c/29a8665880b18e3e3c3c95ff6c7050bf2de2411f>
- other: <https://git.kernel.org/stable/c/eee555f605aed2f0ea0e8caf30b477a489bc383e>
- other: <https://git.kernel.org/stable/c/1276491ff0b796b70d119b3151728410ec6abdd8>
- other: <https://git.kernel.org/stable/c/a56c2536c399d57a9bb1c02fd411e0c25859af3b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-139790>

HTML: <https://flawdb.com/CVE-2026-139790> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-139790>
