CVE-2022-50754
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2022-50754 is a memory leak vulnerability in the Linux kernel's AppArmor security module, specifically within the multi_transaction_new() function. When copy_from_user() fails, the allocated variable t is neither freed nor passed out of the function, resulting in a kernel memory leak. The vulnerability was disclosed on December 24, 2025, and affects Linux kernel versions from 4.13 onward, with patches available across multiple stable branches. The CVSS base score is not formally assigned (estimated Medium severity by Feedly), and the EPSS score is approximately 0.024% (Red Hat CVE, ENISA EUVD).

Technical details

The root cause is a missing memory deallocation on an error path in the AppArmor kernel module (CWE-401: Missing Release of Memory after Effective Lifetime). In multi_transaction_new(), a transaction object t is allocated, but if the subsequent copy_from_user(t->data, buf, size) call fails (e.g., due to a fault copying data from user space), the function returns an error without calling put_multi_transaction(t) to release the allocated memory. The fix adds the missing put_multi_transaction(t) call in the error path. The vulnerability was introduced at commit 1dea3b41e84c and is reachable by a local user with sufficient privileges to interact with AppArmor's transaction interface (Red Hat CVE, Red Hat Bugzilla).

Impact

Successful repeated triggering of this vulnerability causes gradual kernel memory exhaustion on affected Linux systems running AppArmor. Over time, this can degrade system performance, reduce available memory for other processes, and potentially lead to system instability or unexpected application crashes. There is no direct confidentiality or integrity impact; the primary risk is availability degradation through resource exhaustion (Red Hat CVE).

Mitigation and workarounds

Patches have been backported to multiple stable Linux kernel versions. Users should update to one of the following patched releases or later: 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, or 6.2. Distribution-specific updates (e.g., SUSE, Red Hat) are also available through vendor security repositories. Monitoring system memory usage can help detect anomalous kernel memory growth in the interim (Red Hat CVE, Red Hat Bugzilla).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64557NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-selftests-internal
NoNoJul 29, 2026
CVE-2026-64556NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-devel
NoNoJul 29, 2026
CVE-2026-64555NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoNoJul 27, 2026
CVE-2026-64554NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesJul 27, 2026
CVE-2026-64553NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-debug-modules-internal
NoYesJul 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management