# CVE-2024-53175: ipc: fix memleak if msg\_init\_ns failed in create\_ipc\_ns

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-12-27T13:49:19.695Z
- **Modified:** 2026-06-17T08:08:29.720Z

## Who should check

- Anyone running Linux \>= 72d1e611082eda18689106a0c192f2827072713c, \< 3d230cfd4b9b0558c7b2039ba1def2ce6b6cd158; \>= 72d1e611082eda18689106a0c192f2827072713c, \< 10209665b5bf199f8065b2e7d2b2dc6cdf227117; \>= 72d1e611082eda18689106a0c192f2827072713c, \< 8fed302872e26c7bf44d855c53a1cde747172d58; \>= 72d1e611082eda18689106a0c192f2827072713c, \< 928de5fcd462498b8334107035da8ab85e316d8a; \>= 72d1e611082eda18689106a0c192f2827072713c, \< bc8f5921cd69188627c08041276238de222ab466
- Anyone running Linux 6.1

## Description

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

## Affected and fixed versions

- Linux: \>= 72d1e611082eda18689106a0c192f2827072713c, \< 3d230cfd4b9b0558c7b2039ba1def2ce6b6cd158; \>= 72d1e611082eda18689106a0c192f2827072713c, \< 10209665b5bf199f8065b2e7d2b2dc6cdf227117; \>= 72d1e611082eda18689106a0c192f2827072713c, \< 8fed302872e26c7bf44d855c53a1cde747172d58; \>= 72d1e611082eda18689106a0c192f2827072713c, \< 928de5fcd462498b8334107035da8ab85e316d8a; \>= 72d1e611082eda18689106a0c192f2827072713c, \< bc8f5921cd69188627c08041276238de222ab466 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-53175. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-53175.md
Affected: Linux >= 72d1e611082eda18689106a0c192f2827072713c, < 3d230cfd4b9b0558c7b2039ba1def2ce6b6cd158; >= 72d1e611082eda18689106a0c192f2827072713c, < 10209665b5bf199f8065b2e7d2b2dc6cdf227117; >= 72d1e611082eda18689106a0c192f2827072713c, < 8fed302872e26c7bf44d855c53a1cde747172d58; >= 72d1e611082eda18689106a…
Fixed in: Linux 3d230cfd4b9b0558c7b2039ba1def2ce6b6cd158, Linux 10209665b5bf199f8065b2e7d2b2dc6cdf227117, Linux 8fed302872e26c7bf44d855c53a1cde747172d58, Linux 928de5fcd462498b8334107035da8ab85e316d8a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-53175 being exploited?

There is no confirmed exploitation: CVE-2024-53175 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-53175?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-53175?

Linux \>= 72d1e611082eda18689106a0c192f2827072713c, \< 3d230cfd4b9b0558c7b2039ba1def2ce6b6cd158; \>= 72d1e611082eda18689106a0c192f2827072713c, \< 10209665b5bf199f8065b2e7d2b2dc6cdf227117; \>= 72d1e611082eda18689106a0c192f2827072713c, \< 8fed302872e26c7bf44d855c53a1cde747172d58; \>= 72d1e611082eda18689106a0c192f2827072713c, \< 928de5fcd462498b8334107035da8ab85e316d8a; \>= 72d1e611082eda18689106a0c192f2827072713c, \< bc8f5921cd69188627c08041276238de222ab466; Linux 6.1.

### Is there a fix for CVE-2024-53175?

Yes. Fixed in Linux 3d230cfd4b9b0558c7b2039ba1def2ce6b6cd158, Linux 10209665b5bf199f8065b2e7d2b2dc6cdf227117, Linux 8fed302872e26c7bf44d855c53a1cde747172d58, Linux 928de5fcd462498b8334107035da8ab85e316d8a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-53175?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/3d230cfd4b9b0558c7b2039ba1def2ce6b6cd158>
- patch: <https://git.kernel.org/stable/c/10209665b5bf199f8065b2e7d2b2dc6cdf227117>
- patch: <https://git.kernel.org/stable/c/8fed302872e26c7bf44d855c53a1cde747172d58>
- patch: <https://git.kernel.org/stable/c/928de5fcd462498b8334107035da8ab85e316d8a>
- patch: <https://git.kernel.org/stable/c/bc8f5921cd69188627c08041276238de222ab466>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-53175>

HTML: <https://flawdb.com/CVE-2024-53175> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-53175>
