What’s Vulnerable › Vulnerabilities
CVE-2023-53412: USB: gadget: bcm63xx_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: bcm63xx_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/31de0b70ae5661a407e9d578bbc41de2d83ac25d
- https://git.kernel.org/stable/c/a91c99b1fe5c6f7e52fb932ad9e57ec7cfe913ec
- https://git.kernel.org/stable/c/b0a2663ecbe8f65cd3bab2b34dd90156ceb0dbb8
- https://git.kernel.org/stable/c/f30c7046dfa2748520a8045bb43ed2fbca0373b5
Get alerted when CVE-2023-53412 or the next vulnerability affects your stack