In the Linux kernel, the following vulnerability has been resolved: clk: mediatek: fix of_iomap memory leak Smatch reports: drivers/clk/mediatek/clk-mtk.c:583 mtk_clk_simple_probe() warn: 'base' from of_iomap() not released on lines: 496. This problem was also found in linux-next. In mtk_clk_simple_probe(), base is not released when handling errors if clk_data is not existed, which may cause a leak. So free_base should be added here to release base.
https://git.kernel.org/stable/c/47234e19b00816a8a7b278c7173f6d4e928c43c7
https://git.kernel.org/stable/c/3db7285e044144fd88a356f5b641b9cd4b231a77
https://git.kernel.org/stable/c/2cae6a28d8c12c597e8656962271520434c61c48