CVE-2025-21697: Linux kernel · drm/v3d: Ensure job pointer is set to NULL after job completion
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.4.0-1142.152~18.04.1 : patch Linux kernel soon.
Data as of 29 Oct 2026, 22:36 UTC
- Patch
- Available – fixed in 5.4.0-1142.152~18.04.1, 5.4.0-1147.154~18.04.1, 5.4.0-1145.154~18.04.1 +84
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 12 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 29 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-7387-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7388-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7389-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7390-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7387-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7387-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7391-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7392-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7393-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7392-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7392-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7401-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-6.11pkg:deb/ubuntu/linux-azure-6.11?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azure-nvidiapkg:deb/ubuntu/linux-azure-nvidia?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther 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 patch is available and should be applied by upgrading to Linux kernel versions 5.4.0-1142.152~18.04.1 or later as listed in the fixed versions. The vendor advisory from Ubuntu confirms these fixes. No additional mitigation steps are required beyond applying the official updates.
Description
CVE-2025-21697 is a high-severity vulnerability in the Linux kernel's drm/v3d driver where the job pointer is not set to NULL after job completion. This can cause warnings when unloading the driver, as the system incorrectly believes the job is still active. The issue has been fixed in Linux kernel versions 5.4.0-1142.152~18.04.1 and later.
References
- ubuntu.com/security/CVE-2025-21697 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-21697 (opens in a new tab)
- git.kernel.org/linus/e4b5ccd392b92300a2b341705cc4805681094e49 (opens in a new tab)
- git.kernel.org/stable/c/14e0a874488e79086340ba8e2d238cb9596b68a8 (opens in a new tab)
- git.kernel.org/stable/c/1bd6303d08c85072ce40ac01a767ab67195105bd (opens in a new tab)
- git.kernel.org/stable/c/2a1c88f7ca5c12dff6fa6787492ac910bb9e4407 (opens in a new tab)
- git.kernel.org/stable/c/63195bae1cbf78f1d392b1bc9ae4b03c82d0ebf3 (opens in a new tab)
- git.kernel.org/stable/c/a34050f70e7955a359874dff1a912a748724a140 (opens in a new tab)
- git.kernel.org/stable/c/b22467b1ae104073dcb11aa78562a331cd7fb0e0 (opens in a new tab)
- git.kernel.org/stable/c/e4b5ccd392b92300a2b341705cc4805681094e49 (opens in a new tab)
- ubuntu.com/security/notices/USN-7387-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7388-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7389-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7390-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7387-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-7387-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-7391-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7392-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7393-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-7392-2 (opens in a new tab)