CVE-2022-50523: clk: rockchip: Fix memory leak in rockchip_clk_register_pll()

Published Oct 7, 2025
·
Updated

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

clk: rockchip: Fix memory leak in rockchipclkregisterpll()

If clkregister() fails, @pll->ratetable may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it.

Affected Software

9 affected components
Linux Linux kernel
Linux Linux kernel>=3.17<4.9.337
Linux Linux kernel>=4.10<4.14.303
Linux Linux kernel>=4.15<4.19.270
Linux Linux kernel>=4.20<5.4.229
Linux Linux kernel>=5.5<5.10.163
Linux Linux kernel>=5.11<5.15.86
Linux Linux kernel>=5.16<6.0.16
Linux Linux kernel>=6.1<6.1.2

Event History

Oct 7, 2025
CVE Published
via MITRE·03:19 PM
Data Sourced
via MITRE·03:19 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What conditions are required to trigger the memory leak?

The leak occurs when rockchip_clk_register_pll() has allocated pll->rate_table using kmemdup() and a subsequent clk_register() call fails. Exploitation requires local access with low privileges; no user interaction is required.

2

What is the practical impact?

The reported impact is availability loss from a memory leak. The supplied CVSS vector indicates no confidentiality or integrity impact.

3

What should administrators do?

Apply an available patch from the referenced stable Linux kernel commits. No temporary mitigation is provided in the available information.

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