What’s Vulnerable › Vulnerabilities
CVE-2022-50284: ipc: fix memory leak in init_mqueue_fs()
- Severity: medium (CVSS 5.5 v3.1)
- 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-09-15 · updated 2026-06-17
- Weakness: CWE-401
Description
In the Linux kernel, the following vulnerability has been resolved: ipc: fix memory leak in init_mqueue_fs() When setup_mq_sysctls() failed in init_mqueue_fs(), mqueue_inode_cachep is not released. In order to fix this issue, the release path is reordered.
Affected products
- Linux kernel: from 5.19 before 6.0.16; from 6.1 before 6.1.2 — fixed in 6.0.16, 6.1.2
How to fix
Upgrade to a fixed version: Linux kernel 6.0.16, 6.1.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/12b677f2c697d61e5ddbcb6c1650050a39392f54
- https://git.kernel.org/stable/c/28dad915abe46d38c5799a0c8130e9a2a1540385
- https://git.kernel.org/stable/c/86273624a68d07f129dc182b8394f487ed4de484
Get alerted when CVE-2022-50284 or the next vulnerability affects your stack