usb: typec: ucsi: glink: fix off-by-one in connector_status
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: ucsi: glink: fix off-by-one in connector_status
UCSI connector's indices start from 1 up to 3, PMIC_GLINK_MAX_PORTS. Correct the condition in the pmic_glink_ucsi_connector_status() callback, fixing Type-C orientation reporting for the third USB-C connector.
From the CVE record · Linux
An off-by-one condition in the Linux kernel’s UCSI GLINK connector-status callback affects the third USB-C connector. It can cause incorrect Type-C orientation reporting. The input does not describe an attacker action, access requirements, or user interaction.
Engineers running the Linux kernel with UCSI GLINK support should check their deployments; affected versions are not specified.