CVE-2023-54221

published 30 Dec 2025 · updated 11 May 2026

clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 280a5ff665e12d1e0c54c20cedc9c5008aa686a5, Kernel d17c16a2b2a6589c45b0bfb1b9914da80b72d89e, Kernel e02ba11b457647050cb16e7cad16cec3c252fade and 1 more.

In the Linux kernel, the following vulnerability has been resolved: clk: imx93: fix memory leak and missing unwind goto in imx93_clocks_probe In function probe(), it returns directly without unregistered hws when error occurs. Fix this by adding 'goto unregister_hws;' on line 295 and line 310. Use devm_kzalloc() instead of kzalloc() to automatically free the memory using devm_kfree() when error occurs. Replace of_iomap() with devm_of_iomap() to automatically handle the unused ioremap region and delete 'iounmap(anatop_base);' in unregister_hws.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.18, >=24defbe194b650218680fcd9dec8cd103537b531 <280a5ff665e12d1e0c54c20cedc9c5008aa686a5, >=24defbe194b650218680fcd9dec8cd103537b531 <d17c16a2b2a6589c45b0bfb1b9914da80b72d89e, >=24defbe194b650218680fcd9dec8cd103537b531 <e02ba11b457647050cb16e7cad16cec3c252fade, >=24defbe194b650218680fcd9dec8cd103537b531 <fac9c624138c4bc021d7a8ee3b974c9e10926d92280a5ff665e12d1e0c54c20cedc9c5008aa686a5, d17c16a2b2a6589c45b0bfb1b9914da80b72d89e, e02ba11b457647050cb16e7cad16cec3c252fade, fac9c624138c4bc021d7a8ee3b974c9e10926d92

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54221 severity on Zeptric[![CVE-2023-54221](https://zeptric.io/badge/cve/CVE-2023-54221.svg)](https://zeptric.io/cve/CVE-2023-54221)