← CVE Intelligence

CVE-2025-21904

caif_virtio: fix wrong pointer check in cfv_probe() PUBLISHED

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected 0d2e1a2926b1839a4b74519e660739b2566c9386 before 990fff6980d0c1693d60a812f58dbf93eab0473f; affected 0d2e1a2926b1839a4b74519e660739b2566c9386 before 7b5fe58959822e6cfa884327cabba6be3b01883d; affected 0d2e1a2926b1839a4b74519e660739b2566c9386 before 8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb; affected 0d2e1a2926b1839a4b74519e660739b2566c9386 before 29e0cd296c87240278e2f7ea4cf3f496b60c03af; affected 0d2e1a2926b1839a4b74519e660739b2566c9386 before 90d302619ee7ce5ed0c69c29c290bdccfde66418; affected 0d2e1a2926b1839a4b74519e660739b2566c9386 before 56cddf71cce3b15b078e937fadab29962b6f6643; affected 0d2e1a2926b1839a4b74519e660739b2566c9386 before 597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e; affected 0d2e1a2926b1839a4b74519e660739b2566c9386 before a466fd7e9fafd975949e5945e2f70c33a94b1a70
Linux / Linuxaffected 3.10; unaffected 0 before 3.10; unaffected 5.4.291 through 5.4.*; unaffected 5.10.235 through 5.10.*; unaffected 5.15.179 through 5.15.*; unaffected 6.1.131 through 6.1.*; unaffected 6.6.83 through 6.6.*; unaffected 6.12.19 through 6.12.*; unaffected 6.13.7 through 6.13.*; unaffected 6.14 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.