What’s Vulnerable › Vulnerabilities
CVE-2022-50748: ipc: mqueue: fix possible memory leak in init_mqueue_fs()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-12-24 · updated 2026-06-17
Description
In the Linux kernel, the following vulnerability has been resolved: ipc: mqueue: fix possible memory leak in init_mqueue_fs() commit db7cfc380900 ("ipc: Free mq_sysctls if ipc namespace creation failed") Here's a similar memory leak to the one fixed by the patch above. retire_mq_sysctls need to be called when init_mqueue_fs fails after setup_mq_sysctls.
Affected products
- Linux kernel: 5.19 — fixed in 6.1
How to fix
Upgrade to a fixed version: Linux kernel 6.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/55b3709c6d68e32cd3fdd2a630b1f4c97d51b17c
- https://git.kernel.org/stable/c/a1f321051e0dcf2415fb94f81fdc5044cad4c1d6
- https://git.kernel.org/stable/c/c579d60f0d0cd87552f64fdebe68b5d941d20309
Get alerted when CVE-2022-50748 or the next vulnerability affects your stack