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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:22:30.444Z
- **Modified:** 2026-10-19T10:17:40.750Z

## Who should check

- Anyone running Linux \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< c9d8435814f2ac533c40fe3f35d94235bc3a9443; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 82a54923700da5de83ce2b26c0b43f6b5005c8f1; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< b14987a0f73777644099f47f01aba3b0f9dc6c27; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< dc11263cb05ed519758fd135fe08d611bad1f241; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 27c9b491bf7604e83b50c3bbfa18a30266ff345f; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 2cee937f779f69b195b37bbec1e888da9bfe9d58; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 3e5d1bf4bd687beb2cb4e32a07af695455925588
- Anyone running Linux 4.2

## 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.

## Affected and fixed versions

- Linux: \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< c9d8435814f2ac533c40fe3f35d94235bc3a9443; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 82a54923700da5de83ce2b26c0b43f6b5005c8f1; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< b14987a0f73777644099f47f01aba3b0f9dc6c27; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< dc11263cb05ed519758fd135fe08d611bad1f241; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 27c9b491bf7604e83b50c3bbfa18a30266ff345f; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 2cee937f779f69b195b37bbec1e888da9bfe9d58; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 3e5d1bf4bd687beb2cb4e32a07af695455925588 (cvelist)
- Linux: 4.2 (cvelist)

## Mitigation

- Upgrade Linux to 3e5d1bf4bd687beb2cb4e32a07af695455925588 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97904. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97904.md
Affected: Linux >= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, < c9d8435814f2ac533c40fe3f35d94235bc3a9443; >= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, < 82a54923700da5de83ce2b26c0b43f6b5005c8f1; >= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, < b14987a0f73777644099f47f01aba3b0f9dc6c27; >= 2fc3384dc75bf7333384c7a…
Fixed in: Linux 82a54923700da5de83ce2b26c0b43f6b5005c8f1, Linux 27c9b491bf7604e83b50c3bbfa18a30266ff345f, Linux 2cee937f779f69b195b37bbec1e888da9bfe9d58, Linux 3e5d1bf4bd687beb2cb4e32a07af695455925588

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97904 being exploited?

There is no confirmed exploitation: CVE-2026-97904 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-97904?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-97904?

Linux \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< c9d8435814f2ac533c40fe3f35d94235bc3a9443; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 82a54923700da5de83ce2b26c0b43f6b5005c8f1; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< b14987a0f73777644099f47f01aba3b0f9dc6c27; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< dc11263cb05ed519758fd135fe08d611bad1f241; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 27c9b491bf7604e83b50c3bbfa18a30266ff345f; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 2cee937f779f69b195b37bbec1e888da9bfe9d58; \>= 2fc3384dc75bf7333384c7a16d12c796f61c3f56, \< 3e5d1bf4bd687beb2cb4e32a07af695455925588; Linux 4.2.

### Is there a fix for CVE-2026-97904?

Yes. Fixed in Linux 82a54923700da5de83ce2b26c0b43f6b5005c8f1, Linux 27c9b491bf7604e83b50c3bbfa18a30266ff345f, Linux 2cee937f779f69b195b37bbec1e888da9bfe9d58, Linux 3e5d1bf4bd687beb2cb4e32a07af695455925588. Upgrade Linux to 3e5d1bf4bd687beb2cb4e32a07af695455925588 or later.

### How do I check if I'm affected by CVE-2026-97904?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c9d8435814f2ac533c40fe3f35d94235bc3a9443>
- other: <https://git.kernel.org/stable/c/82a54923700da5de83ce2b26c0b43f6b5005c8f1>
- other: <https://git.kernel.org/stable/c/b14987a0f73777644099f47f01aba3b0f9dc6c27>
- other: <https://git.kernel.org/stable/c/b22193eea2ce32c39dda5e09f9c2be2f3fd7eb4a>
- other: <https://git.kernel.org/stable/c/dc11263cb05ed519758fd135fe08d611bad1f241>
- other: <https://git.kernel.org/stable/c/27c9b491bf7604e83b50c3bbfa18a30266ff345f>
- other: <https://git.kernel.org/stable/c/2cee937f779f69b195b37bbec1e888da9bfe9d58>
- other: <https://git.kernel.org/stable/c/3e5d1bf4bd687beb2cb4e32a07af695455925588>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97904>

HTML: <https://flawdb.com/CVE-2026-97904> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97904>
