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.
Affected Versions
Linux:- Version 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 and below 11d5fe7da67c3334cefc981297fd5defb78df15c is affected.
- Version 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 and below 95e6adc6a7a4761ddf69ad713e55a06a3206309d is affected.
- Version 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 and below eb0f78e28cbc8f97439c0a4c80ee5160c1df5ce6 is affected.
- Version 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 and below 935d86b29093e75b6c547d90b3979c2c2d23f1c4 is affected.
- Version 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 and below 775a37ffa9f4681c4ad84c8634a7eec8af7098d4 is affected.
- Version 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 and below 88989932c2269ea66074f52a6213598838f8b9e7 is affected.
- Version 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 and below 3d27a436e294ac5d7a51bd5348ca63a42a468b35 is affected.
- Version 1dea3b41e84c5923173fe654dcb758a5cb4a46e5 and below c73275cf6834787ca090317f1d20dbfa3b7f05aa is affected.
- Version 4.13 is affected.
- Before 4.13 is unaffected.
- Version 4.14.303, <= 4.14.* is unaffected.
- Version 4.19.270, <= 4.19.* is unaffected.
- Version 5.4.229, <= 5.4.* is unaffected.
- Version 5.10.163, <= 5.10.* is unaffected.
- Version 5.15.86, <= 5.15.* is unaffected.
- Version 6.0.16, <= 6.0.* is unaffected.
- Version 6.1.2, <= 6.1.* is unaffected.
- Version 6.2, <= * is unaffected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.