NULL pointer dereference in Linux
CVE-2025-21904
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.002 · 14.3th percentile
- Published
- 2025-04-01
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().
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Local
AV:L - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.002, 14.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions 0d2e1a2926b1839a4b74519e660739b2566c9386, 3.10, 0
- Linux Kernel — versions 6.14
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cve-scores, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/990fff6980d0c1693d60a812f58dbf93eab0473f (Patch)
- git.kernel.org/stable/c/7b5fe58959822e6cfa884327cabba6be3b01883d (Patch)
- git.kernel.org/stable/c/8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb (Patch)
- git.kernel.org/stable/c/29e0cd296c87240278e2f7ea4cf3f496b60c03af (Patch)
- git.kernel.org/stable/c/90d302619ee7ce5ed0c69c29c290bdccfde66418 (Patch)
- git.kernel.org/stable/c/56cddf71cce3b15b078e937fadab29962b6f6643 (Patch)
- git.kernel.org/stable/c/597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e (Patch)
- git.kernel.org/stable/c/a466fd7e9fafd975949e5945e2f70c33a94b1a70 (Patch)
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html