{"id":"CVE-2021-47024","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock/virtio: free queued packets when closing socket\n\nAs reported by syzbot [1], there is a memory leak while closing the\nsocket. We partially solved this issue with commit ac03046ece2b\n(\"vsock/virtio: free packets during the socket release\"), but we\nforgot to drain the RX queue when the socket is definitely closed by\nthe scheduled work.\n\nTo avoid future issues, let's use the new virtio_transport_remove_sock()\nto drain the RX queue before removing the socket from the af_vsock lists\ncalling vsock_remove_sock().\n\n[1] https://syzkaller.appspot.com/bug?extid=24452624fc4c571eedd9","modified":"2026-03-14T11:18:53.492684Z","published":"2024-02-28T09:15:39.243Z","related":["SUSE-SU-2024:1643-1","SUSE-SU-2024:1646-1","SUSE-SU-2024:1870-1"],"references":[{"type":"FIX","url":"https://git.kernel.org/stable/c/27691665145e74a45034a9dccf1150cf1894763a"},{"type":"FIX","url":"https://git.kernel.org/stable/c/37c38674ef2f8d7e8629e5d433c37d6c1273d16b"},{"type":"FIX","url":"https://git.kernel.org/stable/c/8432b8114957235f42e070a16118a7f750de9d39"},{"type":"FIX","url":"https://git.kernel.org/stable/c/b605673b523fe33abeafb2136759bcbc9c1e6ebf"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-47024.json","unresolved_ranges":[{"events":[{"introduced":"5.2"},{"fixed":"5.10.37"}]},{"events":[{"introduced":"5.11"},{"fixed":"5.11.21"}]},{"events":[{"introduced":"5.12"},{"fixed":"5.12.4"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}