USB: dwc2: shut down wakeup timer before freeing HCD state
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.113, 6.18.56, 7.2.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: USB: dwc2: shut down wakeup timer before freeing HCD state dwc2_wakeup_detected() accesses the DWC2 host state and can rearm the wakeup timer. dwc2_hcd_free() currently deletes the timer only after freeing host-owned state, and timer_delete() does not synchronize a callback or prevent it from being queued again. Stop and shut down the timer in dwc2_hcd_release(), before the HCD resources are freed. This covers both the HCD initialization error path and normal HCD removal.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 7359d482eb4d3967cc8be354405ae6be6eaf732c · fixed in 82cc242da6d621752718929e6a2fa6f9554ebffe; From 7359d482eb4d3967cc8be354405ae6be6eaf732c · fixed in 441be312fce927443eae2821f502344d953c38bb; From 7359d482eb4d3967cc8be354405ae6be6eaf732c · fixed in 4333174ea52c863a50bb3e0a4726bf9f7cdf7524; From 7359d482eb4d3967cc8be354405ae6be6eaf732c · fixed in 79ba37dd38a321cb32a79332a3e3c68dd334dca9; From 7359d482eb4d3967cc8be354405ae6be6eaf732c · fixed in fd772af9512cdecb83de34a461801533828e77fd
- Linux Linux
3.10
- KernelLinux
From 3.10.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.56; From 6.19.0 · fixed in 7.2.10