Linux
usb: typec: qcom-pmic-typec: disable cc_debounce_dwork on stop
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= a4422ff221429c600c3dc5d0394fb3738b89d040, < 4359b5f95c93a4658e08368fa6fab9d89eb98447
- >= a4422ff221429c600c3dc5d0394fb3738b89d040, < c614d7c44ca7fb78867ba46b233acdb59287e8c8
- >= a4422ff221429c600c3dc5d0394fb3738b89d040, < 1ab669c2b44e1040ddfab7cd7f717aad580d17aa
- >= a4422ff221429c600c3dc5d0394fb3738b89d040, < 263f7d61a4201cde16849b2d016251806e7418be
Fixed in 4359b5f95c93a4658e08368fa6fab9d89eb98447, c614d7c44ca7fb78867ba46b233acdb59287e8c8, 1ab669c2b44e1040ddfab7cd7f717aad580d17aa, 263f7d61a4201cde16849b2d016251806e7418be
- 6.5
Fixed in 0, 6.12.110, 6.18.51, 7.2.5, 7.3
Mitigation
Upgrade Linux to 4359b5f95c93a4658e08368fa6fab9d89eb98447 or c614d7c44ca7fb78867ba46b233acdb59287e8c8 or 1ab669c2b44e1040ddfab7cd7f717aad580d17aa or 263f7d61a4201cde16849b2d016251806e7418be or later.
Upgrade Linux to 0 or 6.12.110 or 6.18.51 or 7.2.5 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.