Local denial of service via debugfs dentry leak
Published Sep 18, 2025 · Updated Sep 18, 2025
Memory leak in Linux's gr_udc USB gadget driver allows local users to exhaust kernel memory by repeatedly removing affected devices. The gr_dfs_delete() cleanup path passes a dentry returned by debugfs_lookup() to debugfs_remove() without releasing its reference with dput(). Exploitation requires local low-privilege access and an active GRUSBDC controller with gadget debugfs enabled; repeated removal can exhaust memory and interrupt the system.
Summary
What happened
Memory leak in Linux's gr_udc USB gadget driver allows local users to exhaust kernel memory by repeatedly removing affected devices. The gr_dfs_delete() cleanup path passes a dentry returned by debugfs_lookup() to debugfs_remove() without releasing its reference with dput(). Exploitation requires local low-privilege access and an active GRUSBDC controller with gadget debugfs enabled; repeated removal can exhaust memory and interrupt the system.
The record
- CVE
- CVE-2023-53405
- Published
- Sep 18, 2025
- Updated
- Sep 18, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 18, 2025CVE publishedPublication date reported by the CVE source.
- Sep 18, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <0933eca15f5223b5c2412080c8c3de8758465c78
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <30f9ba2396a1130eef7f2d3ee7ee8037b7c25be9
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <73f4451368663ad28daa67980c6dd11d83b303eb
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <be21a66e17ee0ab5f3513b6c86659e60cec5e981
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo