Information
Advisory | XSA-83 |
Public release | 2014-01-23 12:00 |
Updated | 2014-01-23 14:26 |
Version | 3 |
CVE(s) | CVE-2014-1642 |
Title | Out-of-memory condition yielding memory corruption during IRQ setup |
Files
advisory-83.txt (signed advisory file)
xsa83.patch
Advisory
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Xen Security Advisory CVE-2014-1642 / XSA-83
version 3
Out-of-memory condition yielding memory corruption during IRQ setup
UPDATES IN VERSION 3
====================
CVE assigned.
ISSUE DESCRIPTION
=================
When setting up the IRQ for a passed through physical device, a flaw
in the error handling could result in a memory allocation being used
after it is freed, and then freed a second time. This would typically
result in memory corruption.
IMPACT
======
Malicious guest administrators can trigger a use-after-free error, resulting
in hypervisor memory corruption. The effects of memory corruption could be
anything, including a host-wide denial of service, or privilege escalation.
VULNERABLE SYSTEMS
==================
Xen 4.2.x and later are vulnerable.
Xen 4.1.x and earlier are not vulnerable.
Only systems making use of device passthrough are vulnerable.
Only systems with a 64-bit hypervisor configured to support more than 128
CPUs or with a 32-bit hypervisor configured to support more than 64 CPUs are
vulnerable.
MITIGATION
==========
This issue can be avoided by not assigning PCI devices to untrusted guests on
systems supporting Intel VT-d or AMD Vi.
CREDITS
=======
This issue was discovered by Coverity Scan, prompted by modelling
improvements contributed by Andrew Coooper. The issue was diagnosed
by Matthew Daley and Andrew Coooper. The patch was prepared by Andrew
Cooper.
RESOLUTION
==========
Applying the attached patch resolves this issue.
xsa83.patch Xen 4.2.x, Xen 4.3.x, xen-unstable
$ sha256sum xsa83*.patch
71ba62c024ed867f99f335ed63d7e04a7981d348cc29a3718e5c48f15a1e0fb1 xsa83.patch
$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQEcBAEBAgAGBQJS4SaHAAoJEIP+FMlX6CvZ4GEH/1iRjPPj+FedKNsROJ4XZDYQ
rhu5evDxGjFKC1YD5aDexDPMKYn1lLtOy2YnsW4nqPJdHCpBpPIhzTFisaNUqMzE
XQwQwBSVYhxZAV2J9v3e7nsz0wswVdAHkbFf2df1eUvmiGsKQPHuCqlCZEbQjW/w
7F9MC2Qo9nlg/1GtNE5J4U4jB9EtEhI5Kbvh3WFoOLz7vtJDKlsYQlcTZLJVdDjN
OFoptImqig7Yin0/ix4AKYt5+trnkpvKjR3dfIeM3WUxG3Nc4qKxy5C5cbVfgKnr
/sidbCO4K4G56fvl3aBg49594x8aFh8MYZF42CDCEnojXCaiXidwBiWUV9KHN5g=
=5A46
-----END PGP SIGNATURE-----
Xenproject.org Security Team