Kernel panic via stale cancelled request
Published Feb 26, 2025 · Updated May 23, 2026
Race condition in the Linux kernel DWC3 gadget driver allows local users to trigger a kernel panic during concurrent request cleanup. dwc3_gadget_ep_cleanup_cancelled_requests() caches the next cancelled_list entry, but gadget giveback drops the DWC3 lock and lets pullup disable remove that entry before cleanup resumes. Triggering the crash requires local low-privileged access, a DWC3 gadget configuration, concurrent UDC unbind or pullup disable, and list debugging enabled.
Summary
What happened
Race condition in the Linux kernel DWC3 gadget driver allows local users to trigger a kernel panic during concurrent request cleanup. dwc3_gadget_ep_cleanup_cancelled_requests() caches the next cancelled_list entry, but gadget giveback drops the DWC3 lock and lets pullup disable remove that entry before cleanup resumes. Triggering the crash requires local low-privileged access, a DWC3 gadget configuration, concurrent UDC unbind or pullup disable, and list debugging enabled.
The record
- CVE
- CVE-2022-49398
- Published
- Feb 26, 2025
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 26, 2025CVE publishedPublication date reported by the CVE source.
- May 23, 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=4.19.57 <4.20
- Affected versionversion=5.0
- Affected versionversion=d4f1afe5e896c18ae01099a85dab5e1a198bd2a8 <1c6e5dc3b639c96e6839a8d1b8e951923fdfd34a
- Affected versionversion=d4f1afe5e896c18ae01099a85dab5e1a198bd2a8 <2424307cdf421ac72075a1384eae4e4199ab6457
- Affected versionversion=d4f1afe5e896c18ae01099a85dab5e1a198bd2a8 <26a7e6832afe9d9a991cfd9015177f083cf959cc
- Affected versionversion=d4f1afe5e896c18ae01099a85dab5e1a198bd2a8 <bf594d1d0c1d7b895954018043536ffd327844f9
- Affected versionversion=d7ff2e3ff0e09d57b43014fe26b13bb3c9677254
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