CVE-2023-53249 Details
Description
In the Linux kernel, the following vulnerability has been resolved: clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe Use devm_of_iomap() instead of of_iomap() to automatically handle the unused ioremap region. If any error occurs, regions allocated by kzalloc() will leak, but using devm_kzalloc() instead will automatically free the memory using devm_kfree().
A memory leak vulnerability has been identified in the Linux kernel's clock driver for the i.MX8MN platform. The issue arises in the 'imx8mn_clocks_probe' function, where the 'of_iomap' function is used without proper error handling. This oversight can lead to memory allocated by 'kzalloc' leaking if an error occurs. The vulnerability is present in several versions of the Linux kernel.
The vulnerability has been addressed by modifying the clock driver to use 'devm_of_iomap' instead of 'of_iomap'. This change automatically manages the unused I/O mapping region and prevents memory leaks by using 'devm_kzalloc' to allocate memory, which is automatically freed with 'devm_kfree' in case of an error.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References 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/188d070de9132667956f5aadd98d2bd87d3eac89 | kernel.org | Patch |
| https://git.kernel.org/stable/c/294321349bd3b0680847fc2bbe66b9ab3e522fea | kernel.org | Patch |
| https://git.kernel.org/stable/c/50b5ddde8fad5f0ffd239029d0956af633a0f9b1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9428cf0fbf4be9a24f3e15a0c166b861b12666af | kernel.org | Patch |
| https://git.kernel.org/stable/c/9ba3693b0350b154fdd7830559bbc7b04c067096 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d4fa5e47af1e7bb2bbcaac062b14216c00e92148 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.4, < 5.10.188 >= 5.11, < 5.15.121 >= 5.16, < 6.1.39 >= 6.2, < 6.3.13 >= 6.4, < 6.4.4 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 3, 2025 | Initial Analysis | [email protected] |
| Sep 15, 2025 | New CVE Received | kernel.org |