{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-31787","published":"2026-04-30T11:16:21.087000Z","last_modified":"2026-11-11T21:10:00.200000Z","status":"Analyzed","cvss":{"version":"3.1","score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-415"],"cpes":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"3.8","version_end_excluding":"5.10.254"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.11","version_end_excluding":"5.15.204"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"5.16","version_end_excluding":"6.1.170"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.2","version_end_excluding":"6.6.137"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.7","version_end_excluding":"6.12.85"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.13","version_end_excluding":"6.18.26"},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version_start_including":"6.19","version_end_excluding":"7.0.3"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.1"},{"criteria":"cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*","part":"o","vendor":"linux","product":"linux_kernel","version":"7.1"}],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux_kernel"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":47,"links":{"html_es":"/es/cve/CVE-2026-31787/","html_en":"/en/cve/CVE-2026-31787/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31787","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31787"},"untrusted":{"vendor_name":"Linux","product_name":"Linux Kernel","desc_en":"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":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/1576ff3869cbd3620717195f971c85b7d7fd62b5","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/24daca4fc07f3ff8cd0e3f629cd982187f48436a","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/2894a351fe2ea8684919d36df3188b9a35e3926f","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/2b985d3a024b9e8c24e21671b34e855569763808","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/402d84ad9e89bd4cbfd07ca8598532b7021daf95","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/446ee446d9ae66f36e95c3c90bbcc4e56b94cde0","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/71bf829800758a6e3889096e4754ef47ba7fc850","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/dbf862ce9f009128ab86b234d91413a3e450beb4","tags":["Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/28/14","tags":["Mailing List","Third Party Advisory"]},{"url":"http://xenbits.xen.org/xsa/advisory-487.html","tags":["Third Party Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:53989","url":"https://access.redhat.com/errata/RHSA-2026:53989","published":"2026-08-12T10:16:41+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security update"}},{"source":"redhat","id":"RHSA-2026:52764","url":"https://access.redhat.com/errata/RHSA-2026:52764","published":"2026-08-11T10:11:58+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security, bug fix, and enhancement update"}},{"source":"redhat","id":"RHSA-2026:52649","url":"https://access.redhat.com/errata/RHSA-2026:52649","published":"2026-08-10T10:13:37+00:00","severity":"high","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: kernel security update"}},{"source":"suse","id":"SUSE-SU-2026:2195-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262195-1/","published":"2026-07-01T08:17:32+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:2238-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-20262238-1/","published":"2026-06-30T10:03:11+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:21834-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202621834-1/","published":"2026-05-28T11:12:43+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}