Linux Kernel BPF Request Socket Leak Vulnerability

Vulnerability

A vulnerability in the Linux kernel's BPF (Berkeley Packet Filter) implementation has been identified, specifically related to a request socket leak. This issue arises when a BPF program performs a socket lookup that inadvertently increases the reference count of a request socket. The program then returns the associated listening socket without properly decrementing the reference count of the request socket, leading to a memory leak. This vulnerability was reported by a customer in a Calico cloud environment.

Impact

Exploitation of this vulnerability causes a memory leak by improperly managing the reference counts of request sockets, which can lead to increased memory usage and potential exhaustion of available memory resources.

Remediation

The vulnerability has been addressed in the official Linux kernel repository. Users should upgrade to the latest version of the Linux kernel where this patch is included.

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

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.0
exploitability
5.3
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.