{"id":"CVE-2024-57998","published":"2025-02-27T02:07:17Z","modified":"2026-08-05T11:47:18Z","title":"OPP: add index check to assert to avoid buffer overflow in _read_freq()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nOPP: add index check to assert to avoid buffer overflow in _read_freq()\n\nPass the freq index to the assert function to make sure\nwe do not read a freq out of the opp->rates[] table when called\nfrom the indexed variants:\ndev_pm_opp_find_freq_exact_indexed() or\ndev_pm_opp_find_freq_ceil/floor_indexed().\n\nAdd a secondary parameter to the assert function, unused\nfor assert_single_clk() then add assert_clk_index() which\nwill check for the clock index when called from the _indexed()\nfind functions.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00334,"percentile":0.1931,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd","tags":[]},{"url":"https://git.kernel.org/stable/c/eb6ffa0192ba83ece1a318b956265519c5c7dcec","tags":[]},{"url":"https://git.kernel.org/stable/c/7d68c20638e50d5eb4576492a7958328ae445248","tags":[]},{"url":"https://git.kernel.org/stable/c/da2a6acc73933b7812c94794726e438cde39e037","tags":[]},{"url":"https://git.kernel.org/stable/c/d659bc68ed489022ea33342cfbda2911a81e7a0d","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html","tags":[]}],"priority":{"score":9.0,"factors":[{"name":"EPSS percentile","points":3.86},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 92fcb46659d5dbfdad0422a503e289085990a5d0, < 774dd6f0f0a61c9c3848e025d7d9eeed1a7ca4cd",">= 142e17c1c2b48e3fb4f024e62ab6dee18f268694, < eb6ffa0192ba83ece1a318b956265519c5c7dcec",">= 142e17c1c2b48e3fb4f024e62ab6dee18f268694, < 7d68c20638e50d5eb4576492a7958328ae445248",">= 142e17c1c2b48e3fb4f024e62ab6dee18f268694, < da2a6acc73933b7812c94794726e438cde39e037",">= 142e17c1c2b48e3fb4f024e62ab6dee18f268694, < d659bc68ed489022ea33342cfbda2911a81e7a0d"]},{"vendor":"Linux","product":"Linux","versions":["6.6"]}],"euvd":{"id":"EUVD-2025-5245","exploited":false,"provenance":"source"}}