{"id":"CVE-2023-54221","summary":"clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe\n\nIn function probe(), it returns directly without unregistered hws\nwhen error occurs.\n\nFix this by adding 'goto unregister_hws;' on line 295 and\nline 310.\n\nUse devm_kzalloc() instead of kzalloc() to automatically\nfree the memory using devm_kfree() when error occurs.\n\nReplace of_iomap() with devm_of_iomap() to automatically\nhandle the unused ioremap region and delete 'iounmap(anatop_base);'\nin unregister_hws.","modified":"2026-04-02T09:43:43.943265Z","published":"2025-12-30T12:11:16.053Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54221.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/280a5ff665e12d1e0c54c20cedc9c5008aa686a5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d17c16a2b2a6589c45b0bfb1b9914da80b72d89e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e02ba11b457647050cb16e7cad16cec3c252fade"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fac9c624138c4bc021d7a8ee3b974c9e10926d92"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54221.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54221"},{"type":"PACKAGE","url":"https://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":"24defbe194b650218680fcd9dec8cd103537b531"},{"fixed":"280a5ff665e12d1e0c54c20cedc9c5008aa686a5"},{"fixed":"fac9c624138c4bc021d7a8ee3b974c9e10926d92"},{"fixed":"d17c16a2b2a6589c45b0bfb1b9914da80b72d89e"},{"fixed":"e02ba11b457647050cb16e7cad16cec3c252fade"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54221.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.18.0"},{"fixed":"6.1.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.3.13"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.4.0"},{"fixed":"6.4.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-54221.json"}}],"schema_version":"1.7.5"}