Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: usb: typec: qcom-pmic-typec: disable cc_debounce_dwork on stop cc_debounce_dwork is queued from the set_cc() and start_toggling() callbacks, which run from TCPM's kthread worker. port_stop() returns before tcpm_unregister_port() destroys that worker. Flushing the worker during unregister may therefore run a callback which queues the delayed work after port_stop() has returned. The delayed work can then run after devres has freed pmic_typec_port. Use disable_delayed_work_sync() in port_stop() to cancel a pending instance and prevent the TCPM callbacks from queueing another one. This issue was found by an in-house static analysis tool.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected a4422ff221429c600c3dc5d0394fb3738b89d040 before 4359b5f95c93a4658e08368fa6fab9d89eb98447; affected a4422ff221429c600c3dc5d0394fb3738b89d040 before c614d7c44ca7fb78867ba46b233acdb59287e8c8; affected a4422ff221429c600c3dc5d0394fb3738b89d040 before 1ab669c2b44e1040ddfab7cd7f717aad580d17aa; affected a4422ff221429c600c3dc5d0394fb3738b89d040 before 263f7d61a4201cde16849b2d016251806e7418be |
| Linux / Linux | affected 6.5; unaffected 0 before 6.5; 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.