clk: qcom: gcc-ipq6018: fix terminating of frequency table arrays
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d9db07f088af01a1080d01de363141b673c7d646 · < db4066e3ab6b3d918ae2b92734a89c04fe82cc1d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
clk: qcom: gcc-ipq6018: 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 frequency tables in the Linux kernel's Qualcomm GCC IPQ6018 clock driver lack a terminating empty element, allowing possible out-of-bounds access when they are traversed. The input does not establish how an attacker could trigger this, whether authentication or user interaction is needed, or whether it is reachable over a network.
Engineers running Linux kernels with the Qualcomm GCC IPQ6018 clock driver should check their systems; affected versions were not provided.