CVEvulnerability
CVE-2025-21904
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-04-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
Description
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().
Affected configurations
• linux linux kernel (>= 3.10 < 5.4.291)
• linux linux kernel (>= 5.5 < 5.10.235)
• linux linux kernel (>= 5.11 < 5.15.179)
• linux linux kernel (>= 5.16 < 6.1.131)
• linux linux kernel (>= 6.2 < 6.6.83)
• linux linux kernel (>= 6.7 < 6.12.19)
• linux linux kernel (>= 6.13 < 6.13.7)
• linux linux kernel 6.14
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/29e0cd296c87240278e2f7ea4cf3f496b60c03af Patch
- https://git.kernel.org/stable/c/56cddf71cce3b15b078e937fadab29962b6f6643 Patch
- https://git.kernel.org/stable/c/597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e Patch
- https://git.kernel.org/stable/c/7b5fe58959822e6cfa884327cabba6be3b01883d Patch
- https://git.kernel.org/stable/c/8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb Patch
- https://git.kernel.org/stable/c/90d302619ee7ce5ed0c69c29c290bdccfde66418 Patch
- https://git.kernel.org/stable/c/990fff6980d0c1693d60a812f58dbf93eab0473f Patch
- https://git.kernel.org/stable/c/a466fd7e9fafd975949e5945e2f70c33a94b1a70 Patch
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org