{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21904","id":"CVE-2025-21904","title":"caif_virtio: fix wrong pointer check in cfv_probe()","description":"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 N","descriptionLong":"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().","published":"2025-04-01T15:40:45.881Z","updated":"2026-10-28T02:31:02.897142533Z","reserved":"2024-12-29T08:45:45.785Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0d2e1a2926b1839a4b74519e660739b2566c9386","lessThan":"990fff6980d0c1693d60a812f58dbf93eab0473f","status":"affected","versionType":"git"},{"version":"0d2e1a2926b1839a4b74519e660739b2566c9386","lessThan":"7b5fe58959822e6cfa884327cabba6be3b01883d","status":"affected","versionType":"git"},{"version":"0d2e1a2926b1839a4b74519e660739b2566c9386","lessThan":"8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb","status":"affected","versionType":"git"},{"version":"0d2e1a2926b1839a4b74519e660739b2566c9386","lessThan":"29e0cd296c87240278e2f7ea4cf3f496b60c03af","status":"affected","versionType":"git"},{"version":"0d2e1a2926b1839a4b74519e660739b2566c9386","lessThan":"90d302619ee7ce5ed0c69c29c290bdccfde66418","status":"affected","versionType":"git"},{"version":"0d2e1a2926b1839a4b74519e660739b2566c9386","lessThan":"56cddf71cce3b15b078e937fadab29962b6f6643","status":"affected","versionType":"git"},{"version":"0d2e1a2926b1839a4b74519e660739b2566c9386","lessThan":"597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e","status":"affected","versionType":"git"},{"version":"0d2e1a2926b1839a4b74519e660739b2566c9386","lessThan":"a466fd7e9fafd975949e5945e2f70c33a94b1a70","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.10","status":"affected"},{"version":"0","lessThan":"3.10","status":"unaffected","versionType":"semver"},{"version":"5.4.291","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.235","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.179","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.131","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.83","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.19","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13.7","lessThanOrEqual":"6.13.*","status":"unaffected","versionType":"semver"},{"version":"6.14","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/990fff6980d0c1693d60a812f58dbf93eab0473f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7b5fe58959822e6cfa884327cabba6be3b01883d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/29e0cd296c87240278e2f7ea4cf3f496b60c03af","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/90d302619ee7ce5ed0c69c29c290bdccfde66418","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/56cddf71cce3b15b078e937fadab29962b6f6643","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a466fd7e9fafd975949e5945e2f70c33a94b1a70","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21904.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21904","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00233,"epssPercentile":0.14362,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21904","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21904","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21904","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-21904","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}