phy: qcom-qmp-combo: fix NULL-deref on runtime resume
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:
phy: qcom-qmp-combo: fix NULL-deref on runtime resume
Commit fc64623637da ("phy: qcom-qmp-combo,usb: add support for separate PCS_USB region") started treating the PCS_USB registers as potentially separate from the PCS registers but used the wrong base when no PCS_USB offset has been provided.
Fix the PCS_USB base used at runtime resume to prevent dereferencing a NULL pointer on platforms that do not provide a PCS_USB offset (e.g. SC7180).
From the CVE record · Linux
The Linux kernel's qcom-qmp-combo PHY driver can dereference a NULL pointer during runtime resume on platforms that do not provide a PCS_USB offset, such as SC7180. This can cause a crash; the input does not specify an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels on platforms without a PCS_USB offset, including SC7180, should check whether their kernel includes the fix.