CVE-2023-53424 clk: mediatek: fix of_iomap memory leak
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.15
해결 버전
- 5.15 미만
- 6.1.164 이상
- 6.3.13 이상
- 6.4.4 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/2cae6a28d8c12c597e8656962271520434c61c48 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/3db7285e044144fd88a356f5b641b9cd4b231a77 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/47234e19b00816a8a7b278c7173f6d4e928c43c7 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/847d5dd788ce05f0aaaa36ea174f7f0b9cf86f7d (새 창)