Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: usb: typec: qcom-pmic: cancel reset_work on stop pdphy_stop() disables IRQs but leaves reset_work pending. If the IRQ handler schedules it just before disable_irq(), the work runs after remove() frees the struct via devm. Call cancel_work_sync() after disabling IRQs to close the window. This issue was found by an in-house static analysis tool.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected a4422ff221429c600c3dc5d0394fb3738b89d040 before 0b69b166852dbf1f9532b22bd49f502e5970eb95; affected a4422ff221429c600c3dc5d0394fb3738b89d040 before b9a7eed472edbfa8dec0fdeafd5e796550a8a8b7; affected a4422ff221429c600c3dc5d0394fb3738b89d040 before d4e00a1eb39174e25ef759b8fb1111bba8e87b1e; affected a4422ff221429c600c3dc5d0394fb3738b89d040 before 52d556f08547733948cc40b8b11e6b68dccee7b2; affected a4422ff221429c600c3dc5d0394fb3738b89d040 before 7b0df6efd143f8085bdb68778a013a46f1349913 |
| Linux / Linux | affected 6.5; unaffected 0 before 6.5; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.51 through 6.18.*; unaffected 7.2.5 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/0b69b166852dbf1f9532b22bd49f502e5970eb95
- https://git.kernel.org/stable/c/b9a7eed472edbfa8dec0fdeafd5e796550a8a8b7
- https://git.kernel.org/stable/c/d4e00a1eb39174e25ef759b8fb1111bba8e87b1e
- https://git.kernel.org/stable/c/52d556f08547733948cc40b8b11e6b68dccee7b2
- https://git.kernel.org/stable/c/7b0df6efd143f8085bdb68778a013a46f1349913