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...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:14.04:LTSxen |
< 4.4.2-0ubuntu0.14.04.14→ 4.4.2-0ubuntu0.14.04.14 |
4.4.2-0ubuntu0.14.04.14 |
| Ubuntu:16.04:LTSxen |
< 4.6.5-0ubuntu1.4→ 4.6.5-0ubuntu1.4 |
4.6.5-0ubuntu1.4 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report xenbits.xen.org
- report cve.org