clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d8b212014e69d6b6323773ce6898f224ef4ed0d6 · < 7e9926fef71e514b4a8ea9d11d5a84d52b181362| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays
The frequency table arrays are supposed to be terminated with an empty element. Add such entry to the end of the arrays where it is missing in order to avoid possible out-of-bound access when the table is traversed by functions like qcom_find_freq() or qcom_find_freq_floor().
Only compile tested.
From the CVE record · Linux
Some Qualcomm MMCC frequency table arrays in the Linux kernel lack a terminating empty element, which can cause out-of-bounds access when the tables are traversed. The input does not specify whether an attacker can trigger this or what access or interaction would be required.
Engineers running the Linux kernel should check whether their build includes the affected Qualcomm MMCC frequency tables; affected versions are not specified.