CVE-2025-21688: Linux kernel · drm/v3d: Assign job pointer to NULL before signaling the fence
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 4.7 Medium.
Data as of 24 Nov 2026, 19:54 UTC
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 10 Feb 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinux-raspi-realtimepkg:deb/ubuntu/linux-raspi-realtime?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-allwinner-5.19pkg:deb/ubuntu/linux-allwinner-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-5.19pkg:deb/ubuntu/linux-aws-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.2pkg:deb/ubuntu/linux-aws-6.2?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-aws-6.5pkg:deb/ubuntu/linux-aws-6.5?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlinux-azure-5.19pkg:deb/ubuntu/linux-azure-5.19?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix for this vulnerability is available in the Linux kernel versions listed as affected. Users should update to a fixed kernel version to remediate the issue. No additional mitigations are specified or required beyond applying the official fix.
Description
CVE-2025-21688 is a vulnerability in the Linux kernel's drm/v3d driver where a race condition between the DRM scheduler workqueue and the IRQ execution thread can lead to a NULL pointer dereference. This occurs because the job pointer is assigned to NULL after job completion, but a new job may be assigned concurrently, causing a crash when the GPU interrupt triggers the v3d_irq() handler. The issue has been resolved by assigning the job pointer to NULL before signaling the fence to avoid the race condition.
References
- ubuntu.com/security/CVE-2025-21688 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21688 (opens in a new tab)
- git.kernel.org/linus/6e64d6b3a3c39655de56682ec83e894978d23412 (opens in a new tab)
- git.kernel.org/stable/c/01a7e3a43ee2e6607169a75889412344c10b37fd (opens in a new tab)
- git.kernel.org/stable/c/1f66a3a1a516e4d545906916b3f3c8d1c5e909e6 (opens in a new tab)
- git.kernel.org/stable/c/3059e7aaa280daea57bb069fbc65225e1bb95014 (opens in a new tab)
- git.kernel.org/stable/c/431fb709db434565b5e7cee82a11bd681a794fd3 (opens in a new tab)
- git.kernel.org/stable/c/6cfafcad46e95351c477da0ae7e3acb8f7550ada (opens in a new tab)
- git.kernel.org/stable/c/6e64d6b3a3c39655de56682ec83e894978d23412 (opens in a new tab)
- git.kernel.org/stable/c/9793206fbf5293534c3a79d78f196e2cbb48c22d (opens in a new tab)
- git.kernel.org/stable/c/a9401cd5d1bb5a0b8d2bef09623ca43551cd6e8a (opens in a new tab)