Bug 2396466 (CVE-2023-53415) - CVE-2023-53415 kernel: USB: dwc3: fix memory leak with using debugfs_lookup()
Summary: CVE-2023-53415 kernel: USB: dwc3: fix memory leak with using debugfs_lookup()
Keywords:
Status: NEW
Alias: CVE-2023-53415
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-18 15:02 UTC by OSIDB Bzimport
Modified: 2025-09-18 17:57 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-09-18 15:02:34 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.