Linux Kernel Kprobe Memory Leak Vulnerability

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's kprobe tracing functionality. The issue arises in the 'test_gen_kprobe_cmd()' and 'test_gen_kretprobe_cmd()' functions, where a buffer allocated memory is not properly freed in the absence of a failure, leading to a memory leak. The vulnerability has been addressed by moving the memory deallocation to a common path, ensuring that the buffer is freed regardless of the function's execution outcome.

Impact

Exploitation of this vulnerability leads to a memory leak, where allocated memory is not properly released, potentially causing increased memory usage and degradation of system performance over time.

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