PT-2026-35874 · Linux · Linux Kernel
0Xath4Rv
+2
·
Published
2026-04-28
·
Updated
2026-05-15
·
CVE-2026-31787
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A double free issue exists in the Xen privcmd driver. The
privcmd vm ops defines a .close function (privcmd close) but lacks .may split and .open callbacks. When a partial munmap() is performed on a privcmd mapping, the kernel splits the Virtual Memory Area (VMA) via split vma(). Because may split is NULL, the split is permitted, and vm area dup() copies the vm private data (a pages array) into the new VMA. Consequently, both VMAs point to the same pages array. When the unmapped portion is closed, privcmd close() frees the pages array, leaving the surviving VMA with a dangling pointer. A subsequent destruction of the surviving VMA triggers the same sequence, resulting in a double free.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Double Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel