What’s Vulnerable › Vulnerabilities

CVE-2023-53264: clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe

Description

In the Linux kernel, the following vulnerability has been resolved: clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_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(). Also, fix error handling of hws by adding unregister_hws label, which unregisters remaining hws when iomap failed.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.39, 6.3.13, 6.4.4. Check the vendor advisory for mitigations.

References

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