Linux Kernel USB ULPI Debugfs Memory Leak Vulnerability

Vulnerability

A memory leak vulnerability has been identified in the Linux kernel's USB ULPI (UTMI+ Low Pin Count) driver. The issue arises when the function 'debugfs_lookup()' is called without subsequently releasing the reference with 'dput()'. This oversight can lead to a gradual accumulation of unreleased memory. The vulnerability affects the stable versions of the Linux kernel.

Impact

The vulnerability causes a memory leak, where allocated memory is not properly released, potentially leading to increased memory usage over time and causing performance degradation or exhaustion of system resources.

Reproduction

The vulnerability can be reproduced by loading a USB ULPI driver that uses 'debugfs_lookup()' to access debugfs entries. If the retrieved entry is not properly released with 'dput()', the memory leak will occur. This can be observed by monitoring the system's memory usage over time, which will show an increase due to the unreleased references.

Remediation

The vulnerability has been addressed by modifying the ULPI driver to use 'debugfs_lookup_and_remove()', which automatically handles the reference management and prevents the memory leak. Users should upgrade to the patched version of the Linux kernel available in the Linux kernel stable tree.

Added: Sep 18, 2025, 2:33 PM
Updated: Sep 18, 2025, 2:33 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.