Skip to contentSkip to conversation

CVE-2026-98165: drm/amdgpu: restrict BAR0 fallback read to SR-IOV VFs only

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 6

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: restrict BAR0 fallback read to SR-IOV VFs only

The BAR0 fallback read path was introduced as a workaround for SR-IOV VFs where the VRAM aperture is not available during early init. Restrict this workaround to only SR-IOV VFs where it's needed.

(cherry picked from commit d8a0affd207c813bd063fa2c27786f449eaf92b8)

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

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

	Issue introduced in 7.3-rc1 with commit cba4928cdffaa0f9012acff0ec4f896320107077 and fixed in 7.3-rc2 with commit bd1f08246b8a2564d8ac61df715b6bcd5f994729

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

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_device.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/5612934c255ad9352d07181f14981cfabd7b7a95
	https://git.kernel.org/stable/c/bd1f08246b8a2564d8ac61df715b6bcd5f994729