In the Linux kernel, the following vulnerability has been resolved: apparmor: fix a memleak in multitransactionnew() In multitransactionnew(), the variable t is not freed or passed out on the failure of copyfromuser(t->data, buf, size), which could lead to a memleak. Fix this bug by adding a putmultitransaction(t) in the error path.