CVE-2023-53704
In the Linux kernel, the following vulnerability has been resolved: clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe() Replace of_iomap() and kzalloc() with devm_of_iomap() and devm_kzalloc() which can automatically release the related memory when the device or driver is removed or unloaded to avoid potential memory leak. In this case, iounmap(anatop_base) in line 427,433 are removed as manual release is not required. Besides, referring to clk-imx8mq.c, check the return code of of_clk_add_hw_provider, if it returns negtive, print error info and unregister hws, which makes the program more robust.
Affected versions
Linux kernel versions
5.6
and later are affected. Fixed in
5.10.188,
5.15.121,
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-53704 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/5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a
-
PatchKernel patch commithttps://git.kernel.org/stable/c/6317d0302655f7e854cd4f31e93b47d35cb058bb
-
PatchKernel patch commithttps://git.kernel.org/stable/c/878b02d5f3b56cb090dbe2c70c89273be144087f
Frequently asked questions
-
What is CVE-2023-53704?
CVE-2023-53704 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.6 onward and has been patched in 5.10.188, 5.15.121, 6.1.39 and others. CVE-2023-53704 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
Is there a patch available for CVE-2023-53704?
Yes — CVE-2023-53704 has been patched. Fixed versions include 5.10.188, 5.15.121, 6.1.39 and others. If you are running Linux kernel 5.6 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2023-53704 actively exploited?
No — CVE-2023-53704 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.