CVE-2026-97904
cpufreq: initialize policy rwsem before sysfs publication
Check your servers for CVE-2026-97904
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97904 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.26% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56, before c9d8435814f2ac533c40fe3f35d94235bc3a9443 affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56, before 82a54923700da5de83ce2b26c0b43f6b5005c8f1 affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56, before b14987a0f73777644099f47f01aba3b0f9dc6c27 affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56, before b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56, before dc11263cb05ed519758fd135fe08d611bad1f241 affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56, before 27c9b491bf7604e83b50c3bbfa18a30266ff345f affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56, before 2cee937f779f69b195b37bbec1e888da9bfe9d58 affected from 2fc3384dc75bf7333384c7a16d12c796f61c3f56, before 3e5d1bf4bd687beb2cb4e32a07af695455925588
Other versions: unaffected
|
| Linux |
affected 4.2 unaffected before 4.2 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97904 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97904
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97904
trivy image --scanners vuln IMAGE | grep CVE-2026-97904
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c9d8435814f2ac533c40fe3f35d94235bc3a9443 git.kernel.org
- https://git.kernel.org/stable/c/82a54923700da5de83ce2b26c0b43f6b5005c8f1 git.kernel.org
- https://git.kernel.org/stable/c/b14987a0f73777644099f47f01aba3b0f9dc6c27 git.kernel.org
- https://git.kernel.org/stable/c/b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a git.kernel.org
- https://git.kernel.org/stable/c/dc11263cb05ed519758fd135fe08d611bad1f241 git.kernel.org
- https://git.kernel.org/stable/c/27c9b491bf7604e83b50c3bbfa18a30266ff345f git.kernel.org
- https://git.kernel.org/stable/c/2cee937f779f69b195b37bbec1e888da9bfe9d58 git.kernel.org
- https://git.kernel.org/stable/c/3e5d1bf4bd687beb2cb4e32a07af695455925588 git.kernel.org
Source: the record CVE-2026-97904 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse