CVE-2022-50748
JSON

Not scored

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

Severity
Not scored
Exploit likelihood
0.27% (higher than 12% of CVEs)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom dc55e35f9e810f23dd69cfdc91a3d636023f57a2 before a1f321051e0dcf2415fb94f81fdc5044cad4c1d6, from dc55e35f9e810f23dd69cfdc91a3d636023f57a2 before 55b3709c6d68e32cd3fdd2a630b1f4c97d51b17c, from dc55e35f9e810f23dd69cfdc91a3d636023f57a2 before c579d60f0d0cd87552f64fdebe68b5d941d20309, 5.19
Not affected: before 5.19, from 5.19.17 up to 5.19.*, from 6.0.3 up to 6.0.*, from 6.1 up to *
CVE List

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: ipc: mqueue: corregir posible fuga de memoria en init_mqueue_fs() commit db7cfc380900 (’ipc: Liberar mq_sysctls si la creación del espacio de nombres ipc falló’) Aquí hay una fuga de memoria similar a la resuelta por el parche anterior. retire_mq_sysctls debe ser llamado cuando init_mqueue_fs falla después de setup_mq_sysctls.

References

Sources

SourceRecordLicence
CVE ListCVE-2022-50748 changed 2026-05-11CVE Terms of Use
NVDCVE-2022-50748 changed 2026-11-10Public domain