{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-47024","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-02-27T18:42:55.960Z","datePublished":"2024-02-28T08:13:36.489Z","dateUpdated":"2025-05-04T12:40:56.582Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2025-05-04T12:40:56.582Z"},"descriptions":[{"lang":"en","value":"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"}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/vmw_vsock/virtio_transport_common.c"],"versions":[{"version":"ac03046ece2b158ebd204dfc4896fd9f39f0e6c8","lessThan":"b605673b523fe33abeafb2136759bcbc9c1e6ebf","status":"affected","versionType":"git"},{"version":"ac03046ece2b158ebd204dfc4896fd9f39f0e6c8","lessThan":"27691665145e74a45034a9dccf1150cf1894763a","status":"affected","versionType":"git"},{"version":"ac03046ece2b158ebd204dfc4896fd9f39f0e6c8","lessThan":"37c38674ef2f8d7e8629e5d433c37d6c1273d16b","status":"affected","versionType":"git"},{"version":"ac03046ece2b158ebd204dfc4896fd9f39f0e6c8","lessThan":"8432b8114957235f42e070a16118a7f750de9d39","status":"affected","versionType":"git"},{"version":"4ea082cd3c400cd5bb36a7beb7e441bf3e29350d","status":"affected","versionType":"git"},{"version":"4e539fa2dec4db3405e47002f2878aa4a99eb68b","status":"affected","versionType":"git"},{"version":"4af8a327aeba102aaa9b78f3451f725bc590b237","status":"affected","versionType":"git"},{"version":"51adb8ebe8c1d80528fc2ea863cfea9d32d2c52b","status":"affected","versionType":"git"},{"version":"7d29c9ad0ed525c1b10e29cfca4fb1eece1e93fb","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/vmw_vsock/virtio_transport_common.c"],"versions":[{"version":"5.2","status":"affected"},{"version":"0","lessThan":"5.2","status":"unaffected","versionType":"semver"},{"version":"5.10.37","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.11.21","lessThanOrEqual":"5.11.*","status":"unaffected","versionType":"semver"},{"version":"5.12.4","lessThanOrEqual":"5.12.*","status":"unaffected","versionType":"semver"},{"version":"5.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.10.37"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.11.21"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.12.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.13"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.9.179"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.14.122"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.46"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1.5"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/b605673b523fe33abeafb2136759bcbc9c1e6ebf"},{"url":"https://git.kernel.org/stable/c/27691665145e74a45034a9dccf1150cf1894763a"},{"url":"https://git.kernel.org/stable/c/37c38674ef2f8d7e8629e5d433c37d6c1273d16b"},{"url":"https://git.kernel.org/stable/c/8432b8114957235f42e070a16118a7f750de9d39"}],"title":"vsock/virtio: free queued packets when closing socket","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2021-47024","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-03-05T18:00:51.887353Z"}}}],"providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-06-04T17:13:23.950Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-04T05:24:39.600Z"},"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/b605673b523fe33abeafb2136759bcbc9c1e6ebf","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/27691665145e74a45034a9dccf1150cf1894763a","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/37c38674ef2f8d7e8629e5d433c37d6c1273d16b","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/8432b8114957235f42e070a16118a7f750de9d39","tags":["x_transferred"]}]}]}}