CVE-2022-50754
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
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| 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.