{
  "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-2026-31787",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2026-31787",
    "idYear": 2026,
    "status": "PUBLISHED",
    "publishedAt": "2026-04-30T10:31:28.992Z",
    "updatedAt": "2026-06-14T17:44:41.402Z",
    "importedAt": "2026-10-24T01:58:02.025Z",
    "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": "xen/privcmd: fix double free via VMA splitting",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/privcmd: fix double free via VMA splitting\n\nprivcmd_vm_ops defines .close (privcmd_close), but neither .may_split\nnor .open. When userspace does a partial munmap() on a privcmd mapping,\nthe kernel splits the VMA via __split_vma(). Since may_split is NULL,\nthe split is allowed. vm_area_dup() copies vm_private_data (a pages\narray allocated in alloc_empty_pages()) into the new VMA without any\nfixup, because there is no .open callback.\n\nBoth VMAs now point to the same pages array. When the unmapped portion\nis closed, privcmd_close() calls:\n    - xen_unmap_domain_gfn_range()\n    - xen_free_unpopulated_pages()\n    - kvfree(pages)\n\nThe surviving VMA still holds the dangling pointer. When it is later\ndestroyed, the same sequence runs again, which leads to a double free.\n\nFix this issue by adding a .may_split callback denying the VMA split.\n\nThis is XSA-487 / CVE-2026-31787",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "d71f513985c22f1050295d1a7e4327cf9fb060da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dbf862ce9f009128ab86b234d91413a3e450beb4"
            },
            {
              "version": "d71f513985c22f1050295d1a7e4327cf9fb060da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2b985d3a024b9e8c24e21671b34e855569763808"
            },
            {
              "version": "d71f513985c22f1050295d1a7e4327cf9fb060da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1576ff3869cbd3620717195f971c85b7d7fd62b5"
            },
            {
              "version": "d71f513985c22f1050295d1a7e4327cf9fb060da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "402d84ad9e89bd4cbfd07ca8598532b7021daf95"
            },
            {
              "version": "d71f513985c22f1050295d1a7e4327cf9fb060da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2894a351fe2ea8684919d36df3188b9a35e3926f"
            },
            {
              "version": "d71f513985c22f1050295d1a7e4327cf9fb060da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "446ee446d9ae66f36e95c3c90bbcc4e56b94cde0"
            },
            {
              "version": "d71f513985c22f1050295d1a7e4327cf9fb060da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "71bf829800758a6e3889096e4754ef47ba7fc850"
            },
            {
              "version": "d71f513985c22f1050295d1a7e4327cf9fb060da",
              "status": "affected",
              "versionType": "git",
              "lessThan": "24daca4fc07f3ff8cd0e3f629cd982187f48436a"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.8",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.8"
            },
            {
              "version": "5.10.254",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.204",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.170",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.137",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.85",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.18.26",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.18.*"
            },
            {
              "version": "7.0.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "7.0.*"
            },
            {
              "version": "7.1",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}