CVE-2017-12136: Race Condition

Published Aug 2, 2017
·
Updated

ISSUE DESCRIPTION =================

The grant table code in Xen has a bespoke semi-lockfree allocator for recording grant mappings ("maptrack" entries). This allocator has a race which allows the free list to be corrupted.

Specifically: the code for removing an entry from the free list, prior to use, assumes (without locking) that if inspecting head item shows that it is not the tail, it will continue to not be the tail of the list if it is later found to be still the head and removed with cmpxchg. But the entry might have been removed and replaced, with the result that it might be the tail by then. (The invariants for the semi-lockfree data structure were never formally documented.)

Additionally, a stolen entry is put on the free list with an incorrect link field, which will very likely corrupt the list.

IMPACT ======

A malicious guest administrator can crash the host, and can probably escalate their privilege to that of the host.

VULNERABLE SYSTEMS ==================

Xen 4.6 and later are vulnerable.

Xen 4.5 and earlier are not vulnerable.

MITIGATION ==========

There is no mitigation for this vulnerability.

External References:

http://xenbits.xen.org/xsa/advisory-228.html

Other sources

Race condition in the grant table code in Xen 4.6.x through 4.9.x allows local guest OS administrators to cause a denial of service (free list corruption and host crash) or gain privileges on the host via vectors involving maptrack free list handling.

Affected Software

21 affected components
XEN Xen=4.6.0
XEN Xen=4.6.1
XEN Xen=4.6.3
XEN Xen=4.6.4
XEN Xen=4.6.5
XEN Xen=4.6.6
XEN Xen=4.7.0
XEN Xen=4.7.1
XEN Xen=4.7.2
XEN Xen=4.7.3
XEN Xen=4.8.0
XEN Xen=4.8.1
XEN Xen=4.9.0
Citrix XenServer=6.0.2
Citrix XenServer=6.2.0
Citrix XenServer=6.5
Citrix XenServer=7.0
Citrix XenServer=7.1
Citrix XenServer=7.2
Debian Debian Linux=8.0
Debian Debian Linux=9.0

Event History

Aug 2, 2017
Data Sourced
02:36 PM
DescriptionSeverityAffected Software
Aug 24, 2017
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2017-12136?

CVE-2017-12136 has been assigned a moderate severity level due to its potential for limited exploitation.

2

How do I fix CVE-2017-12136?

To fix CVE-2017-12136, upgrade to Xen version 4.6.7, 4.7.4, 4.8.2, 4.9.1 or later, or apply the appropriate patches provided by the vendor.

3

What systems are affected by CVE-2017-12136?

CVE-2017-12136 affects multiple versions of Xen, specifically 4.6.0 through 4.6.6, 4.7.0 through 4.7.3, and 4.8.0 through 4.8.1, along with Citrix XenServer versions 6.0.2, 6.2.0, 6.5, 7.0, 7.1, and 7.2.

4

What type of vulnerability is CVE-2017-12136?

CVE-2017-12136 is a race condition vulnerability within the grant table code of the Xen hypervisor.

5

Is CVE-2017-12136 exploitable remotely?

CVE-2017-12136 requires local access and is not remotely exploitable without additional access to the affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203