CVE-2026-139790

drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jpeg

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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)

Analysis

AI-generated

Technical impact

A flaw in the amdgpu driver leaves delayed work queued during a partial hardware initialization un‑cancelled if hw_init fails. That work later executes against a freed device structure, potentially causing a use‑after‑free and crashing the kernel. The result is loss of availability and possible denial of service to the system or user processes.

Affected Systems

All Linux kernel distributions that ship the amdgpu driver, including common vendor kernels that expose the VCN, UVD, VCE and JPEG hardware acceleration paths.

Risk and Exploitability

The vulnerability is not listed in CISA's KEV catalog and no EPSS score is available. Its exploitation requires a failure in the driver’s hardware initialization path, which is typically triggered by a hardware fault, mis‑configuration or buggy firmware. Consequently the risk of exploitation is considered low and any potential attacker must be able to influence the device state locally. The severity of the issue is high because a single crash brings the entire system down.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that cancels idle work in all hw_init failure paths (commit 7ff2327fde029e97d0050fcb94e3f4063c318547) or update to a kernel version that contains this fix.
  • If an update cannot be applied immediately, disable the problematic amdgpu sub‑modules by unloading the VCN, UVD, VCE or JPEG sub‑drivers or by adding appropriate module blacklist entries to prevent their use.
  • Verify that after the patch or disabling the modules the system no longer queues delayed work during hw_init failures, which can be tested with kernel logs for any use‑after‑free warnings or crashes.

Generated by OpenCVE AI on December 1, 2026 at 01:47 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
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)
Title drm/amdgpu: cancel idle work in hw_init failure paths for vcn/uvd/vce/jpeg
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:38 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:20 PM
Modified
Nov 30, 2026, 2:20 PM