CVE-2025-21669
JSON

7.8high

vsock/virtio: discard packets if the transport changes

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.33% (higher than 18% of CVEs)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelfrom 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.13NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel Linux, se ha resuelto la siguiente vulnerabilidad: vsock/virtio: descartar paquetes si cambia el transporte Si el socket ha sido desasignado o asignado a otro transporte, debemos descartar cualquier paquete recibido porque no son los esperados y causarían problemas cuando accedamos a vsk->transport. Un posible escenario es descrito por Hyunwoo Kim en el enlace adjunto, donde después de un primer connect() interrumpido por una señal, y un segundo connect() fallido, podemos encontrar `vsk->transport` en NULL, lo que lleva a una desreferencia de puntero NULL.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21669 changed 2026-10-15CVE Terms of Use
NVDCVE-2025-21669 changed 2026-07-30Public domain