Skip to contentSkip to conversation

CVE-2026-43399: drm/amdgpu/userq: Fix reference leak in amdgpu_userq_wait_ioctl

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 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 reference leak in amdgpu_userq_wait_ioctl

Drop reference to syncobj and timeline fence when aborting the ioctl due output array being too small.

(cherry picked from commit 68951e9c3e6bb22396bc42ef2359751c8315dd27)

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

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

	Issue introduced in 6.16 with commit a292fdecd72834b3bec380baa5db1e69e7f70679 and fixed in 6.18.19 with commit 762f47e2b824383d5be65eee2c40a1269b7d50c8
	Issue introduced in 6.16 with commit a292fdecd72834b3bec380baa5db1e69e7f70679 and fixed in 6.19.9 with commit 5409247d41f372bec5b141ef599f2d9f5e81b746
	Issue introduced in 6.16 with commit a292fdecd72834b3bec380baa5db1e69e7f70679 and fixed in 7.0 with commit 49abfa812617a7f2d0132c70d23ac98b389c6ec1

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

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_userq_fence.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/762f47e2b824383d5be65eee2c40a1269b7d50c8
	https://git.kernel.org/stable/c/5409247d41f372bec5b141ef599f2d9f5e81b746
	https://git.kernel.org/stable/c/49abfa812617a7f2d0132c70d23ac98b389c6ec1