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