Skip to contentSkip to conversation

CVE-2023-52938: usb: typec: ucsi: Don't attempt to resume the ports before they exist

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Mar 27, 2025

lore
Share & tools
lore
#0 lore raw

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

usb: typec: ucsi: Don't attempt to resume the ports before they exist

This will fix null pointer dereference that was caused by the driver attempting to resume ports that were not yet registered.

The Linux kernel CVE team has assigned CVE-2023-52938 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.1.1 with commit 9222912924fcf56e2d166a503eddbdb5ffd2005f and fixed in 6.1.11 with commit fdd11d7136fd070b3a74d6d8799d9eac28a57fc5
	Issue introduced in 6.0.15 with commit 160416b397c362e37b590040a089604dd1f37de1

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-2023-52938

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/ucsi/ucsi.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/fdd11d7136fd070b3a74d6d8799d9eac28a57fc5
	https://git.kernel.org/stable/c/f82060da749c611ed427523b6d1605d87338aac1