soc: qcom: llcc: Handle a second device without data corruption
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a3134fb09e0bc5bee76e13bf863173b86f21cf87 · < 1143bfb9b055897975aeaea254da148e19524493| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: llcc: Handle a second device without data corruption
Usually there is only one llcc device. But if there were a second, even a failed probe call would modify the global drv_data pointer. So check if drv_data is valid before overwriting it.
From the CVE record · Linux
The Linux kernel’s Qualcomm LLCC driver can overwrite a global driver-data pointer when a second LLCC device is probed, even if the probe fails. This can cause data corruption. The input does not describe an attacker path, authentication requirements, or user interaction.
Engineers running Linux kernels with the Qualcomm LLCC driver should check their installations; affected versions are not specified.