Linux Kernel Tracing Map Element Memory Management Vulnerability

Vulnerability

A vulnerability exists in the Linux kernel's handling of tracing map elements, specifically in the memory management functions. When the element allocation function fails, the corresponding free function should not be called. However, the current implementation incorrectly attempts to free memory for elements that were not successfully allocated, which can lead to memory management issues.

Impact

This vulnerability can cause improper memory handling, potentially leading to memory leaks or other memory-related issues.

Reproduction

The vulnerability can be reproduced by triggering a failure in the 'tracing_map_elt_alloc' function, which allocates elements for tracing maps. When this allocation fails, the 'elt_free' function is incorrectly called to free the element, even though it was never successfully allocated. This can be observed by monitoring the memory management functions during the allocation process.

Remediation

Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability.

Added: Jul 19, 2026, 4:36 PM
Updated: Jul 19, 2026, 4:36 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
9.9
threat
4.8
urgency
2.9
incentive
0.0

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