{
  "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-2024-50199",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-50199",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-11-08T05:54:13.403Z",
    "updatedAt": "2026-05-11T20:47:20.650Z",
    "importedAt": "2026-10-24T01:57:20.494Z",
    "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/swapfile: skip HugeTLB pages for unuse_vma",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nmm/swapfile: skip HugeTLB pages for unuse_vma\n\nI got a bad pud error and lost a 1GB HugeTLB when calling swapoff.  The\nproblem can be reproduced by the following steps:\n\n 1. Allocate an anonymous 1GB HugeTLB and some other anonymous memory.\n 2. Swapout the above anonymous memory.\n 3. run swapoff and we will get a bad pud error in kernel message:\n\n  mm/pgtable-generic.c:42: bad pud 00000000743d215d(84000001400000e7)\n\nWe can tell that pud_clear_bad is called by pud_none_or_clear_bad in\nunuse_pud_range() by ftrace.  And therefore the HugeTLB pages will never\nbe freed because we lost it from page table.  We can skip HugeTLB pages\nfor unuse_vma to fix it.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0fe6e20b9c4c53b3e97096ee73a0857f60aad43f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ba7f982cdb37ff5a7739dec85d7325ea66fc1496"
            },
            {
              "version": "0fe6e20b9c4c53b3e97096ee73a0857f60aad43f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "417d5838ca73c6331ae2fe692fab6c25c00d9a0b"
            },
            {
              "version": "0fe6e20b9c4c53b3e97096ee73a0857f60aad43f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e41710f5a61aca9d6baaa8f53908a927dd9e7aa7"
            },
            {
              "version": "0fe6e20b9c4c53b3e97096ee73a0857f60aad43f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6ec0fe3756f941f42f8c57156b8bdf2877b2ebaf"
            },
            {
              "version": "0fe6e20b9c4c53b3e97096ee73a0857f60aad43f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bed2b9037806c62166a0ef9a559a1e7e3e1275b8"
            },
            {
              "version": "0fe6e20b9c4c53b3e97096ee73a0857f60aad43f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "eb66a833cdd2f7302ee05d05e0fa12a2ca32eb87"
            },
            {
              "version": "0fe6e20b9c4c53b3e97096ee73a0857f60aad43f",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7528c4fb1237512ee18049f852f014eba80bbe8d"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.36",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.36"
            },
            {
              "version": "5.4.285",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.228",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.169",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.114",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.58",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.11.5",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.11.*"
            },
            {
              "version": "6.12",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}