All reports
Low

kernel: clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2023-53264

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-23

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.