{"id":"CVE-2026-97904","summary":"cpufreq: initialize policy rwsem before sysfs publication","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: initialize policy rwsem before sysfs publication\n\ncpufreq_policy_alloc() initializes policy-\u003erwsem after\nkobject_init_and_add() has created the policy sysfs directory and its\ndefault attributes. A sysfs access can therefore reach a policy callback\nbefore the semaphore has been initialized.\n\nInitialize policy-\u003erwsem before publishing the policy kobject so sysfs\ncallbacks always see an initialized semaphore.","modified":"2026-09-26T03:48:40.957646997Z","published":"2026-09-25T10:22:30.444Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97904.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/27c9b491bf7604e83b50c3bbfa18a30266ff345f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2cee937f779f69b195b37bbec1e888da9bfe9d58"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3e5d1bf4bd687beb2cb4e32a07af695455925588"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dc11263cb05ed519758fd135fe08d611bad1f241"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97904.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97904"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2fc3384dc75bf7333384c7a16d12c796f61c3f56"},{"fixed":"dc11263cb05ed519758fd135fe08d611bad1f241"},{"fixed":"27c9b491bf7604e83b50c3bbfa18a30266ff345f"},{"fixed":"2cee937f779f69b195b37bbec1e888da9bfe9d58"},{"fixed":"3e5d1bf4bd687beb2cb4e32a07af695455925588"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97904.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"fixed":"6.12.111"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.53"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97904.json"}}],"schema_version":"1.9.0"}