CVE-2025-21904: caif_virtio: fix wrong pointer check in cfv_probe()
In the Linux kernel, the following vulnerability has been resolved:
caif_virtio: fix wrong pointer check in cfv_probe()
del_vqs() frees virtqueues, therefore cfv->vq_tx pointer should be checked
for NULL before calling it, not cfv->vdev. Also the current implementation
is redundant because the pointer cfv->vdev is dereferenced before it is
checked for NULL.
Fix this by checking cfv->vq_tx for NULL instead of cfv->vdev before
calling del_vqs().
Security readout for executives and security teams
Plain-English summary
CVE-2025-21904 is a Linux kernel availability bug in the caif_virtio driver. A local user could potentially trigger a kernel crash if the affected driver path is reachable. It is not listed as actively exploited in KEV, and the public record does not describe remote exploitation.
Executive priority
Treat as routine-to-priority kernel maintenance. The business risk is service disruption on affected hosts, not confirmed data compromise. Patch during normal kernel update windows, accelerating for systems where caif_virtio is in use.
Technical view
The bug is a CWE-476 null pointer issue in caif_virtio cfv_probe(). The code checked cfv->vdev before del_vqs(), although virtqueue cleanup depends on cfv->vq_tx. CVSS is 5.5: local access, low complexity, low privileges, no user interaction, high availability impact only.
Likely exposure
Exposure is most relevant to Linux systems running affected kernel versions with the caif_virtio driver present and usable. General-purpose servers may have limited exposure if this driver is absent or unused. Confirm against vendor kernel packages and the referenced stable commits.
Exploitation context
No active exploitation is indicated by KEV or the provided sources. Exploitation is local, requires low privileges, and targets availability rather than data theft or privilege escalation. Public sources do not provide a proof of concept or detailed trigger conditions.
Researcher notes
The public record identifies the fix as changing the NULL check from cfv->vdev to cfv->vq_tx before del_vqs(). The description does not include exploit mechanics, affected distributions beyond referenced advisories, or evidence of in-the-wild abuse.
Mitigation direction
Apply Linux kernel updates that include the referenced stable fixes.
For Debian LTS systems, review and apply the listed Debian security updates.
If immediate patching is delayed, check vendor guidance for driver-specific risk reduction.
Prioritize systems where caif_virtio is enabled, loaded, or required.
Validation and detection
Inventory Linux kernel versions across affected assets.
Verify installed kernels include the applicable stable fix commit.
Check whether caif_virtio is built, available, or loaded.
Confirm Debian systems have the relevant LTS security update installed.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.