# CVE-2022-50523: clk: rockchip: Fix memory leak in rockchip\_clk\_register\_pll()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-10-07T15:19:16.595Z
- **Modified:** 2026-06-17T05:23:43.270Z

## Who should check

- Anyone running Linux \>= 90c590254051f511299538c158e12fdad41ce163, \< 20201c3a0a32f127fa4bdf379d6ac01c2978702d; \>= 90c590254051f511299538c158e12fdad41ce163, \< 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968; \>= 90c590254051f511299538c158e12fdad41ce163, \< f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff; \>= 90c590254051f511299538c158e12fdad41ce163, \< 26b94635f1c84d7f6cb482179125cb17e59c90a5; \>= 90c590254051f511299538c158e12fdad41ce163, \< f4d70c139d313948e02360304a6cbcd3a4f5deb5; \>= 90c590254051f511299538c158e12fdad41ce163, \< 5b0a1f1247cd42ac5e0d369f8dbb58762692edee; \>= 90c590254051f511299538c158e12fdad41ce163, \< dcd4ba068b194c6ef0071491aa3f12bec8c14d5b; \>= 90c590254051f511299538c158e12fdad41ce163, \< f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb; \>= 90c590254051f511299538c158e12fdad41ce163, \< 739a6a6bbdb793bd57938cb24aa5a6df89983546
- Anyone running Linux 3.17

## 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 and fixed versions

- Linux: \>= 90c590254051f511299538c158e12fdad41ce163, \< 20201c3a0a32f127fa4bdf379d6ac01c2978702d; \>= 90c590254051f511299538c158e12fdad41ce163, \< 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968; \>= 90c590254051f511299538c158e12fdad41ce163, \< f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff; \>= 90c590254051f511299538c158e12fdad41ce163, \< 26b94635f1c84d7f6cb482179125cb17e59c90a5; \>= 90c590254051f511299538c158e12fdad41ce163, \< f4d70c139d313948e02360304a6cbcd3a4f5deb5; \>= 90c590254051f511299538c158e12fdad41ce163, \< 5b0a1f1247cd42ac5e0d369f8dbb58762692edee; \>= 90c590254051f511299538c158e12fdad41ce163, \< dcd4ba068b194c6ef0071491aa3f12bec8c14d5b; \>= 90c590254051f511299538c158e12fdad41ce163, \< f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb; \>= 90c590254051f511299538c158e12fdad41ce163, \< 739a6a6bbdb793bd57938cb24aa5a6df89983546 (cvelist)
- Linux: 3.17 (cvelist)

## Mitigation

- Upgrade Linux to 739a6a6bbdb793bd57938cb24aa5a6df89983546 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-50523. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50523.md
Affected: Linux >= 90c590254051f511299538c158e12fdad41ce163, < 20201c3a0a32f127fa4bdf379d6ac01c2978702d; >= 90c590254051f511299538c158e12fdad41ce163, < 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968; >= 90c590254051f511299538c158e12fdad41ce163, < f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff; >= 90c590254051f511299538c…
Fixed in: Linux 20201c3a0a32f127fa4bdf379d6ac01c2978702d, Linux 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968, Linux 26b94635f1c84d7f6cb482179125cb17e59c90a5, Linux 5b0a1f1247cd42ac5e0d369f8dbb58762692edee, Linux 739a6a6bbdb793bd57938cb24aa5a6df89983546

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-50523 being exploited?

There is no confirmed exploitation: CVE-2022-50523 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-50523?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-50523?

Linux \>= 90c590254051f511299538c158e12fdad41ce163, \< 20201c3a0a32f127fa4bdf379d6ac01c2978702d; \>= 90c590254051f511299538c158e12fdad41ce163, \< 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968; \>= 90c590254051f511299538c158e12fdad41ce163, \< f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff; \>= 90c590254051f511299538c158e12fdad41ce163, \< 26b94635f1c84d7f6cb482179125cb17e59c90a5; \>= 90c590254051f511299538c158e12fdad41ce163, \< f4d70c139d313948e02360304a6cbcd3a4f5deb5; \>= 90c590254051f511299538c158e12fdad41ce163, \< 5b0a1f1247cd42ac5e0d369f8dbb58762692edee; \>= 90c590254051f511299538c158e12fdad41ce163, \< dcd4ba068b194c6ef0071491aa3f12bec8c14d5b; \>= 90c590254051f511299538c158e12fdad41ce163, \< f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb; \>= 90c590254051f511299538c158e12fdad41ce163, \< 739a6a6bbdb793bd57938cb24aa5a6df89983546; Linux 3.17.

### Is there a fix for CVE-2022-50523?

Yes. Fixed in Linux 20201c3a0a32f127fa4bdf379d6ac01c2978702d, Linux 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968, Linux 26b94635f1c84d7f6cb482179125cb17e59c90a5, Linux 5b0a1f1247cd42ac5e0d369f8dbb58762692edee, Linux 739a6a6bbdb793bd57938cb24aa5a6df89983546. Upgrade Linux to 739a6a6bbdb793bd57938cb24aa5a6df89983546 or later.

### How do I check if I'm affected by CVE-2022-50523?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/20201c3a0a32f127fa4bdf379d6ac01c2978702d>
- patch: <https://git.kernel.org/stable/c/86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968>
- patch: <https://git.kernel.org/stable/c/f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff>
- patch: <https://git.kernel.org/stable/c/26b94635f1c84d7f6cb482179125cb17e59c90a5>
- patch: <https://git.kernel.org/stable/c/f4d70c139d313948e02360304a6cbcd3a4f5deb5>
- patch: <https://git.kernel.org/stable/c/5b0a1f1247cd42ac5e0d369f8dbb58762692edee>
- patch: <https://git.kernel.org/stable/c/dcd4ba068b194c6ef0071491aa3f12bec8c14d5b>
- patch: <https://git.kernel.org/stable/c/f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb>
- patch: <https://git.kernel.org/stable/c/739a6a6bbdb793bd57938cb24aa5a6df89983546>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-50523>

HTML: <https://flawdb.com/CVE-2022-50523> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-50523>
