CVE-2024-53119virtio/vsock: Fix accept_queue memory leak
- 5.5MediumCVSS base score
- 0.25%Exploitation in 30 daysEPSS · top 83% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: virtio/vsock: Fix accept_queue memory leak As the final stages of socket destruction may be delayed, it is possible that virtio_transport_recv_listen() will be called after the accept_queue has been flushed, but before the SOCK_DONE flag has been set. As a result, sockets enqueued after the flush would remain unremoved, leading to a memory leak. vsock_release __vsock_release lock virtio_transport_release virtio_transport_close schedule_delayed_work(close_work) sk_shutdown = SHUTDOWN_MASK (!) flush accept_queue release virtio_transport_recv_pkt vsock_find_bound_socket lock if flag(SOCK_DONE) return virtio_transport_recv_listen child = vsock_create_connected (!) vsock_enqueue_accept(child) release close_work lock virtio_transport_do_close set_flag(SOCK_DONE) virtio_transport_remove_sock vsock_remove_sock vsock_remove_bound release Introduce a sk_shutdown check to disallow vsock_enqueue_accept() during socket destruction. unreferenced object 0xffff888109e3f800 (size 2040): comm "kworker/5:2", pid 371, jiffies 4294940105 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 28 00 0b 40 00 00 00 00 00 00 00 00 00 00 00 00 (..@............ backtrace (crc 9e5f4e84): [<ffffffff81418ff1>] kmem_cache_alloc_noprof+0x2c1/0x360 [<ffffffff81d27aa0>] sk_prot_alloc+0x30/0x120 [<ffffffff81d2b54c>] sk_alloc+0x2c/0x4b0 [<ffffffff81fe049a>] __vsock_create.constprop.0+0x2a/0x310 [<ffffffff81fe6d6c>] virtio_transport_recv_pkt+0x4dc/0x9a0 [<ffffffff81fe745d>] vsock_loopback_work+0xfd/0x140 [<ffffffff810fc6ac>] process_one_work+0x20c/0x570 [<ffffffff810fce3f>] worker_thread+0x1bf/0x3a0 [<ffffffff811070dd>] kthread+0xdd/0x110 [<ffffffff81044fdd>] ret_from_fork+0x2d/0x50 [<ffffffff8100785a>] ret_from_fork_asm+0x1a/0x30
Timeline
ID reserved
By Linux
- 13 days later
· 13 days later
Published
- 18 months later
· 18 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.25% · top 83% of all CVEs (19 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 3fe356d58efae54dade9ec94ea7c919ed20cf4db – < e26fa236758e8baa61a82cfd9fd4388d2e8d6a4c
- affected 3fe356d58efae54dade9ec94ea7c919ed20cf4db – < 4310902c766e371359e6c6311056ae80b5beeac9
- affected 3fe356d58efae54dade9ec94ea7c919ed20cf4db – < 946c7600fa2207cc8d3fbc86a518ec56f98a5813
- affected 3fe356d58efae54dade9ec94ea7c919ed20cf4db – < 897617a413e0bf1c6380e3b34b2f28f450508549
- affected 3fe356d58efae54dade9ec94ea7c919ed20cf4db – < 2415345042245de7601dcc6eafdbe3a3dcc9e379
- affected 3fe356d58efae54dade9ec94ea7c919ed20cf4db – < d7b0ff5a866724c3ad21f2628c22a63336deec3f
- affected 2e7dd95046203bd05e8f4dc06ee53cace70a8e3c
- affected 5.9.13 – < 5.10
- affected 5.10
- unaffected < 5.10
- unaffected 5.10.232 – ≤ 5.10.*
- unaffected 5.15.175 – ≤ 5.15.*
- unaffected 6.1.119 – ≤ 6.1.*
- unaffected 6.6.63 – ≤ 6.6.*
- unaffected 6.11.10 – ≤ 6.11.*
- unaffected 6.12 – ≤ *
References
References8
- https://git.kernel.org/stable/c/e26fa236758e8baa61a82cfd9fd4388d2e8d6a4c (opens in a new tab)
- https://git.kernel.org/stable/c/4310902c766e371359e6c6311056ae80b5beeac9 (opens in a new tab)
- https://git.kernel.org/stable/c/946c7600fa2207cc8d3fbc86a518ec56f98a5813 (opens in a new tab)
- https://git.kernel.org/stable/c/897617a413e0bf1c6380e3b34b2f28f450508549 (opens in a new tab)
- https://git.kernel.org/stable/c/2415345042245de7601dcc6eafdbe3a3dcc9e379 (opens in a new tab)
- https://git.kernel.org/stable/c/d7b0ff5a866724c3ad21f2628c22a63336deec3f (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-51791 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-53119)Record last updated .