cpufreq: apple-soc: Fix OPP table cleanup
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 12b54e5aab7c0850d39a51a32200f76d5e15040e, Kernel 36c55d118d5ecd2fb444f52802955903937b9ccd, Kernel 7c19b94c625dc7042b0a7dff4c8da158358ffa2c and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.2, >=6286bbb40576ffadfde206c332b61345c19af57f <12b54e5aab7c0850d39a51a32200f76d5e15040e, >=6286bbb40576ffadfde206c332b61345c19af57f <36c55d118d5ecd2fb444f52802955903937b9ccd, >=6286bbb40576ffadfde206c332b61345c19af57f <7c19b94c625dc7042b0a7dff4c8da158358ffa2c, >=6286bbb40576ffadfde206c332b61345c19af57f <d28ad9bb050e80770f0b644304cb75932e289238, >=6286bbb40576ffadfde206c332b61345c19af57f <d87cb889dc7ab1f2deecadf2a5e9023184bd7900 | 12b54e5aab7c0850d39a51a32200f76d5e15040e, 36c55d118d5ecd2fb444f52802955903937b9ccd, 7c19b94c625dc7042b0a7dff4c8da158358ffa2c, d28ad9bb050e80770f0b644304cb75932e289238, d87cb889dc7ab1f2deecadf2a5e9023184bd7900 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket