CVE-2022-50748Published Dec 24, 2025 · Dec 24Updated Nov 12
ipc: mqueue: fix possible memory leak in init_mqueue_fs()
Linux
Unrated
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
5.19.176.0.36.1In 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.
From the CVE record · Linux
The Linux kernel can leak memory if init_mqueue_fs() fails after setup_mq_sysctls(), because retire_mq_sysctls() is not called. The input does not specify whether an attacker can trigger this failure or what access would be required.
Engineers running the Linux kernel should check their deployments; affected versions are not specified.