Local system crash via UDC lifetime race
Published Jul 25, 2026 · Updated Jul 25, 2026
Use-after-free in the Linux Kernel USB gadget UDC allows local users to crash the system through concurrent configfs and mode-switch operations. The race lets usb_del_gadget() free the udc structure while gadget_match_driver() still dereferences it, producing a NULL pointer dereference. Low-privilege local access capable of driving configfs alongside a USB mode switch is required, and the documented consequence is a kernel crash.
Summary
What happened
Use-after-free in the Linux Kernel USB gadget UDC allows local users to crash the system through concurrent configfs and mode-switch operations. The race lets usb_del_gadget() free the udc structure while gadget_match_driver() still dereferences it, producing a NULL pointer dereference. Low-privilege local access capable of driving configfs alongside a USB mode switch is required, and the documented consequence is a kernel crash.
The record
- CVE
- CVE-2026-64346
- Published
- Jul 25, 2026
- Updated
- Jul 25, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 25, 2026CVE publishedPublication date reported by the CVE source.
- Jul 25, 2026Record 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=0 <5.15.212
- Affected versionversion=0 <6.1.178
- Affected versionversion=0 <6.12.96
- Affected versionversion=0 <6.18.39
- Affected versionversion=0 <6.6.145
- Affected versionversion=0 <7.1.4
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <50eeb8e8a4f389efc91b93cff14a683e714ec194
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <54fa390aae393eb130f307a85562e3001cc39a52
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <67e511d2989eb1c8c588b599ce2fcc6bb8e6f7ea
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7a5214dae906d9f58e07bc4995e8181ee74439f4
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <b52476a83d9e12df00765359d728a875b128bef1
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d026f71df141c9b064ff32a78af5391a31ef75c2
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f845852a5a8914277031f47d8de0f350fef52405
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