Information
Advisory | XSA-210 |
Public release | 2017-02-23 16:28 |
Updated | 2017-02-23 16:28 |
Version | 1 |
CVE(s) | none (yet) assigned |
Title | arm: memory corruption when freeing p2m pages |
Files
advisory-210.txt (signed advisory file)
xsa210.patch
Advisory
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Xen Security Advisory XSA-210
arm: memory corruption when freeing p2m pages
ISSUE DESCRIPTION
=================
When freeing pages used for stage-2 page tables, the freeing routine
failed to remove these pages from an internally managed list they were
put on during allocation. The same list node elements are also
used by the hypervisor's page allocator. Subsequent manipulation of
ARM's private P2M list could therefore corrupt the lists maintained by
the page allocator. The buggy code is exposed to guests via the
XENMEM_decrease_reservation hypercall.
IMPACT
======
A malicious or buggy guest may corrupt hypervisor state, commonly
leading to a host crash (Denial of Service). Privilege escalation or
information leaks cannot be excluded.
VULNERABLE SYSTEMS
==================
Only Xen version 4.8 is affected. Xen versions 4.7 and earlier are not
vulnerable.
Only ARM systems are vulnerable. X86 based systems are not vulnerable.
MITIGATION
==========
There is no known mitigation.
NOTE REGARDING LACK OF EMBARGO
==============================
The issue was discussed publicly before being recognized as a security
issue.
RESOLUTION
==========
Applying the attached patch resolves this issue.
xsa210.patch xen-unstable, Xen 4.8.x
$ sha256sum xsa210*
10e26c017c916dcac261c6a3c92656831f0ad037f792940e6faf6905c6e23861 xsa210.patch
$
CREDITS
=======
The initial bug was discovered by Vijay Kilari of Cavium and the
security aspect was diagnosed by Julien Grall of ARM.
DEPLOYMENT DURING EMBARGO
=========================
Deployment of the patches and/or mitigations described above (or
others which are substantially similar) is permitted during the
embargo, even on public-facing systems with untrusted guest users and
administrators.
But: Distribution of updated software is prohibited (except to other
members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different
patches and/or mitigations, please contact the Xen Project Security
Team.
(Note: this during-embargo deployment notice is retained in
post-embargo publicly released Xen Project advisories, even though it
is then no longer applicable. This is to enable the community to have
oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information,
consult the Xen Project community's agreed Security Policy:
http://www.xenproject.org/security-policy.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJYrw2aAAoJEIP+FMlX6CvZuw4H/34z2io/65h2RLDL3bx4w//A
nWNcrceKrxyvtZmTss56RHrUeiOOKOeuCXWMx5CSihBcSRXqyZa79IDul9t1b7fB
m6NUPerILGueF3uOYTRUvvSiWKWRzVPOCgqSxlCmd7YTrkjHZkq/x2Gb9Acj3hrl
yE0fFdD/hTIN9wZtHWY+gTIXMIGHBJ4/xieZeYZvylbnmu9nDC0WIupTExonWqie
sG0DICl+eKJMt3ioSzaGd9117Xk1P7JWvcr7MJQvzn/2VDTG2TjC4kZE1iDHHVPz
+txQh2G2Luf+jX5VQSqWnlv7I9zuGlqYEpAMQacjrLzGejuqPSC2kbzliOEoCaE=
=1k3w
-----END PGP SIGNATURE-----
Xenproject.org Security Team