CVE-2024-26965: clk: qcom: mmcc-msm8974: fix terminating of frequency table arrays

Description

In the Linux kernel, the following vulnerability has been resolved:

clk: qcom: mmcc-msm8974: 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.

Classification

CVE ID: CVE-2024-26965

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 15.26% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/99740c4791dc8019b0d758c5389ca6d1c0604d95
https://git.kernel.org/stable/c/86bf75d9158f511db7530bc82a84b19a5134d089
https://git.kernel.org/stable/c/3ff4a0f6a8f0ad4b4ee9e908bdfc3cacb7be4060
https://git.kernel.org/stable/c/8f562f3b25177c2055b20fd8cf000496f6fa9194
https://git.kernel.org/stable/c/537040c257ab4cd0673fbae048f3940c8ea2e589
https://git.kernel.org/stable/c/7e9926fef71e514b4a8ea9d11d5a84d52b181362
https://git.kernel.org/stable/c/ae99e199037c580b7350bfa3596f447a53bcf01f
https://git.kernel.org/stable/c/ca2cf98d46748373e830a13d85d215d64a2d9bf2
https://git.kernel.org/stable/c/e2c02a85bf53ae86d79b5fccf0a75ac0b78e0c96

Timeline