clk: imx: clk-imxrt1050: fix memory leak in imxrt1050_clocks_probe
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 02e54db221bb001b32f839e0149ee8d890ab9aa1, Kernel 0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99, Kernel 1839032251a66f2ae5a043c495532830a55d28c4 and 1 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =5.18, >=7154b046d8f3a441474ced1688eb348d42f5f165 <02e54db221bb001b32f839e0149ee8d890ab9aa1, >=7154b046d8f3a441474ced1688eb348d42f5f165 <0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99, >=7154b046d8f3a441474ced1688eb348d42f5f165 <1839032251a66f2ae5a043c495532830a55d28c4, >=7154b046d8f3a441474ced1688eb348d42f5f165 <1b280598ab3bd8a2dc8b96a12530d5b1ee7a8f4a | 02e54db221bb001b32f839e0149ee8d890ab9aa1, 0fbdfd2542252e4c02e8158a06b7c0c9cfd40f99, 1839032251a66f2ae5a043c495532830a55d28c4, 1b280598ab3bd8a2dc8b96a12530d5b1ee7a8f4a |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket