CVE-2025-21904

caif_virtio: fix wrong pointer check in cfv_probe()

Medium · published April 1, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
12.6
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00226 · 12.6th percentile
Published
2025-04-01T15:40Z
EPSS history
Timeline
  • 01 APR 15:40Z
    caif_virtio: fix wrong pointer check in cfv_probe()
    cvelistv5