CVE-2023-53704

Linux Kernel 5.6.0-6.4.4 Memory Leak in Clock Driver Error Handling

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe() Replace of_iomap() and kzalloc() with devm_of_iomap() and devm_kzalloc() which can automatically release the related memory when the device or driver is removed or unloaded to avoid potential memory leak. In this case, iounmap(anatop_base) in line 427,433 are removed as manual release is not required. Besides, referring to clk-imx8mq.c, check the return code of of_clk_add_hw_provider, if it returns negtive, print error info and unregister hws, which makes the program more robust.

Scores

EPSS 0.0021
EPSS Percentile 10.7%

Details

Status published
Products (19)
linux/Kernel 5.11.0 - 5.15.121linux
linux/Kernel 5.16.0 - 6.1.39linux
linux/Kernel 5.6.0 - 5.10.188linux
linux/Kernel 6.2.0 - 6.3.13linux
linux/Kernel 6.4.0 - 6.4.4linux
Linux/Linux < 5.6
Linux/Linux 5.10.188 - 5.10.*
Linux/Linux 5.15.121 - 5.15.*
Linux/Linux 5.6
Linux/Linux 6.1.39 - 6.1.*
... and 9 more
Published Oct 22, 2025
Tracked Since Feb 18, 2026