CVE-2023-54221
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 versions
Linux kernel versions
5.18
and later are affected. Fixed in
6.1.39,
6.3.13,
6.4.4,
6.5
and their respective stable series.
References
The following references provide additional information about CVE-2023-54221 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/280a5ff665e12d1e0c54c20cedc9c5008aa686a5
-
PatchKernel patch commithttps://git.kernel.org/stable/c/d17c16a2b2a6589c45b0bfb1b9914da80b72d89e
-
PatchKernel patch commithttps://git.kernel.org/stable/c/e02ba11b457647050cb16e7cad16cec3c252fade
Frequently asked questions
-
What is CVE-2023-54221?
CVE-2023-54221 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.18 onward and has been patched in 6.1.39, 6.3.13, 6.4.4 and others. CVE-2023-54221 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-54221?
Yes — CVE-2023-54221 has been patched. Fixed versions include 6.1.39, 6.3.13, 6.4.4 and others. If you are running Linux kernel 5.18 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-54221 actively exploited?
No — CVE-2023-54221 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.