{"id":"CVE-2026-97904","aliases":["CVE-2026-97904"],"related":[],"kind":"vulnerability","state":"published","title":"cpufreq: initialize policy rwsem before sysfs publication","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: initialize policy rwsem before sysfs publication\n\ncpufreq_policy_alloc() initializes policy->rwsem 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->rwsem before publishing the policy kobject so sysfs\ncallbacks always see an initialized semaphore.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq: initialize policy rwsem before sysfs publication\n\ncpufreq_policy_alloc() initializes policy->rwsem 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->rwsem before publishing the policy kobject so sysfs\ncallbacks always see an initialized semaphore.","source":"cvelist"}],"published":"2026-09-25T10:22:30.444Z","modified":"2026-10-19T10:17:40.750Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2fc3384dc75bf7333384c7a16d12c796f61c3f56","fixed":"c9d8435814f2ac533c40fe3f35d94235bc3a9443","status":"affected"},{"type":"git","introduced":"2fc3384dc75bf7333384c7a16d12c796f61c3f56","fixed":"82a54923700da5de83ce2b26c0b43f6b5005c8f1","status":"affected"},{"type":"git","introduced":"2fc3384dc75bf7333384c7a16d12c796f61c3f56","fixed":"b14987a0f73777644099f47f01aba3b0f9dc6c27","status":"affected"},{"type":"git","introduced":"2fc3384dc75bf7333384c7a16d12c796f61c3f56","fixed":"b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a","status":"affected"},{"type":"git","introduced":"2fc3384dc75bf7333384c7a16d12c796f61c3f56","fixed":"dc11263cb05ed519758fd135fe08d611bad1f241","status":"affected"},{"type":"git","introduced":"2fc3384dc75bf7333384c7a16d12c796f61c3f56","fixed":"27c9b491bf7604e83b50c3bbfa18a30266ff345f","status":"affected"},{"type":"git","introduced":"2fc3384dc75bf7333384c7a16d12c796f61c3f56","fixed":"2cee937f779f69b195b37bbec1e888da9bfe9d58","status":"affected"},{"type":"git","introduced":"2fc3384dc75bf7333384c7a16d12c796f61c3f56","fixed":"3e5d1bf4bd687beb2cb4e32a07af695455925588","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.2","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.2","status":"unaffected"},{"type":"semver","introduced":"5.10.271","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.222","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.189","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.158","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.111","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.53","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.7","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/c9d8435814f2ac533c40fe3f35d94235bc3a9443","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82a54923700da5de83ce2b26c0b43f6b5005c8f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b14987a0f73777644099f47f01aba3b0f9dc6c27","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc11263cb05ed519758fd135fe08d611bad1f241","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/27c9b491bf7604e83b50c3bbfa18a30266ff345f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2cee937f779f69b195b37bbec1e888da9bfe9d58","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3e5d1bf4bd687beb2cb4e32a07af695455925588","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-97904","url":"https://www.cve.org/CVERecord?id=CVE-2026-97904","licence":"CVE Terms of Use","modified":"2026-10-19T09:10:30.506Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-97904","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-97904","licence":"Public domain","modified":"2026-10-19T10:17:40.750Z"}],"updatedAt":"2026-11-25T22:59:40.983Z","epss":{"score":0.00216,"percentile":0.12828,"date":"2026-12-01T12:00:22.000Z"}}