Bug 2425193 (CVE-2022-50754) - CVE-2022-50754 kernel: apparmor: fix a memleak in multi_transaction_new()
Summary: CVE-2022-50754 kernel: apparmor: fix a memleak in multi_transaction_new()
Keywords:
Status: NEW
Alias: CVE-2022-50754
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-12-24 14:09 UTC by OSIDB Bzimport
Modified: 2025-12-24 19:44 UTC (History)
0 users

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-12-24 14:09:53 UTC
In the Linux kernel, the following vulnerability has been resolved:

apparmor: fix a memleak in multi_transaction_new()

In multi_transaction_new(), the variable t is not freed or passed out
on the failure of copy_from_user(t->data, buf, size), which could lead
to a memleak.

Fix this bug by adding a put_multi_transaction(t) in the error path.


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