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.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-19da2dac",
"target": {
"function": "virtio_transport_recv_pkt",
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Function",
"digest": {
"length": 1893.0,
"function_hash": "171015207518547933329996568085548151098"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@677579b641af109613564460a4e3bdcb16850b61",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-2f618510",
"target": {
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"266576001842006846885920714708964293337",
"36860244015146829024306087059268237737",
"193186178464648666697841770025094631243",
"36488081831961766232843345212249699005"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@677579b641af109613564460a4e3bdcb16850b61",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-34b79486",
"target": {
"function": "virtio_transport_recv_pkt",
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Function",
"digest": {
"length": 1893.0,
"function_hash": "171015207518547933329996568085548151098"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-4f614393",
"target": {
"function": "virtio_transport_recv_pkt",
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Function",
"digest": {
"length": 1893.0,
"function_hash": "171015207518547933329996568085548151098"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@88244163bc7e7b0ce9dd7bf4c8a563b41525c3ee",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-576b63e7",
"target": {
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"266576001842006846885920714708964293337",
"36860244015146829024306087059268237737",
"193186178464648666697841770025094631243",
"36488081831961766232843345212249699005"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2cb7c756f605ec02ffe562fb26828e4bcc5fdfc1",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-5e0cb283",
"target": {
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"266576001842006846885920714708964293337",
"36860244015146829024306087059268237737",
"193186178464648666697841770025094631243",
"36488081831961766232843345212249699005"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18a7fc371d1dbf8deff16c2dd9292bcc73f43040",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-5f94f9bc",
"target": {
"function": "virtio_transport_recv_pkt",
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Function",
"digest": {
"length": 1710.0,
"function_hash": "248996383156972364028502033791099671566"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@18a7fc371d1dbf8deff16c2dd9292bcc73f43040",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-77230605",
"target": {
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"266576001842006846885920714708964293337",
"317618831754057721423965808303350138480",
"87021391493264565518209249901608942414",
"139147336359023275376672453864618830060"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6486915fa661584d70e8e7e4068c6c075c67dd6d",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-9930501a",
"target": {
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"266576001842006846885920714708964293337",
"317618831754057721423965808303350138480",
"87021391493264565518209249901608942414",
"139147336359023275376672453864618830060"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d88b249e14bd0ee1e46bbe4f456e22e01b8c68de",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-b25cabd5",
"target": {
"function": "virtio_transport_recv_pkt",
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Function",
"digest": {
"length": 1893.0,
"function_hash": "171015207518547933329996568085548151098"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6486915fa661584d70e8e7e4068c6c075c67dd6d",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-d8e7a194",
"target": {
"function": "virtio_transport_recv_pkt",
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Function",
"digest": {
"length": 1835.0,
"function_hash": "22707730941255664148693998572505516412"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d88b249e14bd0ee1e46bbe4f456e22e01b8c68de",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2025-21669-dba5962b",
"target": {
"file": "net/vmw_vsock/virtio_transport_common.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"266576001842006846885920714708964293337",
"36860244015146829024306087059268237737",
"193186178464648666697841770025094631243",
"36488081831961766232843345212249699005"
]
}
}
]