cpufreq: apple-soc: Fix OPP table cleanup
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.111, 6.18.51, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 6286bbb40576ffadfde206c332b61345c19af57f · fixed in 12b54e5aab7c0850d39a51a32200f76d5e15040e; From 6286bbb40576ffadfde206c332b61345c19af57f · fixed in d28ad9bb050e80770f0b644304cb75932e289238; From 6286bbb40576ffadfde206c332b61345c19af57f · fixed in 7c19b94c625dc7042b0a7dff4c8da158358ffa2c; From 6286bbb40576ffadfde206c332b61345c19af57f · fixed in 36c55d118d5ecd2fb444f52802955903937b9ccd; From 6286bbb40576ffadfde206c332b61345c19af57f · fixed in d87cb889dc7ab1f2deecadf2a5e9023184bd7900
- Linux Linux
6.2
- KernelLinux
From 6.2.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.111; From 6.13.0 · fixed in 6.18.51; From 6.19.0 · fixed in 7.2.4