CVE-2026-72327: drm/v3d: Reject invalid indirect BO handle in indirect CSD setup
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Reject invalid indirect BO handle in indirect CSD setup
v3d_get_cpu_indirect_csd_params() looks up the indirect buffer object from a userspace-supplied handle but never checks the result. A bogus or stale handle makes drm_gem_object_lookup() return NULL, which is then stored in info->indirect and only dereferenced later when the indirect CSD job runs, turning a userspace mistake into a NULL pointer dereference in the kernel.
Bail out with -ENOENT as soon as the lookup fails, so the bad handle is rejected at submission time.
The Linux kernel CVE team has assigned CVE-2026-72327 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.8 with commit 18b8413b25b7070fa2e55858a2c808e6909581d0 and fixed in 6.12.97 with commit 7c27f630dc78b673e136cab7d410399a1c52146a Issue introduced in 6.8 with commit 18b8413b25b7070fa2e55858a2c808e6909581d0 and fixed in 6.18.40 with commit 762116dfa72865c82151970960f7cf34f44b21c8 Issue introduced in 6.8 with commit 18b8413b25b7070fa2e55858a2c808e6909581d0 and fixed in 7.1.5 with commit 5d65dade4d84913d1879f3db6a12ac007e08314b Issue introduced in 6.8 with commit 18b8413b25b7070fa2e55858a2c808e6909581d0 and fixed in 7.2-rc3 with commit 2f8b8593c7832fad655290cef9e99af05b1b52b3
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-72327
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/v3d/v3d_submit.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/7c27f630dc78b673e136cab7d410399a1c52146a https://git.kernel.org/stable/c/762116dfa72865c82151970960f7cf34f44b21c8 https://git.kernel.org/stable/c/5d65dade4d84913d1879f3db6a12ac007e08314b https://git.kernel.org/stable/c/2f8b8593c7832fad655290cef9e99af05b1b52b3