CVE-2026-63959: usb: typec: tcpm/tcpci_maxim: validate header NDO against RX_BYTE_CNT
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: tcpm/tcpci_maxim: validate header NDO against RX_BYTE_CNT
A broken/malicious port can transmit a CRC-valid frame whose header advertises up to seven data objects but whose body carries fewer than that. Check for this, and rightfully reject the message, instead of reading from uninitialized stack memory.
The Linux kernel CVE team has assigned CVE-2026-63959 to this issue.
Affected and fixed versions
===========================
Fixed in 6.6.143 with commit 0af00f1459f5dd757f0d392f8caa38039561ac62 Fixed in 6.12.93 with commit dc17721d42e6d89f63572e63add8306a0e15eb3c Fixed in 6.18.35 with commit 9b496e3371c04f0a03b7faa5d2442536d00e3998 Fixed in 7.0.12 with commit c4ab8e2d4432abb646c5c0687f8dab173da901f9 Fixed in 7.1 with commit aa2f716327be1818e1cb156da8a2844804aaec2f
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-63959
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/tcpci_maxim_core.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/0af00f1459f5dd757f0d392f8caa38039561ac62 https://git.kernel.org/stable/c/dc17721d42e6d89f63572e63add8306a0e15eb3c https://git.kernel.org/stable/c/9b496e3371c04f0a03b7faa5d2442536d00e3998 https://git.kernel.org/stable/c/c4ab8e2d4432abb646c5c0687f8dab173da901f9 https://git.kernel.org/stable/c/aa2f716327be1818e1cb156da8a2844804aaec2f