AZL-118481: CVE-2026-143279 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: Hold the policy write lock when changing boost state
The per-policy boost sysfs handler calls policysetboost() under policy->rwsem, but the global boost handler and cpufreqonline() do not. Consequently, global and per-policy boost changes can concurrently update policy->boostenabled, invoke the driver callback and update the boost frequency QoS request. The driver callbacks also access policy state, e.g. CPPC updates cpuinfo.maxfreq that assumes policy->rwsem held.
Take policy->rwsem around policysetboost() in both unlocked callers. Keep locking at the call sites because the per-policy sysfs handler already holds the lock.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Take policy->rwsem around policy_set_boost() in the global boost handler and cpufreq_online(), which do not already hold the lock.
Event History
Frequently Asked Questions
What conditions are required to trigger this issue?
Concurrent changes to CPU frequency boost state are required. The affected paths are the global boost handler, per-policy boost changes, and CPU online handling, which can update the same policy state without consistently holding the policy write lock.
What kernel state may be affected during a race?
Concurrent operations can race while updating policy->boost_enabled, invoking the CPU frequency driver callback, and updating the boost frequency QoS request. Driver callbacks may also access policy state without the expected policy->rwsem protection, such as updates to cpuinfo.max_freq.
How is the issue resolved?
The resolved change takes policy->rwsem around policy_set_boost() in the global boost handler and cpufreq_online() paths. Per-policy sysfs handling retains its existing call-site locking.