CVE-2022-49857 net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init()
설명
In the Linux kernel, the following vulnerability has been resolved: net: marvell: prestera: fix memory leak in prestera_rxtx_switch_init() When prestera_sdma_switch_init() failed, the memory pointed to by sw->rxtx isn't released. Fix it. Only be compiled, not be tested.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.10
해결 버전
- 5.10 미만
- 5.10.155 이상
- 5.15.79 이상
- 6.0.9 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/31e5084ac6876e52dbb0a1cc4fc18b6c79979f31 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/409731df6310a33f4d0a3ef594d2410cdcd637f2 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/519b58bbfa825f042fcf80261cc18e1e35f85ffd (새 창)
- git.kernel.org https://git.kernel.org/stable/c/5333cf1b7f6861912aff6263978d4781f9858e47 (새 창)