{"id":"CVE-2024-53118","published":"2024-12-02T13:44:49Z","modified":"2026-05-11T20:51:11Z","title":"vsock: Fix sk_error_queue memory leak","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: Fix sk_error_queue memory leak\n\nKernel queues MSG_ZEROCOPY completion notifications on the error queue.\nWhere they remain, until explicitly recv()ed. To prevent memory leaks,\nclean up the queue when the socket is destroyed.\n\nunreferenced object 0xffff8881028beb00 (size 224):\n  comm \"vsock_test\", pid 1218, jiffies 4294694897\n  hex dump (first 32 bytes):\n    90 b0 21 17 81 88 ff ff 90 b0 21 17 81 88 ff ff  ..!.......!.....\n    00 00 00 00 00 00 00 00 00 b0 21 17 81 88 ff ff  ..........!.....\n  backtrace (crc 6c7031ca):\n    [<ffffffff81418ef7>] kmem_cache_alloc_node_noprof+0x2f7/0x370\n    [<ffffffff81d35882>] __alloc_skb+0x132/0x180\n    [<ffffffff81d2d32b>] sock_omalloc+0x4b/0x80\n    [<ffffffff81d3a8ae>] msg_zerocopy_realloc+0x9e/0x240\n    [<ffffffff81fe5cb2>] virtio_transport_send_pkt_info+0x412/0x4c0\n    [<ffffffff81fe6183>] virtio_transport_stream_enqueue+0x43/0x50\n    [<ffffffff81fe0813>] vsock_connectible_sendmsg+0x373/0x450\n    [<ffffffff81d233d5>] ____sys_sendmsg+0x365/0x3a0\n    [<ffffffff81d246f4>] ___sys_sendmsg+0x84/0xd0\n    [<ffffffff81d26f47>] __sys_sendmsg+0x47/0x80\n    [<ffffffff820d3df3>] do_syscall_64+0x93/0x180\n    [<ffffffff8220012b>] entry_SYSCALL_64_after_hwframe+0x76/0x7e","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00263,"percentile":0.11155,"provenance":"source"},"cwes":[{"id":"CWE-401","name":"Missing Release of Memory after Effective Lifetime"}],"references":[{"url":"https://git.kernel.org/stable/c/bea4779a45f49275b1e1b1bd9de03cd3727244d8","tags":[]},{"url":"https://git.kernel.org/stable/c/fbf7085b3ad1c7cc0677834c90f985f1b4f77a33","tags":[]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":2.23},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 581512a6dc939ef122e49336626ae159f3b8a345, < bea4779a45f49275b1e1b1bd9de03cd3727244d8",">= 581512a6dc939ef122e49336626ae159f3b8a345, < fbf7085b3ad1c7cc0677834c90f985f1b4f77a33"]},{"vendor":"Linux","product":"Linux","versions":["6.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T20:10:21.956437Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-51790","exploited":false,"provenance":"source"}}