What’s Vulnerable › Vulnerabilities

CVE-2023-53249: clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe

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

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

Get alerted when CVE-2023-53249 or the next vulnerability affects your stack