usb: typec: tcpm/tcpci_maxim: validate header NDO against RX_BYTE_CNT
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 6f413b559f86a2894188e082e389ff95ee428345 · < aa2f716327be1818e1cb156da8a2844804aaec2f| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s tcpm/tcpci_maxim driver did not check whether a received frame contained as many data objects as its header advertised. A broken or malicious connected port can send a CRC-valid, shorter frame, causing the driver to read uninitialized stack memory. No authentication or user interaction is described.
Engineers running Linux kernels with the tcpm/tcpci_maxim driver should check whether their kernel includes the fix; affected versions were not provided.