CVE-2021-47024 vsock/virtio: free queued packets when closing socket
설명
In the Linux kernel, the following vulnerability has been resolved: vsock/virtio: free queued packets when closing socket As reported by syzbot [1], there is a memory leak while closing the socket. We partially solved this issue with commit ac03046ece2b ("vsock/virtio: free packets during the socket release"), but we forgot to drain the RX queue when the socket is definitely closed by the scheduled work. To avoid future issues, let's use the new virtio_transport_remove_sock() to drain the RX queue before removing the socket from the af_vsock lists calling vsock_remove_sock(). [1] https://syzkaller.appspot.com/bug?extid=24452624fc4c571eedd9
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 4.9.179 이상 4.10 미만
- 4.14.122 이상 4.15 미만
- 4.19.46 이상 4.20 미만
- 5.0.19 이상 5.1 미만
- 5.1.5 이상 5.2 미만
- 5.2
해결 버전
- 4.10 이상
- 4.15 이상
- 4.20 이상
- 5.1 이상
- 5.2 이상
- 5.2 미만
- 5.10.37 이상
- 5.11.21 이상
외 1개 구간 펼치기
- 5.12.4 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/27691665145e74a45034a9dccf1150cf1894763a (새 창)
- git.kernel.org https://git.kernel.org/stable/c/37c38674ef2f8d7e8629e5d433c37d6c1273d16b (새 창)
- git.kernel.org https://git.kernel.org/stable/c/8432b8114957235f42e070a16118a7f750de9d39 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/b605673b523fe33abeafb2136759bcbc9c1e6ebf (새 창)