{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-53118","id":"CVE-2024-53118","title":"vsock: Fix sk_error_queue memory leak","description":"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 429469489","descriptionLong":"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","published":"2024-12-02T13:44:49.658Z","updated":"2026-10-28T02:30:46.850803555Z","reserved":"2024-11-19T17:17:24.994Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"581512a6dc939ef122e49336626ae159f3b8a345","lessThan":"bea4779a45f49275b1e1b1bd9de03cd3727244d8","status":"affected","versionType":"git"},{"version":"581512a6dc939ef122e49336626ae159f3b8a345","lessThan":"fbf7085b3ad1c7cc0677834c90f985f1b4f77a33","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","status":"unaffected","versionType":"semver"},{"version":"6.11.10","lessThanOrEqual":"6.11.*","status":"unaffected","versionType":"semver"},{"version":"6.12","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/bea4779a45f49275b1e1b1bd9de03cd3727244d8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fbf7085b3ad1c7cc0677834c90f985f1b4f77a33","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53118.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53118","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00205,"epssPercentile":0.10557,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-53118","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53118","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-53118","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-53118","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}