Skip to contentSkip to conversation

CVE-2026-89572: cpufreq: apple-soc: Fix OPP table cleanup

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 11

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-89572 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.2 with commit 6286bbb40576ffadfde206c332b61345c19af57f and fixed in 6.18.51 with commit 7c19b94c625dc7042b0a7dff4c8da158358ffa2c
	Issue introduced in 6.2 with commit 6286bbb40576ffadfde206c332b61345c19af57f and fixed in 7.2.4 with commit 36c55d118d5ecd2fb444f52802955903937b9ccd
	Issue introduced in 6.2 with commit 6286bbb40576ffadfde206c332b61345c19af57f and fixed in 7.3-rc1 with commit d87cb889dc7ab1f2deecadf2a5e9023184bd7900

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-89572

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/cpufreq/apple-soc-cpufreq.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/7c19b94c625dc7042b0a7dff4c8da158358ffa2c
	https://git.kernel.org/stable/c/36c55d118d5ecd2fb444f52802955903937b9ccd
	https://git.kernel.org/stable/c/d87cb889dc7ab1f2deecadf2a5e9023184bd7900