{
  "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-50077",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-50077",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-06-18T11:02:20.318Z",
    "updatedAt": "2026-05-11T19:12:25.193Z",
    "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 reference count leak in aa_pivotroot()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: fix reference count leak in aa_pivotroot()\n\nThe aa_pivotroot() function has a reference counting bug in a specific\npath. When aa_replace_current_label() returns on success, the function\nforgets to decrement the reference count of “target”, which is\nincreased earlier by build_pivotroot(), causing a reference leak.\n\nFix it by decreasing the refcount of “target” in that path.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "2ea3ffb7782a84da33a8382f13ebd016da50079b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d53194707d2a1851be027cd74266b96ceff799d3"
            },
            {
              "version": "2ea3ffb7782a84da33a8382f13ebd016da50079b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f4d5c7796571624e3f380b447ada52834270a287"
            },
            {
              "version": "2ea3ffb7782a84da33a8382f13ebd016da50079b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ef6fb6f0d0d8440595b45a7e53c6162c737177f4"
            },
            {
              "version": "2ea3ffb7782a84da33a8382f13ebd016da50079b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2ceeb3296e9dde1d5772348046affcefdea605e2"
            },
            {
              "version": "2ea3ffb7782a84da33a8382f13ebd016da50079b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "64103ea357734b82384c925cba4758fdb909be0c"
            },
            {
              "version": "2ea3ffb7782a84da33a8382f13ebd016da50079b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3ca40ad7afae144169a43988ef1a3f16182faf0a"
            },
            {
              "version": "2ea3ffb7782a84da33a8382f13ebd016da50079b",
              "status": "affected",
              "versionType": "git",
              "lessThan": "11c3627ec6b56c1525013f336f41b79a983b4d46"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.14",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.14"
            },
            {
              "version": "4.14.291",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.256",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.211",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.138",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.63",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.19.4",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.19.*"
            },
            {
              "version": "6.0",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}