usb: typec: ucsi: Handle incorrect num_connectors capability
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ c1b0bc2dabfa884dea49c02adaf3cd6b52b33d2f · < 132fe187e0d940f388f839fe2cde9b84106ad20d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: Handle incorrect num_connectors capability
The UCSI spec states that the num_connectors field is 7 bits, and the 8th bit is reserved and should be set to zero. Some buggy FW has been known to set this bit, and it can lead to a system not booting. Flag that the FW is not behaving correctly, and auto-fix the value so that the system boots correctly.
Found on Lenovo P1 G8 during Linux enablement program. The FW will be fixed, but seemed worth addressing in case it hit platforms that aren't officially Linux supported.
From the CVE record · Linux
The Linux kernel’s USB Type-C UCSI handling can misread a firmware-reported connector count when the reserved eighth bit is set, potentially preventing the system from booting. The input describes a buggy-firmware condition, not an attacker-controlled path; it provides no authentication or user-interaction requirements.
Engineers running Linux on systems with affected UCSI firmware should check their kernels; affected versions were not specified.