medium5.5
CVE-2023-53424
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 …
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | from 5.15 before 6.3.13 from 6.4 before 6.4.4 |
Weakness classification
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/2cae6a28d8c12c597e8656962271520434c61c48
- https://git.kernel.org/stable/c/3db7285e044144fd88a356f5b641b9cd4b231a77
- https://git.kernel.org/stable/c/47234e19b00816a8a7b278c7173f6d4e928c43c7
- https://git.kernel.org/stable/c/847d5dd788ce05f0aaaa36ea174f7f0b9cf86f7d