CVE-2023-54221 Details
Description
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.
A memory leak vulnerability has been identified in the Linux kernel's IMX93 clock driver. When an error occurs during the 'probe()' function, the driver fails to unregister hardware clocks, leading to a memory leak. This issue affects the Linux kernel stable tree.
The vulnerability has been addressed by modifying the 'probe()' function to include a 'goto unregister_hws;' statement when an error occurs. This change ensures that the hardware clocks are properly unregistered, preventing the memory leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/280a5ff665e12d1e0c54c20cedc9c5008aa686a5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/d17c16a2b2a6589c45b0bfb1b9914da80b72d89e | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/e02ba11b457647050cb16e7cad16cec3c252fade | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/fac9c624138c4bc021d7a8ee3b974c9e10926d92 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 28, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion