clk: qcom: gcc-ipq5018: fix terminating of frequency table arrays
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:
clk: qcom: gcc-ipq5018: 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().
From the CVE record · Linux
Some frequency table arrays in the Linux kernel's Qualcomm IPQ5018 clock driver lack a terminating empty element. Traversing them can cause out-of-bounds access; the input does not specify how an attacker could trigger this or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their build includes the affected Qualcomm IPQ5018 clock driver; affected versions are not specified.