# CVE-2025-21669: vsock/virtio: discard packets if the transport changes

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 18% of CVEs (2026-11-30)
- Published: 2025-01-31T11:25:33.185Z
- Modified: 2026-10-15T01:02:55.148Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 18a7fc371d1dbf8deff16c2dd9292bcc73f43040; from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 6486915fa661584d70e8e7e4068c6c075c67dd6d; from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee; from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before d88b249e14bd0ee1e46bbe4f456e22e01b8c68de; from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 677579b641af109613564460a4e3bdcb16850b61; from c0cfa2d8a788fcf45df5bf4070ab2474c88d543a before 2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1; 5.5 (not affected: before 5.5; from 5.10.234 up to 5.10.*; from 5.15.177 up to 5.15.*; from 6.1.127 up to 6.1.*; from 6.6.74 up to 6.6.*; from 6.12.11 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.5 before 5.15.177; from 5.16 before 6.1.127; from 6.2 before 6.6.74; from 6.7 before 6.12.11; 6.13

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/18a7fc371d1dbf8deff16c2dd9292bcc73f43040> (patch)
- <https://git.kernel.org/stable/c/6486915fa661584d70e8e7e4068c6c075c67dd6d> (patch)
- <https://git.kernel.org/stable/c/88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee> (patch)
- <https://git.kernel.org/stable/c/d88b249e14bd0ee1e46bbe4f456e22e01b8c68de> (patch)
- <https://git.kernel.org/stable/c/677579b641af109613564460a4e3bdcb16850b61> (patch)
- <https://git.kernel.org/stable/c/2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-265688.html>

## Sources

- CVE List: [CVE-2025-21669](https://www.cve.org/CVERecord?id=CVE-2025-21669), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-21669](https://nvd.nist.gov/vuln/detail/CVE-2025-21669), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-21669 · Whole record: https://cve.day/CVE-2025-21669.json · Rebuilt by cve.day 2026-11-25T22:58:53.711Z
