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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2017-09-12T15:00:00

Updated: 2024-08-05T19:20:41.467Z

Reserved: 2017-09-12T00:00:00

Link: CVE-2017-14316

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2017-09-12T15:29:00.237

Modified: 2018-10-19T10:29:02.597

Link: CVE-2017-14316

cve-icon Redhat

Severity : Important

Publid Date: 2017-09-12T00:00:00Z

Links: CVE-2017-14316 - Bugzilla