CVE-2022-50523

Source
https://cve.org/CVERecord?id=CVE-2022-50523
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50523.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50523
Downstream
Related
Published
2025-10-07T15:19:16Z
Modified
2026-08-12T03:51:34Z
Summary
clk: rockchip: Fix memory leak in rockchip_clk_register_pll()
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50523.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
90c590254051f511299538c158e12fdad41ce163
Fixed
20201c3a0a32f127fa4bdf379d6ac01c2978702d
Fixed
86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968
Fixed
f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff
Fixed
26b94635f1c84d7f6cb482179125cb17e59c90a5
Fixed
f4d70c139d313948e02360304a6cbcd3a4f5deb5
Fixed
5b0a1f1247cd42ac5e0d369f8dbb58762692edee
Fixed
dcd4ba068b194c6ef0071491aa3f12bec8c14d5b
Fixed
f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb
Fixed
739a6a6bbdb793bd57938cb24aa5a6df89983546

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50523.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.17.0
Fixed
4.9.337
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.303
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.270
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.229
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.163
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.86
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.0.16
Type
ECOSYSTEM
Events
Introduced
6.1.0
Fixed
6.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50523.json"