CVE-2025-21697
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21697 affects the Linux kernel's DRM (Direct Rendering Manager) V3D driver. The vulnerability was discovered on February 12, 2025, and involves a failure to properly handle job pointer cleanup after job completion. This issue affects Linux kernel versions from 4.19 up to versions before 5.4.290, 5.10.234, 5.15.177, and 6.1.127 (NVD).

Technical details

The vulnerability exists in the V3D driver's interrupt handling code where job pointers are not properly set to NULL after job completion. When a job completes, the corresponding pointer in the device should be set to NULL, but failing to do so triggers a warning when unloading the driver as it appears the job is still active. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The primary impact of this vulnerability is potential system instability when unloading the V3D driver. The issue can trigger false warnings about active jobs, which may affect system operations and driver functionality. The CVSS score indicates that while the vulnerability requires local access and has no impact on confidentiality or integrity, it can have a high impact on availability (NVD).

Mitigation and workarounds

The vulnerability has been patched by ensuring job pointers are set to NULL after job completion. The fix involves adding NULL assignments after completing bin, render, CSD, and TFU jobs. The patch has been applied to the Linux kernel and is being distributed through various Linux distributions' update channels (Kernel Git).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management