CVE-2022-50523

clk: rockchip: Fix memory leak in rockchip_clk_register_pll()

MEDIUM
5.5
CVSS Score
Published: October 7, 2025 at 03:19 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.17 ≤ v < 4.14.3033.17 ≤ v < 4.19.2703.17 ≤ v < 4.9.3373.17 ≤ v < 5.10.1633.17 ≤ v < 5.15.863.17 ≤ v < 5.4.2293.17 ≤ v < 6.0.163.17 ≤ v < 6.1.23.17 ≤ v < 6.24.10 ≤ v < 4.14.3034.15 ≤ v < 4.19.2704.20 ≤ v < 5.4.2295.11 ≤ v < 5.15.865.16 ≤ v < 6.0.165.5 ≤ v < 5.10.1636.1 ≤ v < 6.1.23.1790c590254051f511299538c158e12fdad41ce163
Vendor states this is fixed in 20201c3a0a32f127fa4bdf379d6ac01c2978702d (fixed)
Vendor states this is fixed in 26b94635f1c84d7f6cb482179125cb17e59c90a5 (fixed)
Vendor states this is fixed in 5b0a1f1247cd42ac5e0d369f8dbb58762692edee (fixed)
Vendor states this is fixed in 739a6a6bbdb793bd57938cb24aa5a6df89983546 (fixed)
Vendor states this is fixed in 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968 (fixed)
Vendor states this is fixed in dcd4ba068b194c6ef0071491aa3f12bec8c14d5b (fixed)
Vendor states this is fixed in f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff (fixed)
Vendor states this is fixed in f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb (fixed)
Vendor states this is fixed in f4d70c139d313948e02360304a6cbcd3a4f5deb5 (fixed)
Vendor states this is fixed in 3.17 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card