Linux Kernel vsock/BPF NULL Pointer Dereference Vulnerability

Vulnerability

A vulnerability in the Linux kernel's vsock/BPF implementation can lead to a NULL pointer dereference. This issue occurs when a socket's transport is not assigned, such as after a failed connection attempt. The vulnerability was identified in kernel version 6.13.0-rc2 and can be exploited by calling core functions that require an assigned transport, leading to a kernel crash.

Impact

Exploitation of this vulnerability causes a kernel NULL pointer dereference, leading to a crash of the kernel and potentially causing a denial of service.

Reproduction

The vulnerability can be reproduced by creating a socket and attempting to connect it to a transport that is not available, such as after a failed connection. This leaves the transport pointer as NULL. When a function that checks for data in the socket is called, it will attempt to access the NULL pointer, causing a kernel crash.

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.7
remediation
0.0
relevance
0.0
threat
4.8
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.