CVE-2022-50523

clk: rockchip: Fix memory leak in rockchip_clk_register_pll()

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 90c590254051f511299538c158e12fdad41ce163 to before 20201c3a0a32f127fa4bdf379d6ac01c2978702dAffected
  • 90c590254051f511299538c158e12fdad41ce163 to before 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968Affected
  • 90c590254051f511299538c158e12fdad41ce163 to before f02c1d8dc8d880cbaaf9094b4f396fe868ee23ffAffected
  • 90c590254051f511299538c158e12fdad41ce163 to before 26b94635f1c84d7f6cb482179125cb17e59c90a5Affected
  • 90c590254051f511299538c158e12fdad41ce163 to before f4d70c139d313948e02360304a6cbcd3a4f5deb5Affected
  • 90c590254051f511299538c158e12fdad41ce163 to before 5b0a1f1247cd42ac5e0d369f8dbb58762692edeeAffected
  • 90c590254051f511299538c158e12fdad41ce163 to before dcd4ba068b194c6ef0071491aa3f12bec8c14d5bAffected
  • 90c590254051f511299538c158e12fdad41ce163 to before f2ffb8653ea85ae39ce44347751fcc4c3e41f6bbAffected
  • 90c590254051f511299538c158e12fdad41ce163 to before 739a6a6bbdb793bd57938cb24aa5a6df89983546Affected
LinuxLinux
  • 3.17Affected
  • before 3.17Not affected
  • 4.9.337 through 4.9.*Not affected
  • 4.14.303 through 4.14.*Not affected
  • 4.19.270 through 4.19.*Not affected
  • 5.4.229 through 5.4.*Not affected
  • 5.10.163 through 5.10.*Not affected
  • 5.15.86 through 5.15.*Not affected
  • 6.0.16 through 6.0.*Not affected
  • 6.1.2 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.