CVE-2026-139072

drm/amdgpu: recompute the dw estimate after allocating a new VM update job

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: recompute the dw estimate after allocating a new VM update job

amdgpu_vm_sdma_update() keeps the number of free dwords of the current
job in a local variable. When the job runs out of room it is committed
and a new one is allocated, but that local variable is not refreshed and
still describes the job which was just submitted.

The stale value is then used to decide how many PTEs fit into the new
job. If it happens to be copy_pte_num_dw + 7, or one more than that, the
result is zero. copy_pte() encodes the transfer size as count * 8 - 1,
so a count of zero asks the engine for a 1GB copy starting inside the IB
pool. That runs off the end of the pool, faults on the first unmapped
GART page above it and hangs the ring.

Re-initialize the estimate from the newly allocated job, which is empty
and therefore has its full budget available.

Analysis

AI-generated

Technical impact

The flaw occurs in the AMDGPU driver within the Linux kernel. During a virtual memory update job, the driver keeps a counter of free dwords for the current job. When that job runs out of space, it is committed and a new job is allocated, but the counter is not refreshed. The stale counter is then used to determine how many page table entries can fit into the new job. If the counter value is zero, a copy operation requests an excessively large 1 GB transfer that starts inside the instruction buffer pool, causing the graphics engine to read beyond the pool’s boundaries, fault on an unmapped GART page, and hang the ring. The result is a kernel hang that permanently stalls the system until a reboot or module reload, constituting a denial of service.

Affected Systems

All Linux kernel builds that include the unpatched AMDGPU driver, regardless of vendor. The affected component is the Linux kernel itself; the vendor list in the CVE records identifies it as "Linux:Linux". No specific kernel version is enumerated in the data, so any kernel distribution that contains the older driver code before the patch commit is potentially vulnerable.

Risk and Exploitability

The EPSS score is not provided and the vulnerability is not listed in CISA’s KEV catalog, indicating a lack of public exploitation reports. No CVSS score is available, but the flaw requires a user to trigger a VM update job on a system equipped with an AMD GPU, typically a local administrator or a privileged process. Because the impact is a kernel hang and not arbitrary code execution, the threat is limited to a denial of service scenario. The risk can be considered moderate until a patch becomes available.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a revision that includes the commit recalculating the dword estimate after a job allocation.
  • Ensure the latest AMDGPU driver portion of the kernel sources is installed, as the patch resides in the driver module.
  • After installing the updated kernel, reboot the system to load the patched driver.

Generated by OpenCVE AI on November 30, 2026 at 19:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-20
CWE-665
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: recompute the dw estimate after allocating a new VM update job amdgpu_vm_sdma_update() keeps the number of free dwords of the current job in a local variable. When the job runs out of room it is committed and a new one is allocated, but that local variable is not refreshed and still describes the job which was just submitted. The stale value is then used to decide how many PTEs fit into the new job. If it happens to be copy_pte_num_dw + 7, or one more than that, the result is zero. copy_pte() encodes the transfer size as count * 8 - 1, so a count of zero asks the engine for a 1GB copy starting inside the IB pool. That runs off the end of the pool, faults on the first unmapped GART page above it and hangs the ring. Re-initialize the estimate from the newly allocated job, which is empty and therefore has its full budget available.
Title drm/amdgpu: recompute the dw estimate after allocating a new VM update job
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-665

    Improper Initialization

Sources

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