# CVE-2022-50284: ipc: fix memory leak in init_mqueue_fs()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2025-09-15T14:21:20.612Z
- Modified: 2026-06-17T05:23:09.157Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from dc55e35f9e810f23dd69cfdc91a3d636023f57a2 before 86273624a68d07f129dc182b8394f487ed4de484; from dc55e35f9e810f23dd69cfdc91a3d636023f57a2 before 28dad915abe46d38c5799a0c8130e9a2a1540385; from dc55e35f9e810f23dd69cfdc91a3d636023f57a2 before 12b677f2c697d61e5ddbcb6c1650050a39392f54; 5.19 (not affected: before 5.19; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 5.19 before 6.0.16; from 6.1 before 6.1.2

## References

- <https://git.kernel.org/stable/c/86273624a68d07f129dc182b8394f487ed4de484> (patch)
- <https://git.kernel.org/stable/c/28dad915abe46d38c5799a0c8130e9a2a1540385> (patch)
- <https://git.kernel.org/stable/c/12b677f2c697d61e5ddbcb6c1650050a39392f54> (patch)

## Sources

- CVE List: [CVE-2022-50284](https://www.cve.org/CVERecord?id=CVE-2022-50284), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50284](https://nvd.nist.gov/vuln/detail/CVE-2022-50284), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50284 · Whole record: https://cve.day/CVE-2022-50284.json · Rebuilt by cve.day 2026-11-25T22:58:21.147Z
