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.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-1132-1 xen security update
Debian DLA Debian DLA DLA-1549-1 xen security update
Debian DSA Debian DSA DSA-4050-1 xen security update
EUVD EUVD EUVD-2017-5819 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

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 : Deferred

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

Modified: 2025-04-20T01:37:25.860

Link: CVE-2017-14316

cve-icon Redhat

Severity : Important

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

Links: CVE-2017-14316 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses