USB: dwc2: shut down wakeup timer before freeing HCD state
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0b2ea59d66d046d5601ffc3e61dd09d3597c704e, Kernel 4333174ea52c863a50bb3e0a4726bf9f7cdf7524, Kernel 441be312fce927443eae2821f502344d953c38bb and 4 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =3.10, >=7359d482eb4d3967cc8be354405ae6be6eaf732c <0b2ea59d66d046d5601ffc3e61dd09d3597c704e, >=7359d482eb4d3967cc8be354405ae6be6eaf732c <4333174ea52c863a50bb3e0a4726bf9f7cdf7524, >=7359d482eb4d3967cc8be354405ae6be6eaf732c <441be312fce927443eae2821f502344d953c38bb, >=7359d482eb4d3967cc8be354405ae6be6eaf732c <79ba37dd38a321cb32a79332a3e3c68dd334dca9, >=7359d482eb4d3967cc8be354405ae6be6eaf732c <82cc242da6d621752718929e6a2fa6f9554ebffe, >=7359d482eb4d3967cc8be354405ae6be6eaf732c <f3d76baa5b902f681100447e9d185819c5c1316d, >=7359d482eb4d3967cc8be354405ae6be6eaf732c <fd772af9512cdecb83de34a461801533828e77fd | 0b2ea59d66d046d5601ffc3e61dd09d3597c704e, 4333174ea52c863a50bb3e0a4726bf9f7cdf7524, 441be312fce927443eae2821f502344d953c38bb, 79ba37dd38a321cb32a79332a3e3c68dd334dca9, 82cc242da6d621752718929e6a2fa6f9554ebffe, f3d76baa5b902f681100447e9d185819c5c1316d, fd772af9512cdecb83de34a461801533828e77fd |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket