VDB

CVE-2024-53175

CVE-2024-53175 PUBLISHED CVSS 5.5 MEDIUM

ipc: fix memleak if msg_init_ns failed in create_ipc_ns

Reported by linux · Published December 27, 2024

In the Linux kernel, the following vulnerability has been resolved: ipc: fix memleak if msg_init_ns failed in create_ipc_ns Percpu memory allocation may failed during create_ipc_ns however this fail is not handled properly since ipc sysctls and mq sysctls is not released properly. Fix this by release these two resource when failure. Here is the kmemleak stack when percpu failed: unreferenced object 0xffff88819de2a600 (size 512): comm "shmem_2nstest", pid 120711, jiffies 4300542254 hex dump (first 32 bytes): 60 aa 9d 84 ff ff ff ff fc 18 48 b2 84 88 ff ff `.........H..... 04 00 00 00 a4 01 00 00 20 e4 56 81 ff ff ff ff ........ .V..... backtrace (crc be7cba35): [<ffffffff81b43f83>] __kmalloc_node_track_caller_noprof+0x333/0x420 [<ffffffff81a52e56>] kmemdup_noprof+0x26/0x50 [<ffffffff821b2f37>] setup_mq_sysctls+0x57/0x1d0 [<ffffffff821b29cc>] copy_ipcs+0x29c/0x3b0 [<ffffffff815d6a10>] create_new_namespaces+0x1d0/0x920 [<ffffffff815d7449>] copy_namespaces+0x2e9/0x3e0 [<ffffffff815458f3>] copy_process+0x29f3/0x7ff0 [<ffffffff8154b080>] kernel_clone+0xc0/0x650 [<ffffffff8154b6b1>] __do_sys_clone+0xa1/0xe0 [<ffffffff843df8ff>] do_syscall_64+0xbf/0x1c0 [<ffffffff846000b0>] entry_SYSCALL_64_after_hwframe+0x4b/0x53

Risk scores

CVSS 3.1
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux72d1e611082eda18689106a0c192f2827072713c, 72d1e611082eda18689106a0c192f2827072713c, 72d1e611082eda18689106a0c192f2827072713c
LinuxLinux6.1, 0, 6.1.120
linuxlinux_kernel6.1, 6.1, 6.1
amazon:2023kernel-tools0
amazon:2023perf0
amazon:2023kernel0
amazon:2023kernel-libbpf0
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.124-134.2000
LinuxLinux72d1e611082eda18689106a0c192f2827072713c, 72d1e611082eda18689106a0c192f2827072713c, 6.6.64
amazon:2023kernel-tools-devel0
amazon:2023bpftool0
amazon:2023kernel-modules-extra0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-headers0
amazon:2023kernel-devel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-libbpf-static0

Timeline

  • Dec 27, 2024 CVE Published
  • Dec 28, 2024 EPSS Score (30 in total, the first dated here)
  • Feb 21, 2025 Coalition ESS Score (13 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Dec 31, 2025 Security Advisory (46 in total, the first dated here)
  • Apr 29, 2026 Distribution Patch (44 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-53175
vulnetix vdb fixes CVE-2024-53175

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-53175/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›