{"id":"CVE-2023-53704","summary":"clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()","details":"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.","modified":"2026-04-02T09:44:53.567449Z","published":"2025-10-22T13:23:42.067Z","related":["SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4111-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4301-1","SUSE-SU-2025:4320-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53704.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6317d0302655f7e854cd4f31e93b47d35cb058bb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/878b02d5f3b56cb090dbe2c70c89273be144087f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/92ce7629a11ae62292e1cfaa6132dab081fc80ee"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bcea444ab4c045864b55d67313833d606676602a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cb047c13bbf9018693ae31f03a5a26b212d02f13"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53704.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53704"},{"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":"9c140d9926761b0f5d329ff6c09a1540f3d5e1d3"},{"fixed":"cb047c13bbf9018693ae31f03a5a26b212d02f13"},{"fixed":"bcea444ab4c045864b55d67313833d606676602a"},{"fixed":"6317d0302655f7e854cd4f31e93b47d35cb058bb"},{"fixed":"5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a"},{"fixed":"92ce7629a11ae62292e1cfaa6132dab081fc80ee"},{"fixed":"878b02d5f3b56cb090dbe2c70c89273be144087f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53704.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.6.0"},{"fixed":"5.10.188"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.121"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.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-53704.json"}}],"schema_version":"1.7.5"}