Lucene search

K
xenXen ProjectXSA-134
HistoryJun 11, 2015 - 12:00 p.m.

GNTTABOP_swap_grant_ref operation misbehavior

2015-06-1112:00:00
Xen Project
xenbits.xen.org
26

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

ISSUE DESCRIPTION

With the introduction of version 2 grant table operations, a version check became necessary for most grant table related hypercalls. The GNTTABOP_swap_grant_ref call was lacking such a check. As a result, the subsequent code behaved as if version 2 was in use, when a guest issued this hypercall without a prior GNTTABOP_setup_table or GNTTABOP_set_version.
The effect is a possible NULL pointer dereferences. However, this cannot be exploited to elevate privileges of the attacking domain, as the maximum memory address that can be wrongly accessed this way is bounded to far below the start of hypervisor memory.

IMPACT

Malicious or buggy guest domain kernels can mount a denial of service attack which, if successful, can affect the whole system.

VULNERABLE SYSTEMS

Xen versions from 4.2 onwards are vulnerable.

CPENameOperatorVersion
xenge4.2

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