{"id":"CVE-2022-50523","aliases":["CVE-2022-50523"],"related":[],"kind":"vulnerability","state":"published","title":"clk: rockchip: Fix memory leak in rockchip_clk_register_pll()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: rockchip: Fix memory leak in rockchip_clk_register_pll()\n\nIf clk_register() fails, @pll->rate_table may have allocated memory by\nkmemdup(), so it needs to be freed, otherwise will cause memory leak\nissue, this patch fixes it.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: rockchip: Fix memory leak in rockchip_clk_register_pll()\n\nIf clk_register() fails, @pll->rate_table may have allocated memory by\nkmemdup(), so it needs to be freed, otherwise will cause memory leak\nissue, this patch fixes it.","source":"cvelist"}],"published":"2025-10-07T15:19:16.595Z","modified":"2026-06-17T05:23:43.270Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"90c590254051f511299538c158e12fdad41ce163","fixed":"20201c3a0a32f127fa4bdf379d6ac01c2978702d","status":"affected"},{"type":"git","introduced":"90c590254051f511299538c158e12fdad41ce163","fixed":"86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968","status":"affected"},{"type":"git","introduced":"90c590254051f511299538c158e12fdad41ce163","fixed":"f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff","status":"affected"},{"type":"git","introduced":"90c590254051f511299538c158e12fdad41ce163","fixed":"26b94635f1c84d7f6cb482179125cb17e59c90a5","status":"affected"},{"type":"git","introduced":"90c590254051f511299538c158e12fdad41ce163","fixed":"f4d70c139d313948e02360304a6cbcd3a4f5deb5","status":"affected"},{"type":"git","introduced":"90c590254051f511299538c158e12fdad41ce163","fixed":"5b0a1f1247cd42ac5e0d369f8dbb58762692edee","status":"affected"},{"type":"git","introduced":"90c590254051f511299538c158e12fdad41ce163","fixed":"dcd4ba068b194c6ef0071491aa3f12bec8c14d5b","status":"affected"},{"type":"git","introduced":"90c590254051f511299538c158e12fdad41ce163","fixed":"f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb","status":"affected"},{"type":"git","introduced":"90c590254051f511299538c158e12fdad41ce163","fixed":"739a6a6bbdb793bd57938cb24aa5a6df89983546","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.17","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"3.17","fixed":"4.9.337"},{"status":"affected","introduced":"4.10","fixed":"4.14.303"},{"status":"affected","introduced":"4.15","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/20201c3a0a32f127fa4bdf379d6ac01c2978702d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/86e1e080ad14c5fb6c14a5f0eb530b1b38cbc968","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f02c1d8dc8d880cbaaf9094b4f396fe868ee23ff","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/26b94635f1c84d7f6cb482179125cb17e59c90a5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f4d70c139d313948e02360304a6cbcd3a4f5deb5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5b0a1f1247cd42ac5e0d369f8dbb58762692edee","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dcd4ba068b194c6ef0071491aa3f12bec8c14d5b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f2ffb8653ea85ae39ce44347751fcc4c3e41f6bb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/739a6a6bbdb793bd57938cb24aa5a6df89983546","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50523","url":"https://www.cve.org/CVERecord?id=CVE-2022-50523","licence":"CVE Terms of Use","modified":"2026-05-11T19:21:04.545Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50523","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50523","licence":"Public domain","modified":"2026-06-17T05:23:43.270Z"}],"updatedAt":"2026-11-25T22:58:21.257Z","epss":{"score":0.00163,"percentile":0.05753,"date":"2026-12-01T12:00:22.000Z"}}