clk: qcom: gcc-ipq9574: 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-ipq9574: 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 table arrays in the Linux kernel's Qualcomm gcc-ipq9574 clock driver lack a terminating empty element. Traversing these tables may cause an out-of-bounds access; the input does not establish how an attacker could trigger it or whether authentication or user interaction is required.
Engineers running Linux kernels that include the gcc-ipq9574 clock driver should check their builds; affected versions are not specified.