CVE-2025-21669

vsock/virtio: discard packets if the transport changes

Medium · published January 31, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
13.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00234 · 13.5th percentile
Published
2025-01-31T11:25Z
EPSS history
Timeline
  • 31 JAN 11:25Z
    vsock/virtio: discard packets if the transport changes
    cvelistv5