{"id":"CVE-2025-21904","aliases":["CVE-2025-21904"],"related":[],"kind":"vulnerability","state":"published","title":"caif_virtio: fix wrong pointer check in cfv_probe()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncaif_virtio: fix wrong pointer check in cfv_probe()\n\ndel_vqs() frees virtqueues, therefore cfv->vq_tx pointer should be checked\nfor NULL before calling it, not cfv->vdev. Also the current implementation\nis redundant because the pointer cfv->vdev is dereferenced before it is\nchecked for NULL.\n\nFix this by checking cfv->vq_tx for NULL instead of cfv->vdev before\ncalling del_vqs().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncaif_virtio: fix wrong pointer check in cfv_probe()\n\ndel_vqs() frees virtqueues, therefore cfv->vq_tx pointer should be checked\nfor NULL before calling it, not cfv->vdev. Also the current implementation\nis redundant because the pointer cfv->vdev is dereferenced before it is\nchecked for NULL.\n\nFix this by checking cfv->vq_tx for NULL instead of cfv->vdev before\ncalling del_vqs().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: caif_virtio: se corrige una comprobación incorrecta del puntero en cfv_probe() del_vqs() libera colas virtuales. Por lo tanto, se debe comprobar si el puntero cfv-&gt;vq_tx es nulo antes de llamarlo, no cfv-&gt;vdev. Además, la implementación actual es redundante porque se desreferencia el puntero cfv-&gt;vdev antes de comprobar si es nulo. Para solucionar esto, compruebe si el puntero cfv-&gt;vq_tx es nulo en lugar de cfv-&gt;vdev antes de llamar a del_vqs().","source":"nvd"}],"published":"2025-04-01T15:40:45.881Z","modified":"2026-06-17T08:44:34.383Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"0d2e1a2926b1839a4b74519e660739b2566c9386","fixed":"990fff6980d0c1693d60a812f58dbf93eab0473f","status":"affected"},{"type":"git","introduced":"0d2e1a2926b1839a4b74519e660739b2566c9386","fixed":"7b5fe58959822e6cfa884327cabba6be3b01883d","status":"affected"},{"type":"git","introduced":"0d2e1a2926b1839a4b74519e660739b2566c9386","fixed":"8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb","status":"affected"},{"type":"git","introduced":"0d2e1a2926b1839a4b74519e660739b2566c9386","fixed":"29e0cd296c87240278e2f7ea4cf3f496b60c03af","status":"affected"},{"type":"git","introduced":"0d2e1a2926b1839a4b74519e660739b2566c9386","fixed":"90d302619ee7ce5ed0c69c29c290bdccfde66418","status":"affected"},{"type":"git","introduced":"0d2e1a2926b1839a4b74519e660739b2566c9386","fixed":"56cddf71cce3b15b078e937fadab29962b6f6643","status":"affected"},{"type":"git","introduced":"0d2e1a2926b1839a4b74519e660739b2566c9386","fixed":"597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e","status":"affected"},{"type":"git","introduced":"0d2e1a2926b1839a4b74519e660739b2566c9386","fixed":"a466fd7e9fafd975949e5945e2f70c33a94b1a70","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.10","status":"unaffected"},{"type":"semver","introduced":"5.4.291","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.131","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.83","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.19","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.7","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.10","fixed":"5.4.291"},{"status":"affected","introduced":"5.5","fixed":"5.10.235"},{"status":"affected","introduced":"5.11","fixed":"5.15.179"},{"status":"affected","introduced":"5.16","fixed":"6.1.131"},{"status":"affected","introduced":"6.2","fixed":"6.6.83"},{"status":"affected","introduced":"6.7","fixed":"6.12.19"},{"status":"affected","introduced":"6.13","fixed":"6.13.7"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/990fff6980d0c1693d60a812f58dbf93eab0473f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7b5fe58959822e6cfa884327cabba6be3b01883d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29e0cd296c87240278e2f7ea4cf3f496b60c03af","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90d302619ee7ce5ed0c69c29c290bdccfde66418","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/56cddf71cce3b15b078e937fadab29962b6f6643","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a466fd7e9fafd975949e5945e2f70c33a94b1a70","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-01T19:24:28.456Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21904","url":"https://www.cve.org/CVERecord?id=CVE-2025-21904","licence":"CVE Terms of Use","modified":"2026-05-11T21:08:46.568Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21904","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21904","licence":"Public domain","modified":"2026-06-17T08:44:34.383Z"}],"updatedAt":"2026-11-25T22:58:55.878Z","epss":{"score":0.00233,"percentile":0.15195,"date":"2026-12-01T12:00:22.000Z"}}