Linux Kernel vsock/Virtio Transport Change Handling Vulnerability Leading to NULL Pointer Dereference

Vulnerability

A vulnerability in the Linux kernel's vsock/virtio implementation can lead to a NULL pointer dereference. This issue occurs when a socket is reassigned to a different transport or de-assigned, causing any received packets to be discarded. The problem arises because the vsk->transport field can become NULL, particularly after a connect() call is interrupted by a signal, followed by a failed second connect() attempt. Accessing a NULL transport can result in a NULL pointer dereference, causing a crash or unintended behavior.

Impact

Exploitation of this vulnerability leads to a NULL pointer dereference, causing a crash or potential denial of service.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.