cpufreq: CPPC: Create the FIE worker before enabling PCC callbacks
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: CPPC: Create the FIE worker before enabling PCC callbacks
cppc_freq_invariance_init() creates the PCC worker only if an online CPU currently has PCC counters. A shared policy can also initialize an offline PCC member. When that CPU comes online, its callback queues work through the missing kworker_fie and dereferences NULL. A later hot-added PCC policy can encounter the same missing worker.
Create the worker when policy initialization encounters PCC counters, before initializing their work and publishing any callbacks. Serialize creation and reuse the worker until driver teardown. This covers offline policy members and later PCC policies without creating an unused deadline worker on direct-counter-only systems.
If worker allocation or scheduling setup fails, leave FIE unregistered for that policy. Keep the global FIE setting unchanged so direct-counter policies remain independent of worker setup and existing policies still drain their initialized work during teardown. Publish kworker_fie only after successful setup, allowing a later policy initialization to retry.
| Product | Versions |
|---|---|
| Linux Linux | 997c021abc6eb9cf7df39fa77fa5e666ad55e3a3 to before 9f76d748fcda1a07dc9db750d019f1f2082e7a6f Affected997c021abc6eb9cf7df39fa77fa5e666ad55e3a3 to before 995e7d4680706e47154adb68f0b682485ea8d873 Affected |
| Linux Linux | 7.0 Affectedbefore 7.0 Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.