usb: typec: ucsi: Limit read size on v1.2
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: Limit read size on v1.2
Between UCSI 1.2 and UCSI 2.0, the size of the MESSAGE_IN region was increased from 16 to 256. In order to avoid overflowing reads for older systems, add a mechanism to use the read UCSI version to truncate read sizes on UCSI v1.2.
From the CVE record · Linux
The Linux kernel’s USB Type-C UCSI code can read beyond the 16-byte MESSAGE_IN region on systems using UCSI 1.2. The input does not specify how an attacker could trigger this issue, whether authentication or user interaction is required, or what further impact it could have.
Engineers running the Linux kernel on systems using UCSI 1.2 should check their systems; affected kernel versions are not specified.