Skip to contentSkip to conversation

CVE-2026-46311: drm/amdgpu/userq: fix access to stale wptr mapping

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jun 8

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/userq: fix access to stale wptr mapping

Use drm_exec to take both locks i.e vm root bo and wptr_obj bo to access the mapping data properly.

This fixes the security issue of unmap the wptr_obj while a queue creation is in progress and passing other bo at same address.

(cherry picked from commit 1fc6c8ab45dbee096469c08c13f6099d57a52d6c)

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

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

	Fixed in 7.0.9 with commit 336a9186f3a4b65bbd865d93936605ac8a1a3991
	Fixed in 7.1-rc3 with commit 6da7b1242da4455b11c24ce667d1cab1a348c8ea

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

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/mes_userqueue.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/336a9186f3a4b65bbd865d93936605ac8a1a3991
	https://git.kernel.org/stable/c/6da7b1242da4455b11c24ce667d1cab1a348c8ea