CVE-2026-97904: cpufreq: initialize policy rwsem before sysfs publication

Published Sep 25, 2026
·
Updated

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

cpufreq: initialize policy rwsem before sysfs publication

cpufreqpolicyalloc() initializes policy->rwsem after kobjectinitandadd() 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.

Affected Software

1 affected component
Linux Linux kernel

Event History

Sep 25, 2026
CVE Published
via MITRE·10:22 AM
Data Sourced
via MITRE·10:22 AM
Description
Data Sourced
via NVD·11:17 AM
Description

Frequently Asked Questions

1

Under what condition can the race be triggered?

The race requires a sysfs access to a newly published CPU frequency policy while cpufreq_policy_alloc() has created the policy kobject and default sysfs attributes but has not yet initialized policy->rwsem.

2

What component is exposed to the uninitialized semaphore?

CPU frequency policy sysfs callbacks are exposed. They can be reached through the policy sysfs directory after it is published, before the policy read-write semaphore is initialized.

3

What change resolves the issue?

The fix initializes policy->rwsem before publishing the policy kobject with kobject_init_and_add(), ensuring sysfs callbacks always encounter an initialized semaphore.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203