CVE-2023-53415

USB: dwc3: fix memory leak with using debugfs_lookup()

Medium · published September 18, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
3.7
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

USB: dwc3: fix memory leak with using debugfs_lookup()

When calling debugfs_lookup() the result must have dput() called on it,

otherwise the memory will leak over time. To make things simpler, just

call debugfs_lookup_and_remove() instead which handles all of the logic

at once.

Note, the root dentry for the debugfs directory for the device needs to

be saved so we don't have to keep looking it up, which required a bit

more refactoring to properly create and remove it when needed.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00148 · 3.7th percentile
Published
2025-09-18T13:58Z
EPSS history
Timeline
  • 18 SEP 13:58Z
    USB: dwc3: fix memory leak with using debugfs_lookup()
    cvelistv5