CVE-2022-50748

ipc: mqueue: fix possible memory leak in init_mqueue_fs()

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dc55e35f9e810f23dd69cfdc91a3d636023f57a2 to before a1f321051e0dcf2415fb94f81fdc5044cad4c1d6Affected
  • dc55e35f9e810f23dd69cfdc91a3d636023f57a2 to before 55b3709c6d68e32cd3fdd2a630b1f4c97d51b17cAffected
  • dc55e35f9e810f23dd69cfdc91a3d636023f57a2 to before c579d60f0d0cd87552f64fdebe68b5d941d20309Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.