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

State
Published
Severity
Not Scored
Published
Nov 30, 2026
Updated
Nov 30, 2026
Reserved
Nov 30, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 94611b5aa3b8b94d5465e579c100a506faad5678 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d7e4ce4f399878bb46817d742387d6ed0a3114fa Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 1871143400c7f459c647867cf544ed937dd50736 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before dc715d660d9255ed016b41a624e5dee69c0840a4 Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before ec67981c87d574d584406ce341ab72067590069d Affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before a74c7832b11827907de560169c7d4ac94505fd87 Affectedbefore 6.1.193 Affectedbefore 6.6.163 Affectedbefore 6.12.117 Affectedbefore 6.18.63 Affectedbefore 7.3.4 Affected
Linux Linux6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.