soc: qcom: pmic_glink_altmode: fix port sanity check
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.156.7.36.8In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: pmic_glink_altmode: fix port sanity check
The PMIC GLINK altmode driver currently supports at most two ports.
Fix the incomplete port sanity check on notifications to avoid accessing and corrupting memory beyond the port array if we ever get a notification for an unsupported port.
From the CVE record · Linux
The Linux kernel PMIC GLINK altmode driver has an incomplete port sanity check. A notification for an unsupported port can cause it to access and corrupt memory beyond the port array. The input does not specify how such a notification could be triggered or whether authentication or user interaction is required.
Engineers running the Linux kernel should check their installations; affected versions were not specified.