CVE-2026-99119: drm/amdgpu/userq: actually validate userq BOs
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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)
The Linux kernel CVE team has assigned CVE-2026-99119 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.2 with commit 4cdbba5a16aaf16513b69cc332b1d6f971a44b52 and fixed in 7.2.13 with commit d1d6b859e89dd274cd0fae77503cdf91be8310c0 Issue introduced in 7.2 with commit 4cdbba5a16aaf16513b69cc332b1d6f971a44b52 and fixed in 7.3 with commit 32d0771ef4ca69c30a1db3aefa34dd177cd2a047
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99119
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/d1d6b859e89dd274cd0fae77503cdf91be8310c0 https://git.kernel.org/stable/c/32d0771ef4ca69c30a1db3aefa34dd177cd2a047