CVE-2023-53249 clk: imx: clk-imx8mn: fix memory leak in imx8mn_clocks_probe
설명
In the Linux kernel, the following vulnerability has been resolved: clk: imx: clk-imx8mn: fix memory leak in imx8mn_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().
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.4
해결 버전
- 5.4 미만
- 5.10.188 이상
- 5.15.121 이상
- 6.1.39 이상
- 6.3.13 이상
- 6.4.4 이상
참고 자료 6건
- git.kernel.org https://git.kernel.org/stable/c/188d070de9132667956f5aadd98d2bd87d3eac89 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/294321349bd3b0680847fc2bbe66b9ab3e522fea (새 창)
- git.kernel.org https://git.kernel.org/stable/c/50b5ddde8fad5f0ffd239029d0956af633a0f9b1 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9428cf0fbf4be9a24f3e15a0c166b861b12666af (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9ba3693b0350b154fdd7830559bbc7b04c067096 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d4fa5e47af1e7bb2bbcaac062b14216c00e92148 (새 창)