{"id":"CVE-2026-139001","state":"PUBLISHED","title":"cpufreq: CPPC: Create the FIE worker before enabling PCC callbacks","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: CPPC: Create the FIE worker before enabling PCC callbacks\n\ncppc_freq_invariance_init() creates the PCC worker only if an online CPU\ncurrently has PCC counters. A shared policy can also initialize an offline\nPCC member. When that CPU comes online, its callback queues work through\nthe missing kworker_fie and dereferences NULL. A later hot-added PCC policy\ncan encounter the same missing worker.\n\nCreate the worker when policy initialization encounters PCC counters,\nbefore initializing their work and publishing any callbacks. Serialize\ncreation and reuse the worker until driver teardown. This covers offline\npolicy members and later PCC policies without creating an unused deadline\nworker on direct-counter-only systems.\n\nIf worker allocation or scheduling setup fails, leave FIE unregistered for\nthat policy. Keep the global FIE setting unchanged so direct-counter\npolicies remain independent of worker setup and existing policies still\ndrain their initialized work during teardown. Publish kworker_fie only\nafter successful setup, allowing a later policy initialization to retry.","publishedAt":"2026-11-30T13:26:57.321Z","updatedAt":"2026-11-30T13:26:57.321Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"997c021abc6eb9cf7df39fa77fa5e666ad55e3a3","status":"affected","lessThan":"9f76d748fcda1a07dc9db750d019f1f2082e7a6f","versionType":"git"},{"version":"997c021abc6eb9cf7df39fa77fa5e666ad55e3a3","status":"affected","lessThan":"995e7d4680706e47154adb68f0b682485ea8d873","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cpufreq/cppc_cpufreq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cpufreq/cppc_cpufreq.c"]}],"references":["https://git.kernel.org/stable/c/9f76d748fcda1a07dc9db750d019f1f2082e7a6f","https://git.kernel.org/stable/c/995e7d4680706e47154adb68f0b682485ea8d873"],"weaknesses":[],"ingestedAt":"2026-11-30T13:40:04.421Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/139xxx/CVE-2026-139001.json","commit":"5317bbbde1916a58cb1fadabb726eb126daf44c1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139001","state":"PUBLISHED","datePublished":"2026-11-30T13:26:57.321Z","dateUpdated":"2026-11-30T13:26:57.321Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-11-30T13:22:15.908Z"},"containers":{"cna":{"title":"cpufreq: CPPC: Create the FIE worker before enabling PCC callbacks","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: CPPC: Create the FIE worker before enabling PCC callbacks\n\ncppc_freq_invariance_init() creates the PCC worker only if an online CPU\ncurrently has PCC counters. A shared policy can also initialize an offline\nPCC member. When that CPU comes online, its callback queues work through\nthe missing kworker_fie and dereferences NULL. A later hot-added PCC policy\ncan encounter the same missing worker.\n\nCreate the worker when policy initialization encounters PCC counters,\nbefore initializing their work and publishing any callbacks. Serialize\ncreation and reuse the worker until driver teardown. This covers offline\npolicy members and later PCC policies without creating an unused deadline\nworker on direct-counter-only systems.\n\nIf worker allocation or scheduling setup fails, leave FIE unregistered for\nthat policy. Keep the global FIE setting unchanged so direct-counter\npolicies remain independent of worker setup and existing policies still\ndrain their initialized work during teardown. Publish kworker_fie only\nafter successful setup, allowing a later policy initialization to retry."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"997c021abc6eb9cf7df39fa77fa5e666ad55e3a3","status":"affected","lessThan":"9f76d748fcda1a07dc9db750d019f1f2082e7a6f","versionType":"git"},{"version":"997c021abc6eb9cf7df39fa77fa5e666ad55e3a3","status":"affected","lessThan":"995e7d4680706e47154adb68f0b682485ea8d873","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cpufreq/cppc_cpufreq.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/cpufreq/cppc_cpufreq.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/9f76d748fcda1a07dc9db750d019f1f2082e7a6f"},{"url":"https://git.kernel.org/stable/c/995e7d4680706e47154adb68f0b682485ea8d873"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-11-30T13:26:57.321Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}