Description
In the Linux kernel, the following vulnerability has been resolved: cpufreq: apple-soc: Fix OPP table cleanup apple_soc_cpufreq_init() adds OPP tables from firmware, but some failure paths do not remove them. The driver also uses dev_pm_opp_remove_all_dynamic(), which is not the right cleanup helper for OPP tables loaded from firmware. Use the cpumask OPP helper after the policy CPU mask has been populated. Pair it with the matching cpumask remove helper on failure paths and in apple_soc_cpufreq_exit(). This also removes the separate dev_pm_opp_set_sharing_cpus() call, as the cpumask helper loads the DT OPP tables for all CPUs in the policy.
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
6286bbb40576ffadfde206c332b61345c19af57f to < 12b54e5aab7c0850d39a51a32200f76d5e15040eaffected6286bbb40576ffadfde206c332b61345c19af57f to < d28ad9bb050e80770f0b644304cb75932e289238affected6286bbb40576ffadfde206c332b61345c19af57f to < 7c19b94c625dc7042b0a7dff4c8da158358ffa2caffected6286bbb40576ffadfde206c332b61345c19af57f to < 36c55d118d5ecd2fb444f52802955903937b9ccdaffected6286bbb40576ffadfde206c332b61345c19af57f to < d87cb889dc7ab1f2deecadf2a5e9023184bd7900affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.6.160 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.4 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/12b54e5aab7c0850d39a51a32200f76d5e15040e ↗
- https://git.kernel.org/stable/c/d28ad9bb050e80770f0b644304cb75932e289238 ↗
- https://git.kernel.org/stable/c/7c19b94c625dc7042b0a7dff4c8da158358ffa2c ↗
- https://git.kernel.org/stable/c/36c55d118d5ecd2fb444f52802955903937b9ccd ↗
- https://git.kernel.org/stable/c/d87cb889dc7ab1f2deecadf2a5e9023184bd7900 ↗