HIGH Introduced in 7.2
amdgpu UserQueue Overflow
CVE-2026-99261
CVSS:3.1/AV:L/AC:L/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: correct reservation fence slots for userq per-vm BOs eviction It fixes both the move overflow and the eviction fence add for evicting these per-vm BOs.
02KernelScan AI Analysis
Risk summary
A local unprivileged user with access to the AMD GPU device can trigger an out-of-bounds write in kernel memory during buffer object eviction, potentially leading to privilege escalation or kernel crash. The bug affects systems with AMD GPUs running the amdgpu driver when user queue functionality is used.
Vulnerability analysis
The AMD GPU driver's user queue (userq) code incorrectly calculates the number of fence slots needed when preparing a per-VM buffer object for eviction. It reserves only two slots, but the eviction path requires three (the standard move fences plus an additional eviction fence). When the third fence is added, it writes past the end of the reservation object's fence array, corrupting adjacent kernel memory. An attacker with access to the GPU device node — typically any user in the render group — can trigger this by submitting workloads that cause per-VM buffer objects to be evicted. The fix replaces the hardcoded value with the correct TTM_NUM_MOVE_FENCES + 1 calculation.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 7.2 | 7.2 | 7.2.13 | 76acfb84973b |
| mainline | 7.2 | 7.3 | 50b24a20be8c |