CVE-2025-21904

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-21904
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-21904.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-21904
Downstream
Related
Published
2025-04-01T16:15:20Z
Modified
2025-08-09T19:01:27Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

caifvirtio: fix wrong pointer check in cfvprobe()

delvqs() frees virtqueues, therefore cfv->vqtx 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->vqtx for NULL instead of cfv->vdev before calling delvqs().

References

Affected packages