# CVE-2025-21697: drm/v3d: Ensure job pointer is set to NULL after job completion

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.32% (percentile 18, 2026-11-26)
- **Published:** 2025-02-12T13:27:55.488Z
- **Modified:** 2026-08-05T11:53:40.900Z

## Who should check

- Anyone running Linux \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 1bd6303d08c85072ce40ac01a767ab67195105bd; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< a34050f70e7955a359874dff1a912a748724a140; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 14e0a874488e79086340ba8e2d238cb9596b68a8; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 2a1c88f7ca5c12dff6fa6787492ac910bb9e4407; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 63195bae1cbf78f1d392b1bc9ae4b03c82d0ebf3; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< b22467b1ae104073dcb11aa78562a331cd7fb0e0; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< e4b5ccd392b92300a2b341705cc4805681094e49
- Anyone running Linux 4.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

drm/v3d: Ensure job pointer is set to NULL after job completion

After a job completes, the corresponding pointer in the device must
be set to NULL. Failing to do so triggers a warning when unloading
the driver, as it appears the job is still active. To prevent this,
assign the job pointer to NULL after completing the job, indicating
the job has finished.

## Affected and fixed versions

- Linux: \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 1bd6303d08c85072ce40ac01a767ab67195105bd; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< a34050f70e7955a359874dff1a912a748724a140; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 14e0a874488e79086340ba8e2d238cb9596b68a8; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 2a1c88f7ca5c12dff6fa6787492ac910bb9e4407; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 63195bae1cbf78f1d392b1bc9ae4b03c82d0ebf3; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< b22467b1ae104073dcb11aa78562a331cd7fb0e0; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< e4b5ccd392b92300a2b341705cc4805681094e49 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-21697. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-21697.md
Affected: Linux >= 14d1d190869685d3a1e8a3f63924e20594557cb2, < 1bd6303d08c85072ce40ac01a767ab67195105bd; >= 14d1d190869685d3a1e8a3f63924e20594557cb2, < a34050f70e7955a359874dff1a912a748724a140; >= 14d1d190869685d3a1e8a3f63924e20594557cb2, < 14e0a874488e79086340ba8e2d238cb9596b68a8; >= 14d1d190869685d3a1e8a3f…
Fixed in: Linux 1bd6303d08c85072ce40ac01a767ab67195105bd, Linux 14e0a874488e79086340ba8e2d238cb9596b68a8, Linux 2a1c88f7ca5c12dff6fa6787492ac910bb9e4407, Linux 63195bae1cbf78f1d392b1bc9ae4b03c82d0ebf3

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-21697 being exploited?

There is no confirmed exploitation: CVE-2025-21697 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-21697?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-21697?

Linux \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 1bd6303d08c85072ce40ac01a767ab67195105bd; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< a34050f70e7955a359874dff1a912a748724a140; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 14e0a874488e79086340ba8e2d238cb9596b68a8; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 2a1c88f7ca5c12dff6fa6787492ac910bb9e4407; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< 63195bae1cbf78f1d392b1bc9ae4b03c82d0ebf3; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< b22467b1ae104073dcb11aa78562a331cd7fb0e0; \>= 14d1d190869685d3a1e8a3f63924e20594557cb2, \< e4b5ccd392b92300a2b341705cc4805681094e49; Linux 4.19.

### Is there a fix for CVE-2025-21697?

Yes. Fixed in Linux 1bd6303d08c85072ce40ac01a767ab67195105bd, Linux 14e0a874488e79086340ba8e2d238cb9596b68a8, Linux 2a1c88f7ca5c12dff6fa6787492ac910bb9e4407, Linux 63195bae1cbf78f1d392b1bc9ae4b03c82d0ebf3. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-21697?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/1bd6303d08c85072ce40ac01a767ab67195105bd>
- patch: <https://git.kernel.org/stable/c/a34050f70e7955a359874dff1a912a748724a140>
- patch: <https://git.kernel.org/stable/c/14e0a874488e79086340ba8e2d238cb9596b68a8>
- patch: <https://git.kernel.org/stable/c/2a1c88f7ca5c12dff6fa6787492ac910bb9e4407>
- patch: <https://git.kernel.org/stable/c/63195bae1cbf78f1d392b1bc9ae4b03c82d0ebf3>
- patch: <https://git.kernel.org/stable/c/b22467b1ae104073dcb11aa78562a331cd7fb0e0>
- patch: <https://git.kernel.org/stable/c/e4b5ccd392b92300a2b341705cc4805681094e49>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-21697>

HTML: <https://flawdb.com/CVE-2025-21697> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-21697>
