{"id":"CVE-2023-54221","aliases":["CVE-2023-54221"],"related":[],"kind":"vulnerability","state":"published","title":"clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nclk: imx93: corrige una fuga de memoria y un ’goto’ de desenrollado faltante en imx93_clocks_probe\n\nEn la función probe(), retorna directamente sin hws no registrados cuando ocurre un error.\n\nSoluciona esto añadiendo ’goto unregister_hws;’ en la línea 295 y la línea 310.\n\nUsa devm_kzalloc() en lugar de kzalloc() para liberar automáticamente la memoria usando devm_kfree() cuando ocurre un error.\n\nReemplaza of_iomap() con devm_of_iomap() para manejar automáticamente la región ioremap no utilizada y elimina ’iounmap(anatop_base);’ en unregister_hws.","source":"nvd"}],"published":"2025-12-30T12:11:16.053Z","modified":"2026-10-28T19:10:00.193Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"24defbe194b650218680fcd9dec8cd103537b531","fixed":"280a5ff665e12d1e0c54c20cedc9c5008aa686a5","status":"affected"},{"type":"git","introduced":"24defbe194b650218680fcd9dec8cd103537b531","fixed":"fac9c624138c4bc021d7a8ee3b974c9e10926d92","status":"affected"},{"type":"git","introduced":"24defbe194b650218680fcd9dec8cd103537b531","fixed":"d17c16a2b2a6589c45b0bfb1b9914da80b72d89e","status":"affected"},{"type":"git","introduced":"24defbe194b650218680fcd9dec8cd103537b531","fixed":"e02ba11b457647050cb16e7cad16cec3c252fade","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.18","status":"unaffected"},{"type":"semver","introduced":"6.1.39","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.13","lastAffected":"6.3.*","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/280a5ff665e12d1e0c54c20cedc9c5008aa686a5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fac9c624138c4bc021d7a8ee3b974c9e10926d92","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d17c16a2b2a6589c45b0bfb1b9914da80b72d89e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e02ba11b457647050cb16e7cad16cec3c252fade","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54221","url":"https://www.cve.org/CVERecord?id=CVE-2023-54221","licence":"CVE Terms of Use","modified":"2026-05-11T19:57:47.547Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54221","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54221","licence":"Public domain","modified":"2026-10-28T19:10:00.193Z"}],"updatedAt":"2026-11-25T22:58:35.228Z","epss":{"score":0.00214,"percentile":0.12441,"date":"2026-12-01T12:00:22.000Z"}}