CVE Catalog

CVE-2026-97904

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, in cpufreq, the policy rwsem is initialized after the sysfs directory and default attributes are created. A sysfs access can reach a policy callback before the semaphore has been initialized.

Risk Assessment

An uninitialized semaphore may lead to race conditions or malfunction, potentially resulting in system crashes or unpredictable behavior.

Recommendation

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

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS