REDHAT-BUG-1477657: High severity Xen Project Xen vulnerability

Published Aug 2, 2017
·
Updated

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

When mapping a grant reference, a guest must inform Xen of where it would like the grant mapped. For PV guests, this is done by nominating an existing linear address, or an L1 pagetable entry, to be altered.

Neither of these PV paths check for alignment of the passed parameter. The linear address path suitably truncates the linear address when calculating the L1 entry to use, but the path which uses a directly nominated L1 entry performs no checks.

This causes Xen to make an incorrectly-aligned update to a pagetable, which corrupts both the intended entry and the subsequent entry with values which are largely guest controlled. If the misaligned value crosses a page boundary, then an arbitrary other heap page is corrupted.

IMPACT ======

A PV guest can elevate its privilege to that of the host.

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

All versions of Xen are vulnerable.

Only x86 systems are vulnerable.

Any system running untrusted PV guests is vulnerable.

The vulnerability is exposed to PV stub qemu serving as the device model for HVM guests. Our default assumption is that an HVM guest has compromised its PV stub qemu. By extension, it is likely that the vulnerability is exposed to HVM guests which are served by a PV stub qemu.

MITIGATION ==========

Running only HVM guests, served by a dom0-based qemu, will avoid this vulnerability.

External References:

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

Affected Software

1 affected component
Xen Project Xen<=

Event History

Aug 2, 2017
Data Sourced
02:43 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-1477657?

The severity of REDHAT-BUG-1477657 is classified as important because it may lead to memory corruption.

2

How do I fix REDHAT-BUG-1477657?

To fix REDHAT-BUG-1477657, you should apply the latest patches provided by the Xen Project.

3

What systems are affected by REDHAT-BUG-1477657?

REDHAT-BUG-1477657 affects Xen Project versions prior to the patched version.

4

What are the potential risks associated with REDHAT-BUG-1477657?

The potential risks of REDHAT-BUG-1477657 include increased vulnerability to memory manipulation and exploitation.

5

Is there a workaround for REDHAT-BUG-1477657?

Currently, there is no known workaround for REDHAT-BUG-1477657; upgrading is recommended.

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