Skip to contentSkip to conversation

CVE-2023-53248: drm/amdgpu: install stub fence into potential unused fence pointers

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 15, 2025

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: install stub fence into potential unused fence pointers

When using cpu to update page tables, vm update fences are unused. Install stub fence into these fence pointers instead of NULL to avoid NULL dereference when calling dma_fence_wait() on them.

The Linux kernel CVE team has assigned CVE-2023-53248 to this issue.

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

	Fixed in 6.1.47 with commit 78b25110eb8c6990f7f5096bc0136c12a2b4cc99
	Fixed in 6.4.12 with commit aa9e9ba5748c524eb0925a2ef6984b78793646d6
	Fixed in 6.5 with commit 187916e6ed9d0c3b3abc27429f7a5f8c936bd1f0

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-2023-53248

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_vm.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/78b25110eb8c6990f7f5096bc0136c12a2b4cc99
	https://git.kernel.org/stable/c/aa9e9ba5748c524eb0925a2ef6984b78793646d6
	https://git.kernel.org/stable/c/187916e6ed9d0c3b3abc27429f7a5f8c936bd1f0