What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.177, 6.1.127, 6.12.11, 6.6.74. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21669 or the next vulnerability affects your stack