clk: qcom: mmcc-apq8084: fix terminating of frequency table arrays
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2b46cd23a5a2cf0b8d3583338b63409f5e78e7cd · < 9b4c4546dd61950e80ffdca1bf6925f42b665b03| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
clk: qcom: mmcc-apq8084: 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 Linux kernel Qualcomm clock frequency tables lack a terminating empty element. Traversing them with functions such as qcom_find_freq() or qcom_find_freq_floor() can cause out-of-bounds access. The input does not establish whether an attacker can trigger this or specify access requirements.
Engineers running Linux kernels that include the affected mmcc-apq8084 clock component should check; affected versions are not specified.