What’s Vulnerable › Vulnerabilities
CVE-2023-53407: USB: gadget: pxa27x_udc: fix memory leak with using debugfs_lookup()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-18 · updated 2026-06-17
- Weakness: CWE-401
Description
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.
Affected products
- Linux kernel: before 5.15.100; from 5.16 before 6.1.18; from 6.2 before 6.2.5 — fixed in 5.15.100, 6.1.18, 6.2.5
How to fix
Upgrade to a fixed version: Linux kernel 5.15.100, 6.1.18, 6.2.5. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/67c931a3f2f061bf457995fd21fff114325e0c30
- https://git.kernel.org/stable/c/7a6952fa0366d4408eb8695af1a0578c39ec718a
- https://git.kernel.org/stable/c/8da78a60f3323ce7aac589d49fb82f71a04bc835
- https://git.kernel.org/stable/c/b14d188d0d0b86e2180525aefd570dbb6ebd6aa9
Get alerted when CVE-2023-53407 or the next vulnerability affects your stack