CVE-2025-21904
caif_virtio: fix wrong pointer check in cfv_probe()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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().
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
3.10
References 8
git.kernel.org
- stable/c/990fff6980d0c1693d60a812f58dbf93eab0473f
- stable/c/7b5fe58959822e6cfa884327cabba6be3b01883d
- stable/c/8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb
- stable/c/29e0cd296c87240278e2f7ea4cf3f496b60c03af
- stable/c/90d302619ee7ce5ed0c69c29c290bdccfde66418
- stable/c/56cddf71cce3b15b078e937fadab29962b6f6643
- stable/c/597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e
- stable/c/a466fd7e9fafd975949e5945e2f70c33a94b1a70