CVE-2023-53704 Details
Description
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.
A vulnerability related to memory management has been addressed in the Linux kernel's IMX8MP clock driver. The issue arose from the use of 'of_iomap()' and 'kzalloc()' for memory allocation, which could lead to potential memory leaks when the device or driver was removed. The updated code replaces these functions with 'devm_of_iomap()' and 'devm_kzalloc()', allowing for automatic memory management. Additionally, the error handling has been enhanced by checking the return value of 'of_clk_add_hw_provider' and unregistering hardware clocks if an error occurs, making the driver more robust.
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 Oct 22, 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/5bcf140e9e6cf76f1f1bd1f489a14ca4d49f9a1a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6317d0302655f7e854cd4f31e93b47d35cb058bb | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/878b02d5f3b56cb090dbe2c70c89273be144087f | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/92ce7629a11ae62292e1cfaa6132dab081fc80ee | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/bcea444ab4c045864b55d67313833d606676602a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/cb047c13bbf9018693ae31f03a5a26b212d02f13 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
| NXP i.MX8MP | 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 |
| Oct 22, 2025 | New CVE Received | kernel.org |
Volerion