{"id":"CVE-2021-47024","published":"2024-02-28T08:13:36Z","modified":"2026-05-23T15:19:08Z","title":"vsock/virtio: free queued packets when closing socket","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0025,"percentile":0.09844,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/b605673b523fe33abeafb2136759bcbc9c1e6ebf","tags":[]},{"url":"https://git.kernel.org/stable/c/27691665145e74a45034a9dccf1150cf1894763a","tags":[]},{"url":"https://git.kernel.org/stable/c/37c38674ef2f8d7e8629e5d433c37d6c1273d16b","tags":[]},{"url":"https://git.kernel.org/stable/c/8432b8114957235f42e070a16118a7f750de9d39","tags":[]}],"priority":{"score":2.0,"factors":[{"name":"EPSS percentile","points":1.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < b605673b523fe33abeafb2136759bcbc9c1e6ebf",">= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 27691665145e74a45034a9dccf1150cf1894763a",">= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 37c38674ef2f8d7e8629e5d433c37d6c1273d16b",">= ac03046ece2b158ebd204dfc4896fd9f39f0e6c8, < 8432b8114957235f42e070a16118a7f750de9d39","4ea082cd3c400cd5bb36a7beb7e441bf3e29350d","4e539fa2dec4db3405e47002f2878aa4a99eb68b","4af8a327aeba102aaa9b78f3451f725bc590b237","51adb8ebe8c1d80528fc2ea863cfea9d32d2c52b","7d29c9ad0ed525c1b10e29cfca4fb1eece1e93fb",">= 4.9.179, < 4.10"]},{"vendor":"Linux","product":"Linux","versions":["5.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-05T18:00:51.887353Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33672","exploited":false,"provenance":"source"}}