CVE-2026-97904 PUBLISHED

cpufreq: initialize policy rwsem before sysfs publication

Assigner: Linux
Reserved: 25.09.2026 Published: 25.09.2026 Updated: 25.09.2026

In the Linux kernel, the following vulnerability has been resolved:

cpufreq: initialize policy rwsem before sysfs publication

cpufreq_policy_alloc() initializes policy->rwsem after kobject_init_and_add() has created the policy sysfs directory and its default attributes. A sysfs access can therefore reach a policy callback before the semaphore has been initialized.

Initialize policy->rwsem before publishing the policy kobject so sysfs callbacks always see an initialized semaphore.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56 to dc11263cb05ed519758fd135fe08d611bad1f241 (excl.)
  • affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56 to 27c9b491bf7604e83b50c3bbfa18a30266ff345f (excl.)
  • affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56 to 2cee937f779f69b195b37bbec1e888da9bfe9d58 (excl.)
  • affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56 to 3e5d1bf4bd687beb2cb4e32a07af695455925588 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.2 is affected
  • unaffected from 0 to 4.2 (excl.)
  • unaffected from 6.12.111 to 6.12.* (incl.)
  • unaffected from 6.18.53 to 6.18.* (incl.)
  • unaffected from 7.2.7 to 7.2.* (incl.)
  • unaffected from 7.3-rc3 to * (incl.)

References