Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50713

clk: visconti: Fix memory leak in visconti_register_pll()

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa to < 70af9bf13be1716eac452c8a29ce6fe6b957a5dbaffected
  • b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa to < f0f1982ddfb418bf7bf05dadebae5c6869a41d41affected
  • b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa to < b55226f8553d255f5002c751c7c6ba9291f34bf2affected

Linux Linux

Default version status: affected

  • 5.17affected
  • 0 to < 5.17unaffected
  • 6.0.16 to ≤ 6.0.*unaffected
  • 6.1.2 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References