CVE-2022-50523

published 7 Oct 2025 · updated 11 May 2026

clk: rockchip: Fix memory leak in rockchip_clk_register_pll()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 20201c3a0a32f127fa4bdf379d6ac01c2978702d, Kernel 26b94635f1c84d7f6cb482179125cb17e59c90a5, Kernel 5b0a1f1247cd42ac5e0d369f8dbb58762692edee and 6 more.

In the Linux kernel, the following vulnerability has been resolved: clk: rockchip: Fix memory leak in rockchip_clk_register_pll() If clk_register() fails, @pll->rate_table may have allocated memory by kmemdup(), so it needs to be freed, otherwise will cause memory leak issue, this patch fixes it.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=3.17, >=90c590254051f511299538c158e12fdad41ce163 <20201c3a0a32f127fa4bdf379d6ac01c2978702d, >=90c590254051f511299538c158e12fdad41ce163 <26b94635f1c84d7f6cb482179125cb17e59c90a5, >=90c590254051f511299538c158e12fdad41ce163 <5b0a1f1247cd42ac5e0d369f8dbb58762692edee, >=90c590254051f511299538c158e12fdad41ce163 <739a6a6bbdb793bd57938cb24aa5a6df89983546, >=90c590254051f511299538c158e12fdad41ce163 <86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968, >=90c590254051f511299538c158e12fdad41ce163 <dcd4ba068b194c6ef0071491aa3f12bec8c14d5b, >=90c590254051f511299538c158e12fdad41ce163 <f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff, >=90c590254051f511299538c158e12fdad41ce163 <f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb, >=90c590254051f511299538c158e12fdad41ce163 <f4d70c139d313948e02360304a6cbcd3a4f5deb520201c3a0a32f127fa4bdf379d6ac01c2978702d, 26b94635f1c84d7f6cb482179125cb17e59c90a5, 5b0a1f1247cd42ac5e0d369f8dbb58762692edee, 739a6a6bbdb793bd57938cb24aa5a6df89983546, 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968, dcd4ba068b194c6ef0071491aa3f12bec8c14d5b, f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff, f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb, f4d70c139d313948e02360304a6cbcd3a4f5deb5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-50523 severity on Zeptric[![CVE-2022-50523](https://zeptric.io/badge/cve/CVE-2022-50523.svg)](https://zeptric.io/cve/CVE-2022-50523)