CVE-2022-50523
clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
Mitigation
- Upgrade Linux to 739a6a6bbdb793bd57938cb24aa5a6df89983546 or later.
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
Vulnerability facts
- Affected
- Linux >= 90c590254051f511299538c158e12fdad41ce163, < 20201c3a0a32f127fa4bdf379d6ac01c2978702d; >= 90c590254051f511299538c158e12fdad41ce163, < 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968; >= 90c590254051f511299538c158e12fdad41ce163, < f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff; >= 90c590254051f511299538c158e12fdad41ce163, < 26b94635f1c84d7f6cb482179125cb17e59c90a5; >= 90c590254051f511299538c158e12fdad41ce163, < f4d70c139d313948e02360304a6cbcd3a4f5deb5; >= 90c590254051f511299538c158e12fdad41ce163, < 5b0a1f1247cd42ac5e0d369f8dbb58762692edee; >= 90c590254051f511299538c158e12fdad41ce163, < dcd4ba068b194c6ef0071491aa3f12bec8c14d5b; >= 90c590254051f511299538c158e12fdad41ce163, < f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb; >= 90c590254051f511299538c158e12fdad41ce163, < 739a6a6bbdb793bd57938cb24aa5a6df89983546; Linux 3.17
- Fixed in
- Linux 20201c3a0a32f127fa4bdf379d6ac01c2978702d, Linux 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968, Linux 26b94635f1c84d7f6cb482179125cb17e59c90a5, Linux 5b0a1f1247cd42ac5e0d369f8dbb58762692edee, Linux 739a6a6bbdb793bd57938cb24aa5a6df89983546
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-401
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 90c590254051f511299538c158e12fdad41ce163, < 20201c3a0a32f127fa4bdf379d6ac01c2978702d; >= 90c590254051f511299538c158e12fdad41ce163, < 86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968; >= 90c590254051f511299538c158e12fdad41ce163, < f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff; >= 90c590254051f511299538c158e12fdad41ce163, < 26b94635f1c84d7f6cb482179125cb17e59c90a5; >= 90c590254051f511299538c158e12fdad41ce163, < f4d70c139d313948e02360304a6cbcd3a4f5deb5; >= 90c590254051f511299538c158e12fdad41ce163, < 5b0a1f1247cd42ac5e0d369f8dbb58762692edee; >= 90c590254051f511299538c158e12fdad41ce163, < dcd4ba068b194c6ef0071491aa3f12bec8c14d5b; >= 90c590254051f511299538c158e12fdad41ce163, < f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb; >= 90c590254051f511299538c158e12fdad41ce163, < 739a6a6bbdb793bd57938cb24aa5a6df89983546 | — | cvelist |
| Linux | 3.17 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Patches
- https://git.kernel.org/stable/c/20201c3a0a32f127fa4bdf379d6ac01c2978702d
- https://git.kernel.org/stable/c/86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968
- https://git.kernel.org/stable/c/f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff
- https://git.kernel.org/stable/c/26b94635f1c84d7f6cb482179125cb17e59c90a5
- https://git.kernel.org/stable/c/f4d70c139d313948e02360304a6cbcd3a4f5deb5
- https://git.kernel.org/stable/c/5b0a1f1247cd42ac5e0d369f8dbb58762692edee
- https://git.kernel.org/stable/c/dcd4ba068b194c6ef0071491aa3f12bec8c14d5b
- https://git.kernel.org/stable/c/f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb
- https://git.kernel.org/stable/c/739a6a6bbdb793bd57938cb24aa5a6df89983546
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.