Lucene search
K

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

🗓️ 30 Dec 2025 12:15:33Reported by LinuxType 
cvelist
 cvelist
🔗 www.cve.org👁 21 Views

CVE-2022-50860: Application Armor memleak in alloc_ns fixed; use aa_policy_destroy() to free the policy name.

Related
Affected
Refs
[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "security/apparmor/policy_ns.c"
    ],
    "versions": [
      {
        "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
        "lessThan": "9a32aa87a25d800b2c6f47bc2749a7bfd9a486f3",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
        "lessThan": "5f509fa740b17307f0cba412485072f632d5af36",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
        "lessThan": "0250cf8d37bb5201a117177afd24dc73a1c81657",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
        "lessThan": "12695b4b76d437b9c0182a6f7dfb2248013a9daf",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
        "lessThan": "e9e6fa49dbab6d84c676666f3fe7d360497fd65b",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "security/apparmor/policy_ns.c"
    ],
    "versions": [
      {
        "version": "4.13",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "4.13",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.10.163",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "5.15.86",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.0.16",
        "lessThanOrEqual": "6.0.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.1.2",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "semver"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation