Skip to contentSkip to conversation

CVE-2025-71294: drm/amdgpu: fix NULL pointer issue buffer funcs

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 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: fix NULL pointer issue buffer funcs

If SDMA block not enabled, buffer_funcs will not initialize, fix the null pointer issue if buffer_funcs not initialized.

The Linux kernel CVE team has assigned CVE-2025-71294 to this issue.

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

	Fixed in 6.12.75 with commit 29fd416e0e08aa6d5a97fd313749d08d83de0826
	Fixed in 6.18.16 with commit 276028fd9b60bbcc68796d1124b6b58298f4ca8a
	Fixed in 6.19.6 with commit 3e849a93bff40f0c88a8aafba062b1de0ec2797b
	Fixed in 7.0 with commit 9877a865d62c9c3e0f4cc369dc9ca9f7f24f5ee9

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-2025-71294

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/29fd416e0e08aa6d5a97fd313749d08d83de0826
	https://git.kernel.org/stable/c/276028fd9b60bbcc68796d1124b6b58298f4ca8a
	https://git.kernel.org/stable/c/3e849a93bff40f0c88a8aafba062b1de0ec2797b
	https://git.kernel.org/stable/c/9877a865d62c9c3e0f4cc369dc9ca9f7f24f5ee9