CVE-2022-50523Published Oct 7, 2025 · Oct 7Updated Oct 28
clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 90c590254051f511299538c158e12fdad41ce163 · < 5b0a1f1247cd42ac5e0d369f8dbb58762692edee| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel can leak memory in rockchip_clk_register_pll() if clk_register() fails after a rate table has been allocated. The input does not describe how an attacker could trigger the failure or specify access or interaction requirements.
Engineers running Linux kernels with Rockchip clock support should check their installations; affected versions are not specified.