# CVE-2026-90147: clk: devres: fix cleanup in devm\_clk\_get\_optional\_enabled\_with\_rate()

> 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.21% (percentile 6, 2026-11-26)
- **Published:** 2026-09-17T16:06:42.342Z
- **Modified:** 2026-10-19T09:19:04.637Z

## Who should check

- Anyone running Linux \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 9a365f41fe0f227ef5a269e240233bd0bffc66c9; \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 9d4843f1051259854f724e9cdc5b9eac56327037; \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 647157fecb42b72d930e7b7d0bfbc5f2db9a858a; \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 0d4d262c1664365e17e0a5ba2ab79f4db484b44e
- Anyone running Linux 6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

clk: devres: fix cleanup in devm\_clk\_get\_optional\_enabled\_with\_rate()

devm\_clk\_get\_optional\_enabled\_with\_rate() registers its cleanup action
before setting the clock rate. If setting the rate fails, it attempts to
disable and unprepare a clock that was never enabled. This issue was
spotted while reviewing "rust: clk: add devres-managed clks" \[1\].

Register the cleanup action only after successfully preparing and enabling
the clock.

\[1\]: https://lore.kernel.org/rust-for-linux/20260706-clk-type-state-v5-3-67c5f326a16c@collabora.com

## Affected and fixed versions

- Linux: \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 9a365f41fe0f227ef5a269e240233bd0bffc66c9; \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 9d4843f1051259854f724e9cdc5b9eac56327037; \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 647157fecb42b72d930e7b7d0bfbc5f2db9a858a; \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 0d4d262c1664365e17e0a5ba2ab79f4db484b44e (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- Upgrade Linux to 0d4d262c1664365e17e0a5ba2ab79f4db484b44e 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-90147. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-90147.md
Affected: Linux >= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, < 9a365f41fe0f227ef5a269e240233bd0bffc66c9; >= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, < 9d4843f1051259854f724e9cdc5b9eac56327037; >= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, < 647157fecb42b72d930e7b7d0bfbc5f2db9a858a; >= 9934a1bd45b2b03f6d1204a…
Fixed in: Linux 9a365f41fe0f227ef5a269e240233bd0bffc66c9, Linux 9d4843f1051259854f724e9cdc5b9eac56327037, Linux 647157fecb42b72d930e7b7d0bfbc5f2db9a858a, Linux 0d4d262c1664365e17e0a5ba2ab79f4db484b44e

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-90147 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 9a365f41fe0f227ef5a269e240233bd0bffc66c9; \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 9d4843f1051259854f724e9cdc5b9eac56327037; \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 647157fecb42b72d930e7b7d0bfbc5f2db9a858a; \>= 9934a1bd45b2b03f6d1204a6ae2780d3b009799f, \< 0d4d262c1664365e17e0a5ba2ab79f4db484b44e; Linux 6.12.

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

Yes. Fixed in Linux 9a365f41fe0f227ef5a269e240233bd0bffc66c9, Linux 9d4843f1051259854f724e9cdc5b9eac56327037, Linux 647157fecb42b72d930e7b7d0bfbc5f2db9a858a, Linux 0d4d262c1664365e17e0a5ba2ab79f4db484b44e. Upgrade Linux to 0d4d262c1664365e17e0a5ba2ab79f4db484b44e or later.

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

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/9a365f41fe0f227ef5a269e240233bd0bffc66c9>
- other: <https://git.kernel.org/stable/c/9d4843f1051259854f724e9cdc5b9eac56327037>
- other: <https://git.kernel.org/stable/c/647157fecb42b72d930e7b7d0bfbc5f2db9a858a>
- other: <https://git.kernel.org/stable/c/0d4d262c1664365e17e0a5ba2ab79f4db484b44e>

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

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