Kernel memory exhaustion via raw_gadget reference leak
Published Oct 22, 2025 · Updated Oct 22, 2025
Memory leak in the raw_gadget driver in Linux allows local users to exhaust kernel memory when USB event queuing fails. The raw_ioctl_init path increments raw_dev->count before raw_queue_event succeeds, so raw_release misses dev_free after an error and retains allocated objects. Access to the Raw Gadget interface and an unavailable or busy USB device controller are required; repeated failures deplete kernel memory and interrupt service.
Summary
What happened
Memory leak in the raw_gadget driver in Linux allows local users to exhaust kernel memory when USB event queuing fails. The raw_ioctl_init path increments raw_dev->count before raw_queue_event succeeds, so raw_release misses dev_free after an error and retains allocated objects. Access to the Raw Gadget interface and an unavailable or busy USB device controller are required; repeated failures deplete kernel memory and interrupt service.
The record
- CVE
- CVE-2023-53693
- Published
- Oct 22, 2025
- Updated
- Oct 22, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-401, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 22, 2025CVE publishedPublication date reported by the CVE source.
- Oct 22, 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 <0f7a2b567197798da7bfa2252f4485c0ca6c6266
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <68e6287ac61dc22513cd39f02b9ac1fef28513e4
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <83e30f2bf86ef7c38fbd476ed81a88522b620628
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9934e5d07c0dc294169a7d52f6309f35cd6d7755
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <de77000c1923d7942f9b4f08447c8feeae1c0f33
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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.
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