LiveActive security incident?Get immediate response
CVE Record

CVE-2022-50860: apparmor: Fix memleak in alloc_ns()

In the Linux kernel, the following vulnerability has been resolved: apparmor: Fix memleak in alloc_ns() After changes in commit a1bd627b46d1 ("apparmor: share profile name on replacement"), the hname member of struct aa_policy is not valid slab object, but a subset of that, it can not be freed by kfree_sensitive(), use aa_policy_destroy() to fix it.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2022-50860 is a Linux kernel AppArmor memory-management flaw. The public record says AppArmor could mishandle cleanup of policy name data and leak memory. There is no CVSS score, no KEV listing, and no cited evidence of active exploitation. Treat urgency as environment-dependent, especially for Linux systems relying on AppArmor.

Executive priority

Track and remediate through normal kernel patch management unless your environment heavily depends on AppArmor isolation. Escalate priority if your Linux vendor rates the issue higher or identifies affected production kernels. Current public evidence does not support emergency action based on known exploitation.

Technical view

The issue is in AppArmor alloc_ns() cleanup after commit a1bd627b46d1 changed profile-name sharing. The hname member of struct aa_policy was no longer a valid standalone slab object, so kfree_sensitive() was inappropriate. The kernel fix uses aa_policy_destroy() for correct cleanup. Public data does not quantify exploitability or impact.

Likely exposure

Exposure is limited to Linux kernels with the affected AppArmor code path. The CVE record identifies Linux kernel versions and stable kernel commits, but distribution-specific affected package versions are not provided. Systems without AppArmor usage may have lower practical exposure, but the sources do not state that as a formal mitigation.

Exploitation context

No source provided indicates active exploitation, public weaponization, or inclusion in CISA KEV. The available evidence describes a kernel memory leak/cleanup defect rather than a confirmed privilege-escalation or remote attack path. Exploitability details are incomplete.

Researcher notes

The core fix is cleanup correctness for aa_policy hname handling after shared profile-name changes. The source bundle lacks CVSS, CWE, distribution advisories, and exploitation analysis. Further assessment should focus on affected kernel branches, AppArmor namespace allocation paths, and whether repeated triggering can cause meaningful resource exhaustion.

Mitigation direction

  • Check your Linux distribution’s advisory for CVE-2022-50860 package applicability.
  • Update to a kernel build containing the referenced stable AppArmor fixes.
  • Prioritize systems using AppArmor for workload isolation or policy enforcement.
  • Plan required reboots or live-patching according to vendor guidance.

Validation and detection

  • Inventory Linux hosts and identify kernels using AppArmor.
  • Compare running kernel packages with vendor-fixed versions for this CVE.
  • Review kernel changelogs for the referenced AppArmor stable commits.
  • Confirm security scanners no longer flag CVE-2022-50860 after patching.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-50860 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
6Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxa1bd627b46d169268a0ee5960899fb5be960a317, a1bd627b46d169268a0ee5960899fb5be960a317, a1bd627b46d169268a0ee5960899fb5be960a317, a1bd627b46d169268a0ee5960899fb5be960a317, a1bd627b46d169268a0ee5960899fb5be960a317unaffected
LinuxLinux4.13, 0, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.