CVE-2022-50748

Source
https://cve.org/CVERecord?id=CVE-2022-50748
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50748.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50748
Downstream
Published
2025-12-24T13:05:44.045Z
Modified
2026-04-02T08:28:44.686135Z
Summary
ipc: mqueue: fix possible memory leak in init_mqueue_fs()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

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. retiremqsysctls need to be called when initmqueuefs fails after setupmqsysctls.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50748.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
dc55e35f9e810f23dd69cfdc91a3d636023f57a2
Fixed
a1f321051e0dcf2415fb94f81fdc5044cad4c1d6
Fixed
55b3709c6d68e32cd3fdd2a630b1f4c97d51b17c
Fixed
c579d60f0d0cd87552f64fdebe68b5d941d20309

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50748.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
5.19.17
Type
ECOSYSTEM
Events
Introduced
5.20.0
Fixed
6.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50748.json"