Bug 1434741 (CVE-2017-7228, xsa212) - CVE-2017-7228 xsa212 xen: x86: broken check in memory_exchange() permits PV guest breakout (XSA-212)
Summary: CVE-2017-7228 xsa212 xen: x86: broken check in memory_exchange() permits PV g...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2017-7228, xsa212
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1438804
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-22 09:48 UTC by Adam Mariš
Modified: 2021-02-17 02:25 UTC (History)
12 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-24 08:35:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2017-03-22 09:48:07 UTC
ISSUE DESCRIPTION
=================

The XSA-29 fix introduced an insufficient check on XENMEM_exchange
input, allowing the caller to drive hypervisor memory accesses outside
of the guest provided input/output arrays.

IMPACT
======

A malicious or buggy 64-bit PV guest may be able to access all of
system memory, allowing for all of privilege escalation, host crashes,
and information leaks.

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

All Xen versions are vulnerable.

Only x86 systems are affected.  ARM systems are not vulnerable.

The vulnerability is only exposed to 64-bit PV guests.  HVM guests and
32-bit PV guests can't exploit the vulnerability.

MITIGATION
==========

Running only HVM or 32-bit PV guests will avoid the vulnerability.

The vulnerability can be avoided if the guest kernel is controlled by
the host rather than guest administrator, provided that further steps
are taken to prevent the guest administrator from loading code into
the kernel (e.g. by disabling loadable modules etc) or from using
other mechanisms which allow them to run code at kernel privilege.

External References:

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

Acknowledgements:

Name: the Xen project

Comment 1 Adam Mariš 2017-04-04 12:59:45 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1438804]


Note You need to log in before you can comment on or make changes to this bug.