{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2022-50860",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50860",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-12-30T12:15:33.859Z",
    "updatedAt": "2026-08-05T08:59:49.893Z",
    "importedAt": "2026-10-24T01:56:49.724Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "apparmor: Fix memleak in alloc_ns()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: Fix memleak in alloc_ns()\n\nAfter changes in commit a1bd627b46d1 (\"apparmor: share profile name on\nreplacement\"), the hname member of struct aa_policy is not valid slab\nobject, but a subset of that, it can not be freed by kfree_sensitive(),\nuse aa_policy_destroy() to fix it.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9a32aa87a25d800b2c6f47bc2749a7bfd9a486f3"
            },
            {
              "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5f509fa740b17307f0cba412485072f632d5af36"
            },
            {
              "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0250cf8d37bb5201a117177afd24dc73a1c81657"
            },
            {
              "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
              "status": "affected",
              "versionType": "git",
              "lessThan": "12695b4b76d437b9c0182a6f7dfb2248013a9daf"
            },
            {
              "version": "a1bd627b46d169268a0ee5960899fb5be960a317",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e9e6fa49dbab6d84c676666f3fe7d360497fd65b"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.13",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.13"
            },
            {
              "version": "5.10.163",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.86",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.0.16",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.0.*"
            },
            {
              "version": "6.1.2",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.2",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}