CVE-2022-50882 media: uvcvideo: Fix memory leak in uvc_gpio_parse
설명
In the Linux kernel, the following vulnerability has been resolved: media: uvcvideo: Fix memory leak in uvc_gpio_parse Previously the unit buffer was allocated before checking the IRQ for privacy GPIO. In case of error, the unit buffer was leaked. Allocate the unit buffer after the IRQ to avoid it. Addresses-Coverity-ID: 1474639 ("Resource leak")
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 5.12
해결 버전
- 5.12 미만
- 5.15.75 이상
- 5.19.17 이상
- 6.0.3 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/4a7ae8d982a89b3b43b36ec7d62a2e3d06ffa16e (새 창)
- git.kernel.org https://git.kernel.org/stable/c/6c5da92103bddd1f0c36cb69446ff7cae3043986 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/deb8f32ae4b10a48c433f2da1b1159521ac24674 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f0f078457f18f10696888f8d0e6aba9deb9cde92 (새 창)