CVE-2023-54169 net/mlx5e: fix memory leak in mlx5e_ptp_open
설명
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: fix memory leak in mlx5e_ptp_open When kvzalloc_node or kvzalloc failed in mlx5e_ptp_open, the memory pointed by "c" or "cparams" is not freed, which can lead to a memory leak. Fix by freeing the array in the error path.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.11
해결 버전
- 5.11 미만
- 5.15.121 이상
- 6.1.40 이상
- 6.4.5 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/4892e1e548b5bd6524c1c89df06e4849df26fc20 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7035e3ae600c4e9cb3dc220c24dd77112ddff8b1 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/83a8f7337a14cdb215c76a8f4cf3f3be8b59177d (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d543b649ffe58a0cb4b6948b3305069c5980a1fa (새 창)