clk: qcom: camcc-sc8280xp: 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: camcc-sc8280xp: 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 camcc-sc8280xp clock driver lack a terminating empty element, allowing a possible out-of-bounds access when the tables are traversed. The input does not establish whether an attacker can trigger this access or specify the required access or interaction.
Engineers running Linux kernels that include the camcc-sc8280xp driver should check their versions; affected versions were not specified.