soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ eddac5af06546d2e7a0730e3dc02dde3dc91098a · < c24e019ca12d9ec814af04b30a64dd7173fb20fe| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
This loop is supposed to break if the frequency returned from clk_round_rate() is the same as on the previous iteration. However, that check doesn't make sense on the first iteration through the loop. It leads to reading before the start of these->clk_perf_tbl[] array.
From the CVE record · Linux
The Linux kernel’s Qualcomm GENI serial engine code can read before the start of an array during the first iteration of a clock-frequency loop. The input does not establish whether an attacker can trigger this behavior or specify any required access or user interaction.
Engineers running Linux kernels that include the affected Qualcomm GENI serial engine code should check their kernel versions.