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.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "xenstore-utils-dbgsym": "4.4.2-0ubuntu0.14.04.14", "libxenstore3.0": "4.4.2-0ubuntu0.14.04.14", "libxen-4.4": "4.4.2-0ubuntu0.14.04.14", "libxenstore3.0-dbgsym": "4.4.2-0ubuntu0.14.04.14", "libxen-ocaml-dev": "4.4.2-0ubuntu0.14.04.14", "libxen-dev": "4.4.2-0ubuntu0.14.04.14", "xen-utils-4.4-dbgsym": "4.4.2-0ubuntu0.14.04.14", "xen-hypervisor-4.3-amd64": "4.4.2-0ubuntu0.14.04.14", "xen-hypervisor-4.3-armhf": "4.4.2-0ubuntu0.14.04.14", "xen-system-amd64": "4.4.2-0ubuntu0.14.04.14", "xen-hypervisor-4.4-arm64": "4.4.2-0ubuntu0.14.04.14", "libxen-ocaml": "4.4.2-0ubuntu0.14.04.14", "xenstore-utils": "4.4.2-0ubuntu0.14.04.14", "xen-system-armhf": "4.4.2-0ubuntu0.14.04.14", "xen-hypervisor-4.1-amd64": "4.4.2-0ubuntu0.14.04.14", "xen-hypervisor-4.4-armhf": "4.4.2-0ubuntu0.14.04.14", "xen-hypervisor-4.4-amd64": "4.4.2-0ubuntu0.14.04.14", "xen-utils-common": "4.4.2-0ubuntu0.14.04.14", "libxen-ocaml-dbgsym": "4.4.2-0ubuntu0.14.04.14", "xen-utils-4.4": "4.4.2-0ubuntu0.14.04.14", "libxen-4.4-dbgsym": "4.4.2-0ubuntu0.14.04.14", "xen-system-arm64": "4.4.2-0ubuntu0.14.04.14" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "xen-hypervisor-4.6-armhf": "4.6.5-0ubuntu1.4", "libxenstore3.0": "4.6.5-0ubuntu1.4", "xenstore-utils-dbgsym": "4.6.5-0ubuntu1.4", "xen-hypervisor-4.5-armhf": "4.6.5-0ubuntu1.4", "libxenstore3.0-dbgsym": "4.6.5-0ubuntu1.4", "xen-hypervisor-4.5-amd64": "4.6.5-0ubuntu1.4", "xen-utils-4.6": "4.6.5-0ubuntu1.4", "libxen-dev": "4.6.5-0ubuntu1.4", "xen-system-amd64": "4.6.5-0ubuntu1.4", "xen-hypervisor-4.4-arm64": "4.6.5-0ubuntu1.4", "xenstore-utils": "4.6.5-0ubuntu1.4", "xen-system-armhf": "4.6.5-0ubuntu1.4", "xen-utils-common": "4.6.5-0ubuntu1.4", "libxen-4.6": "4.6.5-0ubuntu1.4", "xen-hypervisor-4.4-amd64": "4.6.5-0ubuntu1.4", "xen-hypervisor-4.6-amd64": "4.6.5-0ubuntu1.4", "xen-hypervisor-4.5-arm64": "4.6.5-0ubuntu1.4", "xen-utils-4.6-dbgsym": "4.6.5-0ubuntu1.4", "xen-hypervisor-4.4-armhf": "4.6.5-0ubuntu1.4", "xen-hypervisor-4.6-arm64": "4.6.5-0ubuntu1.4", "libxen-4.6-dbgsym": "4.6.5-0ubuntu1.4", "xen-system-arm64": "4.6.5-0ubuntu1.4" } ] }