CVE-2024-53118

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-53118
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53118.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53118
Downstream
Related
Published
2024-12-02T13:44:49.658Z
Modified
2025-11-28T02:34:18.801314Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
vsock: Fix sk_error_queue memory leak
Details

In the Linux kernel, the following vulnerability has been resolved:

vsock: Fix skerrorqueue memory leak

Kernel queues MSG_ZEROCOPY completion notifications on the error queue. Where they remain, until explicitly recv()ed. To prevent memory leaks, clean up the queue when the socket is destroyed.

unreferenced object 0xffff8881028beb00 (size 224): comm "vsocktest", pid 1218, jiffies 4294694897 hex dump (first 32 bytes): 90 b0 21 17 81 88 ff ff 90 b0 21 17 81 88 ff ff ..!.......!..... 00 00 00 00 00 00 00 00 00 b0 21 17 81 88 ff ff ..........!..... backtrace (crc 6c7031ca): [<ffffffff81418ef7>] kmemcacheallocnodenoprof+0x2f7/0x370 [<ffffffff81d35882>] allocskb+0x132/0x180 [<ffffffff81d2d32b>] sockomalloc+0x4b/0x80 [<ffffffff81d3a8ae>] msgzerocopyrealloc+0x9e/0x240 [<ffffffff81fe5cb2>] virtiotransportsendpktinfo+0x412/0x4c0 [<ffffffff81fe6183>] virtiotransportstreamenqueue+0x43/0x50 [<ffffffff81fe0813>] vsockconnectiblesendmsg+0x373/0x450 [<ffffffff81d233d5>] syssendmsg+0x365/0x3a0 [<ffffffff81d246f4>] _syssendmsg+0x84/0xd0 [<ffffffff81d26f47>] _syssendmsg+0x47/0x80 [<ffffffff820d3df3>] dosyscall64+0x93/0x180 [<ffffffff8220012b>] entrySYSCALL64afterhwframe+0x76/0x7e

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53118.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
581512a6dc939ef122e49336626ae159f3b8a345
Fixed
bea4779a45f49275b1e1b1bd9de03cd3727244d8
Fixed
fbf7085b3ad1c7cc0677834c90f985f1b4f77a33

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.10