CVE-2023-53405

USB: gadget: gr_udc: fix memory leak with using debugfs_lookup()

MEDIUM
5.5
CVSS Score
Published: September 18, 2025 at 01:58 PM UTC
Updated: June 17, 2026 at 06:45 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: USB: gadget: gr_udc: 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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 5.15.1005.14 ≤ v < 5.15.1005.14 ≤ v < 6.1.185.14 ≤ v < 6.2.55.14 ≤ v < 6.35.16 ≤ v < 6.1.186.2 ≤ v < 6.2.5425de3182c91b467f1fc8a0de841d74d866719ca5.14
Vendor states this is fixed in 0933eca15f5223b5c2412080c8c3de8758465c78 (fixed)
Vendor states this is fixed in 30f9ba2396a1130eef7f2d3ee7ee8037b7c25be9 (fixed)
Vendor states this is fixed in 73f4451368663ad28daa67980c6dd11d83b303eb (fixed)
Vendor states this is fixed in be21a66e17ee0ab5f3513b6c86659e60cec5e981 (fixed)
Vendor states this is fixed in 5.14 (unaffected)
Vendor states this is fixed in 5.15.100 (unaffected)
Vendor states this is fixed in 6.1.18 (unaffected)
Vendor states this is fixed in 6.2.5 (unaffected)
Vendor states this is fixed in 6.3 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card