CVE-2025-21904

published 1 Apr 2025 · updated 11 May 2026

caif_virtio: fix wrong pointer check in cfv_probe()

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 29e0cd296c87240278e2f7ea4cf3f496b60c03af, Kernel 56cddf71cce3b15b078e937fadab29962b6f6643, Kernel 597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e and 5 more.

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().

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.10, >=0d2e1a2926b1839a4b74519e660739b2566c9386 <29e0cd296c87240278e2f7ea4cf3f496b60c03af, >=0d2e1a2926b1839a4b74519e660739b2566c9386 <56cddf71cce3b15b078e937fadab29962b6f6643, >=0d2e1a2926b1839a4b74519e660739b2566c9386 <597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e, >=0d2e1a2926b1839a4b74519e660739b2566c9386 <7b5fe58959822e6cfa884327cabba6be3b01883d, >=0d2e1a2926b1839a4b74519e660739b2566c9386 <8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb, >=0d2e1a2926b1839a4b74519e660739b2566c9386 <90d302619ee7ce5ed0c69c29c290bdccfde66418, >=0d2e1a2926b1839a4b74519e660739b2566c9386 <990fff6980d0c1693d60a812f58dbf93eab0473f, >=0d2e1a2926b1839a4b74519e660739b2566c9386 <a466fd7e9fafd975949e5945e2f70c33a94b1a7029e0cd296c87240278e2f7ea4cf3f496b60c03af, 56cddf71cce3b15b078e937fadab29962b6f6643, 597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e, 7b5fe58959822e6cfa884327cabba6be3b01883d, 8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb, 90d302619ee7ce5ed0c69c29c290bdccfde66418, 990fff6980d0c1693d60a812f58dbf93eab0473f, a466fd7e9fafd975949e5945e2f70c33a94b1a70

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21904 severity on Zeptric[![CVE-2025-21904](https://zeptric.io/badge/cve/CVE-2025-21904.svg)](https://zeptric.io/cve/CVE-2025-21904)