CVE-2026-90286: drm/amdgpu/gfx6: Use PFP on the compute queues too
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/gfx6: Use PFP on the compute queues too
On GFX6, the compute rings use the same CP path as the graphics ring. The only difference is that they don't support draw commands. (As opposed to GFX7 and newer which have a separate command parser that is called MEC for compute queues.)
This means that we have to take into consideration that the PFP also exists on compute queues on GFX6:
Use PFP for register writes on both graphics and
compute queues.
In the pipeline sync, use the PFP to wait for the previous fence (and not the ME) to prevent the PFP from starting to execute the next submission while the ME is still in the previous submission.
After a VM flush, emit PFP_SYNC_ME on compute
queues as well.
The Linux kernel CVE team has assigned CVE-2026-90286 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.9 with commit 2cd46ad22383ab8372b86cdb5257589496099412 and fixed in 5.10.270 with commit f37211b9c01433f0bbb4709d25df7a0257cf915b Issue introduced in 4.9 with commit 2cd46ad22383ab8372b86cdb5257589496099412 and fixed in 5.15.221 with commit 2aa869c6b23e0b1b7f39f762618852811d75deb9 Issue introduced in 4.9 with commit 2cd46ad22383ab8372b86cdb5257589496099412 and fixed in 6.1.188 with commit fbabc39b4f0fc771b00525ffd448be6a84355048 Issue introduced in 4.9 with commit 2cd46ad22383ab8372b86cdb5257589496099412 and fixed in 6.6.157 with commit b5d1d3e4519dc8f1b55d6b236848bed67b11a2e8 Issue introduced in 4.9 with commit 2cd46ad22383ab8372b86cdb5257589496099412 and fixed in 6.12.110 with commit e1d3018e3621c90cec070b6915836ae129656663 Issue introduced in 4.9 with commit 2cd46ad22383ab8372b86cdb5257589496099412 and fixed in 6.18.52 with commit 8d752f1bb73fabe5a425acbf5c767c0fe68bf3c5 Issue introduced in 4.9 with commit 2cd46ad22383ab8372b86cdb5257589496099412 and fixed in 7.2.6 with commit e399e9d7e291ccbeba6560fb8278c8d2aa744521 Issue introduced in 4.9 with commit 2cd46ad22383ab8372b86cdb5257589496099412 and fixed in 7.3-rc1 with commit 60f20946cd318518ddc2c0da12103c666b2b9564
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-90286
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/gfx_v6_0.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/f37211b9c01433f0bbb4709d25df7a0257cf915b https://git.kernel.org/stable/c/2aa869c6b23e0b1b7f39f762618852811d75deb9 https://git.kernel.org/stable/c/fbabc39b4f0fc771b00525ffd448be6a84355048 https://git.kernel.org/stable/c/b5d1d3e4519dc8f1b55d6b236848bed67b11a2e8 https://git.kernel.org/stable/c/e1d3018e3621c90cec070b6915836ae129656663 https://git.kernel.org/stable/c/8d752f1bb73fabe5a425acbf5c767c0fe68bf3c5 https://git.kernel.org/stable/c/e399e9d7e291ccbeba6560fb8278c8d2aa744521 https://git.kernel.org/stable/c/60f20946cd318518ddc2c0da12103c666b2b9564