CVE-2022-50523
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-10-07

Last updated on: 2026-03-17

Assigner: kernel.org

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-10-07
Last Modified
2026-03-17
Generated
2026-05-07
AI Q&A
2025-10-07
EPSS Evaluated
2026-05-05
NVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 4.10 (inc) to 4.14.303 (inc)
rockchip linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-401 The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a memory leak in the Linux kernel's rockchip clock driver. Specifically, if the clk_register() function fails during the registration of a PLL (phase-locked loop) clock, the allocated memory for the rate_table is not freed, causing a memory leak. The patch fixes this by ensuring the allocated memory is properly freed when clk_register() fails.


How can this vulnerability impact me? :

The memory leak caused by this vulnerability can lead to increased memory usage over time, potentially degrading system performance or causing resource exhaustion in systems using the affected rockchip clock driver in the Linux kernel.


What immediate steps should I take to mitigate this vulnerability?

Apply the patch that fixes the memory leak in the rockchip_clk_register_pll() function in the Linux kernel. This patch ensures that allocated memory by kmemdup() is properly freed if clk_register() fails, preventing the memory leak.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart