[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025052038-CVE-2025-37986-198c@gregkh>
Date: Tue, 20 May 2025 19:07:39 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-37986: usb: typec: class: Invalidate USB device pointers on partner unregistration
From: Greg Kroah-Hartman <gregkh@...nel.org>
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-rc4 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
Powered by blists - more mailing lists