Bug 2356653 (CVE-2025-21904) - CVE-2025-21904 kernel: caif_virtio: fix wrong pointer check in cfv_probe()
Summary: CVE-2025-21904 kernel: caif_virtio: fix wrong pointer check in cfv_probe()
Keywords:
Status: NEW
Alias: CVE-2025-21904
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-04-01 16:04 UTC by OSIDB Bzimport
Modified: 2025-04-02 04:51 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-04-01 16:04:34 UTC
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().


Note You need to log in before you can comment on or make changes to this bug.