Linux Kernel Memory Leak Vulnerability in Debugfs Lookup Handling

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's handling of debugfs_lookup() within the time/debug subsystem. When debugfs_lookup() is called, the returned result must be released with dput() to prevent memory leakage over time. The vulnerability exists because this requirement was not met, leading to a gradual memory leak. The issue has been addressed by modifying the code to use debugfs_lookup_and_remove(), which automatically manages the necessary cleanup, thereby eliminating the memory leak.

Impact

The vulnerability causes a memory leak, which can accumulate over time and potentially lead to increased memory usage or exhaustion.

Reproduction

The vulnerability can be reproduced by calling debugfs_lookup() without properly releasing the result using dput(). This oversight creates a memory leak that persists over time. The issue can be observed in the time/debug subsystem of the Linux kernel.

Remediation

Users can update to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.

Added: Sep 18, 2025, 2:42 PM
Updated: Sep 18, 2025, 2:42 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
0.5
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.