Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1203737 - (CVE-2015-2756, xsa126) CVE-2015-2756 xen: unmediated PCI command register access in qemu (xsa126)
CVE-2015-2756 xen: unmediated PCI command register access in qemu (xsa126)
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20150331,repor...
: Security
Depends On: 1207738
Blocks: 1203743
  Show dependency treegraph
 
Reported: 2015-03-19 10:57 EDT by Vasyl Kaigorodov
Modified: 2015-04-08 15:12 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-03-31 11:34:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
qemu-xen-unstable, Xen 4.5.x, Xen 4.4.x, Xen 4.3.x, Xen 4.2.x (2.84 KB, text/plain)
2015-03-19 10:59 EDT, Vasyl Kaigorodov
no flags Details
qemu-upstream-unstable, Xen 4.3.x (2.43 KB, text/plain)
2015-03-19 11:01 EDT, Vasyl Kaigorodov
no flags Details
qemu-upstream-unstable, Xen 4.5.x, Xen 4.4.x (2.44 KB, text/plain)
2015-03-19 11:01 EDT, Vasyl Kaigorodov
no flags Details

  None (edit)
Description Vasyl Kaigorodov 2015-03-19 10:57:47 EDT
ISSUE DESCRIPTION
=================

HVM guests are currently permitted to modify the memory and I/O decode
bits in the PCI command register of devices passed through to them.
Unless the device is an SR-IOV virtual function, subsequent accesses to
the respective MMIO or I/O port ranges would - on PCI Express devices -
lead to Unsupported Request responses. The treatment of such errors is
platform specific.

IMPACT
======

In the event that the platform surfaces aforementioned UR responses as
Non-Maskable Interrupts, and either the OS is configured to treat NMIs
as fatal or (e.g. via ACPI's APEI) the platform tells the OS to treat
these errors as fatal, the host would crash, leading to a Denial of
Service.

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

Xen versions 3.3 and onwards are vulnerable due to supporting PCI
pass-through.

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

Only HVM guests with their device model run in Dom0 can take advantage
of this vulnerability.

Any domain which is given access to a non-SR-IOV virtual function PCI
Express device can take advantage of this vulnerability.

MITIGATION
==========

This issue can be avoided by not assigning PCI Express devices other
than SR-IOV virtual functions to untrusted HVM guests. This issue can
also be avoided by only using PV guests or HVM guests with their
device model run in a separate (stub) domain.

RESOLUTION
==========

Applying the appropriate attached patch resolves this issue.
Comment 1 Vasyl Kaigorodov 2015-03-19 10:59:28 EDT
Created attachment 1003863 [details]
qemu-xen-unstable, Xen 4.5.x, Xen 4.4.x, Xen 4.3.x, Xen 4.2.x
Comment 2 Vasyl Kaigorodov 2015-03-19 11:01:18 EDT
Created attachment 1003864 [details]
qemu-upstream-unstable, Xen 4.3.x
Comment 3 Vasyl Kaigorodov 2015-03-19 11:01:58 EDT
Created attachment 1003866 [details]
qemu-upstream-unstable, Xen 4.5.x, Xen 4.4.x
Comment 4 Petr Matousek 2015-03-31 11:16:34 EDT
Created xen tracking bugs for this issue:

Affects: fedora-all [bug 1207738]
Comment 5 Petr Matousek 2015-03-31 11:20:51 EDT
References:

http://www.openwall.com/lists/oss-security/2015/03/31/7
Comment 6 Petr Matousek 2015-03-31 11:22:27 EDT
Acknowledgements:

Red Hat would like to thank the Xen for reporting this issue.
Comment 7 Petr Matousek 2015-03-31 11:34:49 EDT
Statement:

This issue dos affect the xen packages as shipped with Red Hat Enterprise Linux 5.

Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.

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