What’s Vulnerable › Vulnerabilities

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

Description

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 products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.303, 4.19.270, 4.9.337, 5.10.163. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50523 or the next vulnerability affects your stack