← CVE Intelligence

CVE-2022-50713

clk: visconti: Fix memory leak in visconti_register_pll() PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: clk: visconti: Fix memory leak in visconti_register_pll() @pll->rate_table has allocated memory by kmemdup(), if clk_hw_register() fails, it should be freed, otherwise it will cause memory leak issue, this patch fixes it.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before 70af9bf13be1716eac452c8a29ce6fe6b957a5db; affected b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before f0f1982ddfb418bf7bf05dadebae5c6869a41d41; affected b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before b55226f8553d255f5002c751c7c6ba9291f34bf2
Linux / Linuxaffected 5.17; unaffected 0 before 5.17; unaffected 6.0.16 through 6.0.*; unaffected 6.1.2 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References