CVE-2025-21904

MEDIUM EPSS 8.3%
Published Apr 1, 20251y ago · Modified Jun 17, 20261w ago
5.5 CVSS 3.1
Medium
Find Similar
Published Apr 1, 2025 1y ago
Last Modified Jun 17, 2026 1w ago

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

CVSS Details

Base Score
5.5
Exploitability
1.8
Impact
3.6
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High

Threat Intelligence

EPSS Exploit Probability
8.3% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-476 NULL Pointer Dereference Memory Safety

Affected Products 12

VendorProductVersionRange
linuxlinux_kernel*≥3.10  –  <5.4.291
linuxlinux_kernel*≥5.5  –  <5.10.235
linuxlinux_kernel*≥5.11  –  <5.15.179
linuxlinux_kernel*≥5.16  –  <6.1.131
linuxlinux_kernel*≥6.2  –  <6.6.83
linuxlinux_kernel*≥6.7  –  <6.12.19
linuxlinux_kernel*≥6.13  –  <6.13.7
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any
linuxlinux_kernel6.14any

References 10

  • git.kernel.org https://git.kernel.org/stable/c/29e0cd296c87240278e2f7ea4cf3f496b60c03af
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/56cddf71cce3b15b078e937fadab29962b6f6643
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7b5fe58959822e6cfa884327cabba6be3b01883d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/90d302619ee7ce5ed0c69c29c290bdccfde66418
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/990fff6980d0c1693d60a812f58dbf93eab0473f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a466fd7e9fafd975949e5945e2f70c33a94b1a70
    Patch
  • lists.debian.org 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

Remediation

  • git.kernel.org https://git.kernel.org/stable/c/29e0cd296c87240278e2f7ea4cf3f496b60c03af
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/56cddf71cce3b15b078e937fadab29962b6f6643
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/597c27e5f04cb50e56cc9aeda75d3e42b6b89c3e
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/7b5fe58959822e6cfa884327cabba6be3b01883d
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/8e4e08ca4cc634b337bb74bc9a70758fdeda0bcb
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/90d302619ee7ce5ed0c69c29c290bdccfde66418
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/990fff6980d0c1693d60a812f58dbf93eab0473f
    Patch
  • git.kernel.org https://git.kernel.org/stable/c/a466fd7e9fafd975949e5945e2f70c33a94b1a70
    Patch