CVE-2023-53407: USB: gadget: pxa27x_udc: fix memory leak with using debugfs_lookup()
In the Linux kernel, the following vulnerability has been resolved:
USB: gadget: pxa27x_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.
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel memory leak in the USB gadget pxa27x_udc driver. A local low-privileged user could potentially cause resource exhaustion over time, affecting system availability. The provided sources do not indicate remote exploitation, data theft, integrity impact, or active exploitation.
Executive priority
Treat as a moderate availability risk. It is not currently evidenced as actively exploited or remotely reachable, but kernel memory leaks can affect reliability on shared or locally accessible systems. Patch during the next normal kernel maintenance window, faster for multi-user or exposed appliance environments.
Technical view
The flaw is CWE-401: debugfs_lookup() was used without releasing the returned dentry with dput(). The kernel fix replaces that pattern with debugfs_lookup_and_remove(), which handles lookup and removal cleanup together. CVSS 3.1 is 5.5: local attack vector, low complexity, low privileges, no user interaction, high availability impact only.
Likely exposure
Exposure is most relevant to Linux systems running affected kernel versions and using or including the USB gadget pxa27x_udc code path. The bundle lists Linux kernel versions including 5.14, 5.15.100, 6.1.18, 6.2.5, and 6.3 as affected, but distro backports may change practical exposure.
Exploitation context
The source bundle marks KEV as false and provides no evidence of active exploitation. The CVSS vector indicates local, low-privileged access is required. The risk is denial of service through memory leakage over time, not confidentiality or integrity compromise.
Researcher notes
Do not assume exploitability beyond the CVSS local, low-privilege model. The public description is limited to a missing dput() after debugfs_lookup() in pxa27x_udc cleanup logic. Validation should focus on kernel lineage, backports, and whether the affected driver path is present.
Mitigation direction
Update to a vendor kernel containing the referenced stable fixes.
Check Linux distribution advisories for backported patches and fixed package versions.
Prioritize systems allowing untrusted local users or relevant USB gadget functionality.
Disable unused pxa27x_udc or USB gadget functionality only through vendor-supported configuration.
Monitor affected systems for memory pressure until patched.
Validation and detection
Inventory kernel versions across Linux assets.
Check whether distro kernels include the referenced upstream stable commits.
Confirm whether pxa27x_udc or relevant USB gadget code is built or loaded.
Verify patch status through vendor advisory or package changelog.
Track memory exhaustion alerts on systems awaiting remediation.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-401: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-401 · source CWE mapping
Missing Release of Memory after Effective Lifetime
Missing Release of Memory after Effective Lifetime represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.