boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Thursday, November 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2026-31787

Linux Linux — xen/privcmd: fix double free via VMA splitting
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  H  H  H    7.8   .0018    8.0     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    d71f513985c22f1050295d1a7e4327cf9fb060da –  —
  Linux    3.8 –                                       5.10.254
TIMELINE
  Mar 9   Reserved by Linux
  Apr 30  Published (CNA: Linux)
  Nov 6   ENRICHED — CVE-2026-31787 (Linux). Received CVSS 7.8 and CPE data from NVD.
CWE-415 · CNA: Linux · CVSS v3.1 · 10 references · NVD status: Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: xen/privcmd: fix double free via VMA splitting privcmd_vm_ops defines .close (privcmd_close), but neither .may_split nor .open. When userspace does a partial munmap() on a privcmd mapping, the kernel splits the VMA via __split_vma(). Since may_split is NULL, the split is allowed. vm_area_dup() copies vm_private_data (a pages array allocated in alloc_empty_pages()) into the new VMA without any fixup, because there is no .open callback. Both VMAs now point to the same pages array. When the unmapped portion is closed, privcmd_close() calls: - xen_unmap_domain_gfn_range() - xen_free_unpopulated_pages() - kvfree(pages) The surviving VMA still holds the dangling pointer. When it is later destroyed, the same sequence runs again, which leads to a double free. Fix this issue by adding a .may_split callback denying the VMA split. This is XSA-487 / CVE-2026-31787

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
March 9, 2026ReservedReserved by Linux
April 30, 2026PublishedPublished (CNA: Linux)
November 6, 2026ENRICHEDENRICHED — CVE-2026-31787 (Linux). Received CVSS 7.8 and CPE data from NVD.

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinux—d71f513985c22f1050295d1a7e4327cf9fb060da—
LinuxLinux—3.85.10.254

Weaknesses

CWE-415

References (10)

Related

Authoritative record: CVE-2026-31787 at cve.org

Vendors: linux

Weaknesses: CWE-415

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-31787 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Thursday, November 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.