CVE-2026-90027: usb: typec: qcom-pmic-typec: disable cc_debounce_dwork on stop
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-90027 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.5 with commit a4422ff221429c600c3dc5d0394fb3738b89d040 and fixed in 6.12.110 with commit 4359b5f95c93a4658e08368fa6fab9d89eb98447 Issue introduced in 6.5 with commit a4422ff221429c600c3dc5d0394fb3738b89d040 and fixed in 6.18.51 with commit c614d7c44ca7fb78867ba46b233acdb59287e8c8 Issue introduced in 6.5 with commit a4422ff221429c600c3dc5d0394fb3738b89d040 and fixed in 7.2.5 with commit 1ab669c2b44e1040ddfab7cd7f717aad580d17aa Issue introduced in 6.5 with commit a4422ff221429c600c3dc5d0394fb3738b89d040 and fixed in 7.3-rc2 with commit 263f7d61a4201cde16849b2d016251806e7418be
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-90027
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/4359b5f95c93a4658e08368fa6fab9d89eb98447 https://git.kernel.org/stable/c/c614d7c44ca7fb78867ba46b233acdb59287e8c8 https://git.kernel.org/stable/c/1ab669c2b44e1040ddfab7cd7f717aad580d17aa https://git.kernel.org/stable/c/263f7d61a4201cde16849b2d016251806e7418be