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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50748.json",
"cna_assigner": "Linux"
}