CVE-2024-53158 soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()
An array underflow in the Qualcomm GENI SE driver allows out-of-bounds reads, potentially causing crashes or leaking kernel memory.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-53158?
CVE-2024-53158 is a medium-severity vulnerability in Linux kernel, published on 24 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2024-53158?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-53158?
Apply the vendor's patch.
Is CVE-2024-53158 being exploited?
There is no known exploitation of CVE-2024-53158 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-53158, DEBIAN-CVE-2024-53158, GHSA-gr8w-6777-6rwj, UBUNTU-CVE-2024-53158.