Skip to contentSkip to conversation

CVE-2026-97928: drm/amdgpu: skip the VMID 0 flush for VRAM

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 25

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu: skip the VMID 0 flush for VRAM

Clear-on-release only runs on VRAM, which amdgpu_ttm_map_buffer() reaches via its direct MC address without programming a GART window, yet the wipe still forces a VMID 0 flush. On GFX11 (e.g. Navi33) that spurious SDMA flush can wedge the engine; only flush when a GART window is actually used.

v2: Let amdgpu_ttm_map_buffer() return whether the VMID 0 flush is needed,
and drive the clear and copy paths from that. (Christian)
v3: Make the vm_needs_flush output parameter mandatory instead of
allowing NULL. (Christian)

(cherry picked from commit a306e406e570b74318ff7d80e5b07b540ca1d3a9)

The Linux kernel CVE team has assigned CVE-2026-97928 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.10 with commit a68c7eaa7a8ffdec9287ba1561a668d674c20a13 and fixed in 7.2.7 with commit 241d7450cf75969cea450eb3e740cb9682f69c2f
	Issue introduced in 6.10 with commit a68c7eaa7a8ffdec9287ba1561a668d674c20a13 and fixed in 7.3-rc3 with commit 87ceb8cba73d0b3c4025ff42495bccd8164acaed

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-97928

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_ttm.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/241d7450cf75969cea450eb3e740cb9682f69c2f
	https://git.kernel.org/stable/c/87ceb8cba73d0b3c4025ff42495bccd8164acaed