CVE-2022-50754
Unknown Unknown - Not Provided
Memory Leak in Linux Kernel AppArmor multi_transaction_new() Function

Publication date: 2025-12-24

Last updated on: 2025-12-24

Assigner: kernel.org

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-24
Last Modified
2025-12-24
Generated
2026-05-07
AI Q&A
2025-12-25
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
What immediate steps should I take to mitigate this vulnerability?

Update the Linux kernel to a version that includes the fix for the memleak in apparmor's multi_transaction_new() function. This fix involves adding put_multi_transaction(t) in the error path to prevent the memory leak. Applying the latest kernel patches or updates from your Linux distribution that address this issue is the recommended mitigation.


Can you explain this vulnerability to me?

This vulnerability is a memory leak in the Linux kernel's AppArmor component. Specifically, in the function multi_transaction_new(), when the function copy_from_user(t->data, buf, size) fails, the allocated variable t is neither freed nor passed out, causing a memory leak. The issue was fixed by adding a call to put_multi_transaction(t) in the error handling path to properly free the memory.


How can this vulnerability impact me? :

The memory leak caused by this vulnerability could lead to increased memory usage over time, potentially degrading system performance or causing resource exhaustion if exploited repeatedly. This could affect system stability and reliability.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart