Lucene search

K
xenXen ProjectXSA-149
HistoryOct 29, 2015 - 11:59 a.m.

leak of main per-domain vcpu pointer array

2015-10-2911:59:00
Xen Project
xenbits.xen.org
32

4.9 Medium

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:N/I:N/A:C

0.001 Low

EPSS

Percentile

26.9%

ISSUE DESCRIPTION

A domain’s primary array of vcpu pointers can be allocated by a toolstack exactly once in the lifetime of a domain via the XEN_DOMCTL_max_vcpus hypercall.
This array is leaked on domain teardown. This memory leak could – over time – exhaust the host’s memory.

IMPACT

A domain given partial management control via XEN_DOMCTL_max_vcpus can mount a denial of service attack affecting the whole system.
The ability to also restart or create suitable domains is also required to fully exploit the issue. Without this the leak is limited to a small multiple of the maximum number of vcpus for the domain.
The maximum leak is 64kbytes per domain (re)boot (less on ARM).

VULNERABLE SYSTEMS

This issue is only relevant to systems which intend to increase security through the use of advanced disaggregated management techniques.
This does not include systems using libxl, libvirt, or OpenStack (unless substantially modified or supplemented, as compared to versions supplied by the respective upstreams).
Versions of Xen from 4.0 onwards are vulnerable.
All architectures are affected.

CPENameOperatorVersion
xenge4.0

4.9 Medium

CVSS2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

NONE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:N/I:N/A:C

0.001 Low

EPSS

Percentile

26.9%