Linux Kernel AppArmor MemLeak in multi_transaction_new()
CVE-2022-50754 Published on December 24, 2025
apparmor: fix a memleak in multi_transaction_new()
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.
Products Associated with CVE-2022-50754
stack.watch emails you whenever new vulnerabilities are published in Linux Kernel or Linux Kernel. Just hit a watch button to start following.