| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-37986: usb: typec: class: Invalidate USB device pointers on partner unregistration |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| usb: typec: class: Invalidate USB device pointers on partner unregistration |
| |
| To avoid using invalid USB device pointers after a Type-C partner |
| disconnects, this patch clears the pointers upon partner unregistration. |
| This ensures a clean state for future connections. |
| |
| The Linux kernel CVE team has assigned CVE-2025-37986 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.7 with commit 59de2a56d127890cc610f3896d5fc31887c54ac2 and fixed in 6.12.26 with commit 40966fc9939e85677fdb489dfddfa205baaad03b |
| Issue introduced in 6.7 with commit 59de2a56d127890cc610f3896d5fc31887c54ac2 and fixed in 6.14.5 with commit 74911338f47c13d1b9470fc50718182bffad42e2 |
| Issue introduced in 6.7 with commit 59de2a56d127890cc610f3896d5fc31887c54ac2 and fixed in 6.15 with commit 66e1a887273c6b89f09bc11a40d0a71d5a081a8e |
| |
| 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-2025-37986 |
| 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/class.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/40966fc9939e85677fdb489dfddfa205baaad03b |
| https://git.kernel.org/stable/c/74911338f47c13d1b9470fc50718182bffad42e2 |
| https://git.kernel.org/stable/c/66e1a887273c6b89f09bc11a40d0a71d5a081a8e |