CVE-2026-139072: drm/amdgpu: recompute the dw estimate after allocating a new VM update job
drm/amdgpu: recompute the dw estimate after allocating a new VM update job
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.117 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.63 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.4-1 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.12.117-1Fixed in 7.3.4-1
Event History
Frequently Asked Questions
What systems are realistically exposed to this issue?
Systems using the Linux kernel amdgpu driver are exposed when they perform SDMA VM updates that exhaust the space in a current VM update job and require allocation of a new job. The issue is in amdgpu_vm_sdma_update().
What is the operational impact if the vulnerable condition occurs?
A stale dword-space estimate can cause copy_pte() to issue a 1GB SDMA copy starting in the IB pool. The copy runs beyond the pool, faults on the first unmapped GART page above it, and hangs the ring.
What condition triggers the erroneous 1GB copy?
After a full job is committed and a new one is allocated, the old free-dword estimate is retained. If that stale estimate is copy_pte_num_dw + 7, or one dword larger, the calculated PTE count becomes zero; the transfer-size encoding then turns that zero count into a 1GB copy.
How does the fix prevent the ring hang?
The fix recomputes the dword estimate after allocating the replacement VM update job. Because the new job is empty, its full available budget is used when deciding how many PTEs fit.