usb: typec: tcpm: validate VDO count in Discover Identity ACK handlers
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f0690a25a140b853b1842fa80faf828601bb47e8 · < 8fbc349e8383125dd2d8de1c1e926279d398ab17| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
usb: typec: tcpm: validate VDO count in Discover Identity ACK handlers
Properly validate the count passed from a device when calling svdm_consume_identity() or svdm_consume_identity_sop_prime() as the device-controlled value could index off of the static arrays, which could leak data.
From the CVE record · Linux
The Linux kernel’s USB Type-C TCPM Discover Identity ACK handlers do not properly validate a device-supplied VDO count. A connected device could provide a count that indexes beyond static arrays and leaks data. The input does not specify authentication requirements.
Engineers running the Linux kernel should check their deployments; affected versions were not provided.