CVE-2026-93192: drm/v3d: Clear queue->active_job when v3d_fence_create() fails
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/v3d: Clear queue->active_job when v3d_fence_create() fails
The run_job() callbacks for BIN, RENDER, TFU and CSD assign the incoming job to queue->active_job before calling v3d_fence_create(). If v3d_fence_create() fails, the callback returns NULL without clearing active_job, leaving a dangling pointer.
Create a failure path in all run_job() callbacks that clears the active job before returning NULL. The BIN path takes queue->queue_lock around the clear as it races against v3d_overflow_mem_work(); RENDER, TFU and CSD paths have no concurrent reader, so the clear is lock-free.
The Linux kernel CVE team has assigned CVE-2026-93192 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.3 with commit a783a09ee76d6259296dc6aeea2b6884fa526980 and fixed in 6.12.110 with commit bdeb73d7312100e00c3e643ff233f09b6ec114aa Issue introduced in 5.3 with commit a783a09ee76d6259296dc6aeea2b6884fa526980 and fixed in 6.18.52 with commit 3a8aa74859dd73eaa76c55eb74da708e56ef51c5 Issue introduced in 5.3 with commit a783a09ee76d6259296dc6aeea2b6884fa526980 and fixed in 7.2.6 with commit 0b9878aba5cf93bc2b55ba9eb807757ce3239bec Issue introduced in 5.3 with commit a783a09ee76d6259296dc6aeea2b6884fa526980 and fixed in 7.3-rc1 with commit 25a1669907512e927fab9ad4d4fb74ff57f63cd9
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-93192
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_sched.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/bdeb73d7312100e00c3e643ff233f09b6ec114aa https://git.kernel.org/stable/c/3a8aa74859dd73eaa76c55eb74da708e56ef51c5 https://git.kernel.org/stable/c/0b9878aba5cf93bc2b55ba9eb807757ce3239bec https://git.kernel.org/stable/c/25a1669907512e927fab9ad4d4fb74ff57f63cd9