CVE-2025-21904
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-21904 is a vulnerability in the Linux kernel's caifvirtio component, discovered and disclosed on April 1, 2025. The vulnerability affects multiple versions of the Linux kernel, from version 3.10 up to versions 6.14-rc5, involving an incorrect pointer check in the cfvprobe() function (NVD).

Technical details

The vulnerability stems from a NULL pointer dereference issue in the caifvirtio component. Specifically, the delvqs() function frees virtqueues, but the code incorrectly checks cfv->vdev for NULL instead of cfv->vq_tx before calling it. The implementation is redundant because the pointer cfv->vdev is dereferenced before being checked for NULL. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H and is classified as CWE-476 (NULL Pointer Dereference) (NVD).

Impact

The vulnerability can lead to high availability impact on affected systems, though it requires local access and low privileges to exploit. The CVSS metrics indicate no impact on confidentiality or integrity, but a high impact on system availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions. The fix involves modifying the pointer check to verify cfv->vqtx for NULL instead of cfv->vdev before calling delvqs(). Updated versions include 6.1.133-1 for Debian bookworm and 6.12.21-1 for Debian trixie (Debian).

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