CVE-2024-53158
JSON

5.5medium

soc: qcom: geni-se: fix array underflow in geni_se_clk_tbl_get()

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.32% (higher than 17% of CVEs)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom eddac5af06546d2e7a0730e3dc02dde3dc91098a before 37cdd4f0c266560b7b924c42361eeae3dc5f0c3e, from eddac5af06546d2e7a0730e3dc02dde3dc91098a before 7a3465b79ef0539aa10b310ac3cc35e0ae25b79e, from eddac5af06546d2e7a0730e3dc02dde3dc91098a before 748557ca7dc94695a6e209eb68fce365da9a3bb3, from eddac5af06546d2e7a0730e3dc02dde3dc91098a before f4b7bf5a50f1fa25560f0b66a13563465542861b, from eddac5af06546d2e7a0730e3dc02dde3dc91098a before b0a9c6ccaf88c4701787f61ecd2ec0eb014a0677, from eddac5af06546d2e7a0730e3dc02dde3dc91098a before c24e019ca12d9ec814af04b30a64dd7173fb20fe, from eddac5af06546d2e7a0730e3dc02dde3dc91098a before 56eda41dcce0ec4d3418b4f85037bdea181486cc, from eddac5af06546d2e7a0730e3dc02dde3dc91098a before 351bb7f9ecb9d1f09bd7767491a2b8d07f4f1ea4 and 2 more
Not affected: before 4.18, from 4.19.325 up to 4.19.*, from 5.4.287 up to 5.4.*, from 5.10.231 up to 5.10.*, from 5.15.174 up to 5.15.*, from 6.1.120 up to 6.1.*
CVE List
linux linux_kernelfrom 4.18 before 4.19.325, from 4.20 before 5.4.287, from 5.5 before 5.10.231, from 5.11 before 5.15.174, from 5.16 before 6.1.120, from 6.2 before 6.6.64, from 6.7 before 6.11.11, from 6.12 before 6.12.2NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: soc: qcom: geni-se: corrige el desbordamiento de la matriz en geni_se_clk_tbl_get() Se supone que este bucle se rompe si la frecuencia devuelta por clk_round_rate() es la misma que en la iteración anterior. Sin embargo, esa verificación no tiene sentido en la primera iteración del ciclo. Conduce a la lectura antes del inicio de la matriz These->clk_perf_tbl[].

References

https://git.kernel.org/stable/c/37cdd4f0c266560b7b924c42361eeae3dc5f0c3epatch
https://git.kernel.org/stable/c/7a3465b79ef0539aa10b310ac3cc35e0ae25b79epatch
https://git.kernel.org/stable/c/748557ca7dc94695a6e209eb68fce365da9a3bb3patch
https://git.kernel.org/stable/c/f4b7bf5a50f1fa25560f0b66a13563465542861bpatch
https://git.kernel.org/stable/c/b0a9c6ccaf88c4701787f61ecd2ec0eb014a0677patch
https://git.kernel.org/stable/c/c24e019ca12d9ec814af04b30a64dd7173fb20fepatch
https://git.kernel.org/stable/c/56eda41dcce0ec4d3418b4f85037bdea181486ccpatch
https://git.kernel.org/stable/c/351bb7f9ecb9d1f09bd7767491a2b8d07f4f1ea4patch
https://git.kernel.org/stable/c/78261cb08f06c93d362cab5c5034bf5899bc7552patch
https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html
https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html

Sources

SourceRecordLicence
CVE ListCVE-2024-53158 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-53158 changed 2026-06-17Public domain