CVE-2025-68282: Linux kernel · usb: gadget: udc: fix use-after-free in usb_gadget_state_work
Affects Linux kernelSource GCVE Database
Not known to be exploited · fixed in 5.15.0-1103.110~20.04.1 : update Linux kernel when convenient.
Data as of 26 Oct 2026, 17:16 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 10% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.15.0-1103.110~20.04.1, 5.15.0-1110.119~20.04.1, 5.15.0-1103.112~20.04.1 +74
Exploitation evidence
Disclosed: evidence found.
CVE published 16 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 25.10linuxpkg:deb/ubuntu/linux?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 25.10linux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Ubuntu 25.10linux-oraclepkg:deb/ubuntu/linux-oracle?arch=source&distro=questingOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch addressing this race condition is available and should be applied. The fix introduces synchronization mechanisms to prevent use-after-free during USB gadget teardown. Users should update to the fixed Linux kernel versions as provided by their distribution vendors. No additional mitigation is required beyond applying the official patch.
Description
A use-after-free vulnerability in the Linux kernel's USB gadget subsystem (usb_gadget_state_work) was resolved. The flaw arises from a race condition during gadget teardown, where concurrent events can schedule work after the gadget's memory is freed. This was fixed by introducing a teardown flag and a state_lock spinlock to prevent new work from being scheduled during cleanup. The issue affects certain Linux kernel versions prior to specific 5.15.0 builds. A patch is available and has been incorporated in updated kernel releases.
References
- ubuntu.com/security/CVE-2025-68282 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-68282 (opens in a new tab)
- git.kernel.org/linus/baeb66fbd4201d1c4325074e78b1f557dff89b5b (opens in a new tab)
- git.kernel.org/stable/c/10014310193cf6736c1aeb4105c5f4a0818d0c65 (opens in a new tab)
- git.kernel.org/stable/c/3b32caa73d135eea8fb9cabb45e9fc64c5a3ecb9 (opens in a new tab)
- git.kernel.org/stable/c/baeb66fbd4201d1c4325074e78b1f557dff89b5b (opens in a new tab)
- git.kernel.org/stable/c/c12a0c3ef815ddd67e47f9c819f9fe822fed5467 (opens in a new tab)
- git.kernel.org/stable/c/f02a412c0a18f02f0f91b0a3d9788315a721b7fd (opens in a new tab)
- ubuntu.com/security/notices/USN-8094-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8096-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8100-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8096-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8094-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8096-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-8096-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-8116-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-8095-4 (opens in a new tab)