Description
In the Linux kernel, the following vulnerability has been resolved: clk: scpi: bound-check DVFS index in scpi_dvfs_recalc_rate dvfs_get_idx() may return an out-of-range index if the SCP firmware is buggy or returns a stale value. Only negative indexes were rejected, so a large index walked past info->opps and could treat garbage as a clock rate (KASAN OOB / wrong frequency to consumers). The missing upper bound dates back to the original SCPI clock driver. Treat indexes >= opp count as invalid and return 0, same as idx < 0.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
cd52c2a4b5c43631e429d06dce12e08b0cab477f to < 6e3b55823da8ef0d99621efb422cc29f50d7f280affectedcd52c2a4b5c43631e429d06dce12e08b0cab477f to < 7204095917aeaac89db7377c29a457351a19b076affectedcd52c2a4b5c43631e429d06dce12e08b0cab477f to < 0f89e2ac0e945da2ce798f6a61aebf9d291c2e0aaffectedcd52c2a4b5c43631e429d06dce12e08b0cab477f to < 56b7a9d89c67932bf11b71e3b6d17941fc24a393affectedcd52c2a4b5c43631e429d06dce12e08b0cab477f to < a82b274697d0876b478594ca78ad1e6cb062467baffectedcd52c2a4b5c43631e429d06dce12e08b0cab477f to < e1188332a9110cf3635fe286481ee38305b3c2b6affectedcd52c2a4b5c43631e429d06dce12e08b0cab477f to < 108c46e8dacc4a0e472a74f98171115d49cbc079affectedcd52c2a4b5c43631e429d06dce12e08b0cab477f to < 70f4b78d560e592cbf3325b162424737d032fc1daffected
Linux Linux
Default version status: affected
4.4affected0 to < 4.4unaffected5.10.271 to ≤ 5.10.*unaffected5.15.222 to ≤ 5.15.*unaffected6.1.189 to ≤ 6.1.*unaffected6.6.158 to ≤ 6.6.*unaffected6.12.112 to ≤ 6.12.*unaffected6.18.54 to ≤ 6.18.*unaffected7.2.8 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6e3b55823da8ef0d99621efb422cc29f50d7f280 ↗
- https://git.kernel.org/stable/c/7204095917aeaac89db7377c29a457351a19b076 ↗
- https://git.kernel.org/stable/c/0f89e2ac0e945da2ce798f6a61aebf9d291c2e0a ↗
- https://git.kernel.org/stable/c/56b7a9d89c67932bf11b71e3b6d17941fc24a393 ↗
- https://git.kernel.org/stable/c/a82b274697d0876b478594ca78ad1e6cb062467b ↗
- https://git.kernel.org/stable/c/e1188332a9110cf3635fe286481ee38305b3c2b6 ↗
- https://git.kernel.org/stable/c/108c46e8dacc4a0e472a74f98171115d49cbc079 ↗
- https://git.kernel.org/stable/c/70f4b78d560e592cbf3325b162424737d032fc1d ↗