CVE-2026-63840: drm/amdgpu/jpeg: set no_user_fence for JPEG v5.3.0 ring
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu/jpeg: set no_user_fence for JPEG v5.3.0 ring
JPEG rings do not support 64-bit user fence writes, reject CS submissions with user fences.
(cherry picked from commit 86ac011ae234c03fb872f4945913391ea1d8862e)
The Linux kernel CVE team has assigned CVE-2026-63840 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.0 with commit 4aeaf3cbfa9f967e71849c66c6914ab6c2054581 and fixed in 7.0.10 with commit 46ad73aec27d020f103b4262e4da2d2c22f54799 Issue introduced in 7.0 with commit 4aeaf3cbfa9f967e71849c66c6914ab6c2054581 and fixed in 7.1 with commit 3b0ea2021351b6b813b34fac940957f1f4fad85b
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-63840
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/jpeg_v5_3_0.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/46ad73aec27d020f103b4262e4da2d2c22f54799 https://git.kernel.org/stable/c/3b0ea2021351b6b813b34fac940957f1f4fad85b