{"id":"CVE-2023-53704","aliases":["CVE-2023-53704"],"related":[],"kind":"vulnerability","state":"published","title":"clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()\n\nReplace of_iomap() and kzalloc() with devm_of_iomap() and devm_kzalloc()\nwhich can automatically release the related memory when the device\nor driver is removed or unloaded to avoid potential memory leak.\n\nIn this case, iounmap(anatop_base) in line 427,433 are removed\nas manual release is not required.\n\nBesides, referring to clk-imx8mq.c, check the return code of\nof_clk_add_hw_provider, if it returns negtive, print error info\nand unregister hws, which makes the program more robust.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nclk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()\n\nReplace of_iomap() and kzalloc() with devm_of_iomap() and devm_kzalloc()\nwhich can automatically release the related memory when the device\nor driver is removed or unloaded to avoid potential memory leak.\n\nIn this case, iounmap(anatop_base) in line 427,433 are removed\nas manual release is not required.\n\nBesides, referring to clk-imx8mq.c, check the return code of\nof_clk_add_hw_provider, if it returns negtive, print error info\nand unregister hws, which makes the program more robust.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nclk: imx: clk-imx8mp: mejora el manejo de errores en imx8mp_clocks_probe()\n\nReemplazar of_iomap() y kzalloc() con devm_of_iomap() y devm_kzalloc() que pueden liberar automáticamente la memoria relacionada cuando el dispositivo o controlador es eliminado o descargado para evitar posibles fugas de memoria.\n\nEn este caso, iounmap(anatop_base) en las líneas 427,433 son eliminados ya que la liberación manual no es necesaria.\n\nAdemás, refiriéndose a clk-imx8mq.c, verificar el código de retorno de of_clk_add_hw_provider, si devuelve un valor negativo, imprimir información de error y anular el registro de los hws, lo que hace que el programa sea más robusto.","source":"nvd"}],"published":"2025-10-22T13:23:42.067Z","modified":"2026-10-28T19:10:00.193Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9c140d9926761b0f5d329ff6c09a1540f3d5e1d3","fixed":"cb047c13bbf9018693ae31f03a5a26b212d02f13","status":"affected"},{"type":"git","introduced":"9c140d9926761b0f5d329ff6c09a1540f3d5e1d3","fixed":"bcea444ab4c045864b55d67313833d606676602a","status":"affected"},{"type":"git","introduced":"9c140d9926761b0f5d329ff6c09a1540f3d5e1d3","fixed":"6317d0302655f7e854cd4f31e93b47d35cb058bb","status":"affected"},{"type":"git","introduced":"9c140d9926761b0f5d329ff6c09a1540f3d5e1d3","fixed":"5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a","status":"affected"},{"type":"git","introduced":"9c140d9926761b0f5d329ff6c09a1540f3d5e1d3","fixed":"92ce7629a11ae62292e1cfaa6132dab081fc80ee","status":"affected"},{"type":"git","introduced":"9c140d9926761b0f5d329ff6c09a1540f3d5e1d3","fixed":"878b02d5f3b56cb090dbe2c70c89273be144087f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.10.188","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.121","lastAffected":"5.15.*","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/cb047c13bbf9018693ae31f03a5a26b212d02f13","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bcea444ab4c045864b55d67313833d606676602a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6317d0302655f7e854cd4f31e93b47d35cb058bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/92ce7629a11ae62292e1cfaa6132dab081fc80ee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/878b02d5f3b56cb090dbe2c70c89273be144087f","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53704","url":"https://www.cve.org/CVERecord?id=CVE-2023-53704","licence":"CVE Terms of Use","modified":"2026-05-11T19:50:14.396Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53704","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53704","licence":"Public domain","modified":"2026-10-28T19:10:00.193Z"}],"updatedAt":"2026-11-25T22:58:35.015Z","epss":{"score":0.00285,"percentile":0.13589,"date":"2026-11-30T12:00:22.000Z"}}