HIGH Introduced in 7.2
amdgpu UserQueue UAF
CVE-2026-99119
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
01Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu/userq: actually validate userq BOs This was supposed to loop over the individual evicted list, as the kernel and always_valid evicted lists were already handled in amdgpu_vm_validate. Without this, BOs that were created and evicted before a userq was made would never end up in an eviction fence rearm. Also add the missing ref to the BO before drm_exec locks and refs it. (cherry picked from commit 18decfc9e8cc0fa70b6de9944cc27a37729edfbd)
02KernelScan AI Analysis
Risk summary
A local user with access to an AMD GPU device can trigger a use-after-free in the user queue buffer object validation path. The bug allows a race between buffer object teardown and validation, potentially leading to kernel memory corruption, privilege escalation, or denial of service. Systems with AMD GPUs running untrusted workloads or containers with GPU passthrough are at risk.
Vulnerability analysis
The AMD GPU user queue validation code incorrectly iterated over the wrong evicted buffer object list (always_valid instead of individual), causing user queue buffers created before the queue existed to skip validation. More critically, when processing evicted buffers, the code released a spinlock before the buffer object was referenced by the execution subsystem, creating a race window where the buffer could be freed by another thread while still in use. The fix corrects the list iteration and adds a temporary reference count around the critical section, ensuring the buffer object remains alive until the execution subsystem acquires its own reference. Any local user with access to the AMD GPU render node (typically members of the video or render group) can trigger this path by creating and manipulating user queues, making it reachable from containers with GPU device passthrough.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 7.2 | 7.2 | 7.2.13 | d1d6b859e89d |
| mainline | 7.2 | 7.3 | 32d0771ef4ca |