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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
997c021abc6eb9cf7df39fa77fa5e666ad55e3a3 to < 9f76d748fcda1a07dc9db750d019f1f2082e7a6faffected997c021abc6eb9cf7df39fa77fa5e666ad55e3a3 to < 995e7d4680706e47154adb68f0b682485ea8d873affected
Linux Linux
Default version status: affected
7.0affected0 to < 7.0unaffected7.3.4 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected