Kernel crash via USB gadget teardown race
Published Dec 16, 2025 · Updated Dec 16, 2025
Use-after-free in the USB gadget UDC core in Linux allows local users to crash the kernel during gadget teardown. usb_gadget_set_state() can queue gadget->work after usb_del_gadget() has flushed pending work but before the gadget memory is freed, so usb_gadget_state_work() later dereferences freed state. Low-privileged local access and a concurrent gadget-state event are required; reported consequences are information disclosure and service interruption.
Summary
What happened
Use-after-free in the USB gadget UDC core in Linux allows local users to crash the kernel during gadget teardown. usb_gadget_set_state() can queue gadget->work after usb_del_gadget() has flushed pending work but before the gadget memory is freed, so usb_gadget_state_work() later dereferences freed state. Low-privileged local access and a concurrent gadget-state event are required; reported consequences are information disclosure and service interruption.
The record
- CVE
- CVE-2025-68282
- Published
- Dec 16, 2025
- Updated
- Dec 16, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-364, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 16, 2025CVE publishedPublication date reported by the CVE source.
- Dec 16, 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=3.12
- Affected versionversion=5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 <10014310193cf6736c1aeb4105c5f4a0818d0c65
- Affected versionversion=5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 <3b32caa73d135eea8fb9cabb45e9fc64c5a3ecb9
- Affected versionversion=5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 <baeb66fbd4201d1c4325074e78b1f557dff89b5b
- Affected versionversion=5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 <c12a0c3ef815ddd67e47f9c819f9fe822fed5467
- Affected versionversion=5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 <f02a412c0a18f02f0f91b0a3d9788315a721b7fd
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.
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