NULL pointer dereference in Linux
CVE-2025-21669
In the Linux kernel, the following vulnerability has been resolved:
vsock/virtio: discard packets if the transport changes
If the socket has been de-assigned or assigned to another transport,
we must discard any packets received because they are not expected
and would cause issues when we access vsk->transport.
A possible scenario is described by Hyunwoo Kim in the attached link,
where after a first connect() interrupted by a signal, and a second
connect() failed, we can find `vsk->transport` at NULL, leading to a
NULL pointer dereference.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.002, 14.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Linux — versions c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, 5.5, 0
- Linux Kernel — versions 6.13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (fkie-cad/nvd-json-data-feeds, w4zu/Debian_security, xairy/linux-kernel-exploitation). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- git.kernel.org/stable/c/18a7fc371d1dbf8deff16c2dd9292bcc73f43040 (Patch)
- git.kernel.org/stable/c/6486915fa661584d70e8e7e4068c6c075c67dd6d (Patch)
- git.kernel.org/stable/c/88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee (Patch)
- git.kernel.org/stable/c/d88b249e14bd0ee1e46bbe4f456e22e01b8c68de (Patch)
- git.kernel.org/stable/c/677579b641af109613564460a4e3bdcb16850b61 (Patch)
- git.kernel.org/stable/c/2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1 (Patch)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html