Linux Kernel BPF Link Deallocation Vulnerability Leading to Use-After-Free

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's handling of BPF links and their associated programs. This issue arises because BPF links can be deallocated before their linked BPF programs are safely freed, creating a potential use-after-free scenario. The vulnerability is present in the BPF subsystem of the Linux kernel, where the management of BPF links and programs must carefully coordinate their lifetimes to avoid premature deallocation. The vulnerability affects several versions of the Linux kernel, although the specific versions are not detailed in the context.

Impact

Exploitation of this vulnerability can lead to a use-after-free condition, where a program attempts to access memory that has already been freed. This can potentially be exploited to execute arbitrary code or cause a denial-of-service condition by crashing the system.

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.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.