What’s Vulnerable › Vulnerabilities
CVE-2023-53249: clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-15 · updated 2026-06-17
- Weakness: CWE-401
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().
Affected products
- Linux kernel: from 5.4 before 5.10.188; from 5.11 before 5.15.121; from 5.16 before 6.1.39; from 6.2 before 6.3.13; from 6.4 before 6.4.4 — fixed in 5.10.188, 5.15.121, 6.1.39, 6.3.13, 6.4.4
How to fix
Upgrade to a fixed version: Linux kernel 5.10.188, 5.15.121, 6.1.39, 6.3.13. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/188d070de9132667956f5aadd98d2bd87d3eac89
- https://git.kernel.org/stable/c/294321349bd3b0680847fc2bbe66b9ab3e522fea
- https://git.kernel.org/stable/c/50b5ddde8fad5f0ffd239029d0956af633a0f9b1
- https://git.kernel.org/stable/c/9428cf0fbf4be9a24f3e15a0c166b861b12666af
- https://git.kernel.org/stable/c/9ba3693b0350b154fdd7830559bbc7b04c067096
- https://git.kernel.org/stable/c/d4fa5e47af1e7bb2bbcaac062b14216c00e92148
Get alerted when CVE-2023-53249 or the next vulnerability affects your stack