CVE-2022-50837 net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path
설명
In the Linux kernel, the following vulnerability has been resolved: net: dsa: tag_8021q: avoid leaking ctx on dsa_tag_8021q_register() error path If dsa_tag_8021q_setup() fails, for example due to the inability of the device to install a VLAN, the tag_8021q context of the switch will leak. Make sure it is freed on the error path.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.15
해결 버전
- 5.15 미만
- 5.15.86 이상
- 6.0.16 이상
- 6.1.2 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/09f30f394e832ed09859b6a80fdd20668a9104ff (새 창)
- git.kernel.org https://git.kernel.org/stable/c/14ed46a13aba42a6ddd85de6f6274090df3586a5 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/39691d51af99f80efb9e365f94b8e0c791fa1a2f (새 창)
- git.kernel.org https://git.kernel.org/stable/c/e095493091e850d5292ad01d8fbf5cde1d89ac53 (새 창)