{
  "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-49080",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2022-49080",
    "idYear": 2022,
    "status": "PUBLISHED",
    "publishedAt": "2025-02-26T01:54:41.176Z",
    "updatedAt": "2026-05-11T18:52:38.593Z",
    "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": "mm/mempolicy: fix mpol_new leak in shared_policy_replace",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/mempolicy: fix mpol_new leak in shared_policy_replace\n\nIf mpol_new is allocated but not used in restart loop, mpol_new will be\nfreed via mpol_put before returning to the caller.  But refcnt is not\ninitialized yet, so mpol_put could not do the right things and might\nleak the unused mpol_new.  This would happen if mempolicy was updated on\nthe shared shmem file while the sp->lock has been dropped during the\nmemory allocation.\n\nThis issue could be triggered easily with the below code snippet if\nthere are many processes doing the below work at the same time:\n\n  shmid = shmget((key_t)5566, 1024 * PAGE_SIZE, 0666|IPC_CREAT);\n  shm = shmat(shmid, 0, 0);\n  loop many times {\n    mbind(shm, 1024 * PAGE_SIZE, MPOL_LOCAL, mask, maxnode, 0);\n    mbind(shm + 128 * PAGE_SIZE, 128 * PAGE_SIZE, MPOL_DEFAULT, mask,\n          maxnode, 0);\n  }",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "42288fe366c4f1ce7522bc9f27d0bc2a81c55264",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8510c2346d9e47a72b7f018a36ef0c39483e53d6"
            },
            {
              "version": "42288fe366c4f1ce7522bc9f27d0bc2a81c55264",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5e16dc5378abd749a836daa9ee4ab2c8d2668999"
            },
            {
              "version": "42288fe366c4f1ce7522bc9f27d0bc2a81c55264",
              "status": "affected",
              "versionType": "git",
              "lessThan": "39a32f3c06f6d68a530bf9612afa19f50f12e93d"
            },
            {
              "version": "42288fe366c4f1ce7522bc9f27d0bc2a81c55264",
              "status": "affected",
              "versionType": "git",
              "lessThan": "25f506273b6ae806fd46bfcb6fdaa5b9ec81a05b"
            },
            {
              "version": "42288fe366c4f1ce7522bc9f27d0bc2a81c55264",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f7e183b0a7136b6dc9c7b9b2a85a608a8feba894"
            },
            {
              "version": "42288fe366c4f1ce7522bc9f27d0bc2a81c55264",
              "status": "affected",
              "versionType": "git",
              "lessThan": "198932a14aeb19a15cf19e51e151d023bc4cd648"
            },
            {
              "version": "42288fe366c4f1ce7522bc9f27d0bc2a81c55264",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6e00309ac716fa8225f0cbde2cd9c24f0e74ee21"
            },
            {
              "version": "42288fe366c4f1ce7522bc9f27d0bc2a81c55264",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fe39ac59dbbf893b73b24e3184161d0bd06d6651"
            },
            {
              "version": "42288fe366c4f1ce7522bc9f27d0bc2a81c55264",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4ad099559b00ac01c3726e5c95dc3108ef47d03e"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.8",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.8"
            },
            {
              "version": "4.9.311",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.276",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.238",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.189",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.111",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.34",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "5.16.20",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.16.*"
            },
            {
              "version": "5.17.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.17.*"
            },
            {
              "version": "5.18",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}