CVE-2026-90147: clk: devres: fix cleanup in devm_clk_get_optional_enabled_with_rate()

Published Sep 17, 2026
·
Updated

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

clk: devres: fix cleanup in devmclkgetoptionalenabledwithrate()

devmclkgetoptionalenabledwithrate() 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

Event History

Sep 17, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via MITRE·04:06 PM
Description

Frequently Asked Questions

1

When can this issue be triggered?

It can occur when devm_clk_get_optional_enabled_with_rate() reaches a clock-rate-setting failure after registering its cleanup action but before the clock has been successfully prepared and enabled.

2

What is the remediation?

Apply the available stable fixes referenced for this issue. The correction registers the cleanup action only after the clock has been successfully prepared and enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203