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:49Z
Modified
2025-10-10T01:48:52.290953Z
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

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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
581512a6dc939ef122e49336626ae159f3b8a345
Fixed
fbf7085b3ad1c7cc0677834c90f985f1b4f77a33

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.11.2
v6.11.3
v6.11.4
v6.11.5
v6.11.6
v6.11.7
v6.11.8
v6.11.9
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.6
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.11.10