Description
A parameter verification issue was discovered in Xen through 4.9.x. The function `alloc_heap_pages` allows callers to specify the first NUMA node that should be used for allocations through the `memflags` parameter; the node is extracted using the `MEMF_get_node` macro. While the function checks to see if the special constant `NUMA_NO_NODE` is specified, it otherwise does not handle the case where `node >= MAX_NUMNODES`. This allows an out-of-bounds access to an internal array.
References (6)
Core 6
Core References
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/100818
Patch, Vendor Advisory x_refsource_confirm
http://xenbits.xen.org/xsa/advisory-231.html
Vendor Advisory x_refsource_confirm
https://support.citrix.com/article/CTX227185
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2017/dsa-4050
Mailing List mailing-list
x_refsource_mlist
https://lists.debian.org/debian-lts-announce/2018/10/msg00009.html
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id/1039348
Scores
CVSS v3
8.8
EPSS
0.0004
EPSS Percentile
11.8%
Attack Vector
LOCAL
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Details
CWE
CWE-125
Status
published
Products (1)
xen/xen
< 4.9.0
Published
Sep 12, 2017
Tracked Since
Feb 18, 2026