MEDIUM · CVSS 5.5 Published: 2025-04-01
CVE-2025-21904 — Technical Security Advisory & CVSS Profile
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().
Technical Metadata
| Identifier | CVE-2025-21904 |
|---|---|
| Base Severity / Score | MEDIUM (5.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Weakness Classification | CWE-476 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://git.kernel.org/stable/c/29e0cd296c87240278e2f7ea4cf3f496b60c03af
- https://git.kernel.org/stable/c/56cddf71cce3b15b078e937fadab29962b6f6643
- https://git.kernel.org/stable/c/597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e
Related Security Advisories
CVE-2025-21903 MEDIUM 5.5
CVE-2025-21905 HIGH 7.1
CVE-2025-21902 MEDIUM 5.5
CVE-2025-21907 MEDIUM 5.5
CVE-2025-21908 MEDIUM 5.5
CVE-2025-21909 MEDIUM 5.5
CVE-2025-21910 MEDIUM 5.5