Bug 2425140 (CVE-2022-50748) - CVE-2022-50748 kernel: ipc: mqueue: fix possible memory leak in init_mqueue_fs()
Summary: CVE-2022-50748 kernel: ipc: mqueue: fix possible memory leak in init_mqueue_fs()
Keywords:
Status: NEW
Alias: CVE-2022-50748
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 14:05 UTC by OSIDB Bzimport
Modified: 2025-12-24 23:40 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 14:05:53 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.