Bug 1590985 (CVE-2018-12891) - CVE-2018-12891 xen: preemption checks bypassed in x86 PV MM handling (XSA-264)
Summary: CVE-2018-12891 xen: preemption checks bypassed in x86 PV MM handling (XSA-264)
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2018-12891
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1595959
Blocks: 1590987
TreeView+ depends on / blocked
 
Reported: 2018-06-13 20:48 UTC by Laura Pardo
Modified: 2021-02-17 00:07 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-28 09:49:21 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-06-13 20:48:35 UTC
ISSUE DESCRIPTION
=================

Certain PV MMU operations may take a long time to process. For that
reason Xen explicitly check for the need to preempt the current vCPU at
certain points. A few rarely taken code paths did bypass such checks.
By suitably enforcing the conditions through its own page table
contents, a malicious guest may cause such bypasses to be used for an
unbounded number of iterations.

IMPACT
======

A malicious or buggy PV guest may cause a Denial of Service (DoS)
affecting the entire host. Specifically, it may prevent use of a
physical CPU for an indeterminate period of time.

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

All Xen versions from 3.4 onwards are vulnerable. Xen versions 3.3 and
earlier are vulnerable to an even wider class of attacks, due to them
lacking preemption checks altogether in the affected code paths.

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

Only x86 PV guests can leverage the vulnerability. x86 HVM or PVH
guests cannot leverage the vulnerability.

MITIGATION
==========

Running only HVM or PVH guests will avoid this vulnerability.

For PV guests, 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.

Comment 1 Laura Pardo 2018-06-27 22:11:46 UTC
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1595959]

Comment 2 Petr Matousek 2018-06-28 09:43:46 UTC
Acknowledgments:

Name: the Xen project
Upstream: Jan Beulich (SUSE)


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