usb: typec: qcom-pmic: init value of hdr_len/txbuf_len earlier
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 |
|
|
6.6.616.11.86.12In the Linux kernel, the following vulnerability has been resolved:
usb: typec: qcom-pmic: init value of hdr_len/txbuf_len earlier
If the read of USB_PDPHY_RX_ACKNOWLEDGE_REG failed, then hdr_len and txbuf_len are uninitialized. This commit stops to print uninitialized value and misleading/false data.
From the CVE record · Linux
The Linux kernel’s USB Type-C qcom-pmic code can print uninitialized header and transmit-buffer lengths if a read of USB_PDPHY_RX_ACKNOWLEDGE_REG fails, producing misleading data. The input does not describe an attacker action or specify whether network access, local access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes the affected USB Type-C qcom-pmic code; affected versions are not specified.