# CVE-2022-50713: clk: visconti: Fix memory leak in visconti_register_pll()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 12% of CVEs (2026-11-30)
- Published: 2025-12-24T12:22:38.387Z
- Modified: 2026-11-10T12:10:00.177Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before 70af9bf13be1716eac452c8a29ce6fe6b957a5db; from b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before f0f1982ddfb418bf7bf05dadebae5c6869a41d41; from b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa before b55226f8553d255f5002c751c7c6ba9291f34bf2; 5.17 (not affected: before 5.17; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/70af9bf13be1716eac452c8a29ce6fe6b957a5db>
- <https://git.kernel.org/stable/c/f0f1982ddfb418bf7bf05dadebae5c6869a41d41>
- <https://git.kernel.org/stable/c/b55226f8553d255f5002c751c7c6ba9291f34bf2>

## Sources

- CVE List: [CVE-2022-50713](https://www.cve.org/CVERecord?id=CVE-2022-50713), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50713](https://nvd.nist.gov/vuln/detail/CVE-2022-50713), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-50713 · Whole record: https://cve.day/CVE-2022-50713.json · Rebuilt by cve.day 2026-11-25T22:58:21.329Z
