CVE-2025-21838
CVE.org · Published
- Record status
- Published
- Identifier year (not publication year)
- 2025
- Source publication
- Source updated
- Imported by cveboard
- Source snapshot
- cve_2026-10-24_midnight_baseline ·
CNA source text (English)
usb: gadget: core: flush gadget workqueue after device removal
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: core: flush gadget workqueue after device removal device_del() can lead to new work being scheduled in gadget->work workqueue. This is observed, for example, with the dwc3 driver with the following call stack: device_del() gadget_unbind_driver() usb_gadget_disconnect_locked() dwc3_gadget_pullup() dwc3_gadget_soft_disconnect() usb_gadget_set_state() schedule_work(&gadget->work) Move flush_work() after device_del() to ensure the workqueue is cleaned up.
Scoped product and version facts
Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.
Exploitation unknown; this catalogue does not assess exploitation.
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
unaffected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 | affected | git | e3bc1a9a67ce33a2e761e6e7b7c2afc6cb9b7266 | Unavailable | None listed |
| 5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 | affected | git | 859cb45aefa6de823b2fa7f229fe6d9562c9f3b7 | Unavailable | None listed |
| 5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 | affected | git | f894448f3904d7ad66fecef8f01fe0172629e091 | Unavailable | None listed |
| 5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 | affected | git | 97695b5a1b5467a4f91194db12160f56da445dfe | Unavailable | None listed |
| 5702f75375aa9ecf8ad3431aef3fe6ce8c8dbd15 | affected | git | 399a45e5237ca14037120b1b895bd38a3b4492ea | Unavailable | None listed |
Linux
- Vendor
- Linux
- Product
- Linux
- Platforms
- Unknown
- Default status
affected
| Version (version) | Status (status) | Version scheme (versionType) | Exclusive end (lessThan) | Inclusive end (lessThanOrEqual) | Status changes (at → status) |
|---|---|---|---|---|---|
| 3.12 | affected | Unavailable | Unavailable | Unavailable | None listed |
| 0 | unaffected | semver | 3.12 | Unavailable | None listed |
| 6.1.130 | unaffected | semver | Unavailable | 6.1.* | None listed |
| 6.6.80 | unaffected | semver | Unavailable | 6.6.* | None listed |
| 6.12.16 | unaffected | semver | Unavailable | 6.12.* | None listed |
| 6.13.4 | unaffected | semver | Unavailable | 6.13.* | None listed |
| 6.14 | unaffected | original_commit_for_fix | Unavailable | * | None listed |