-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2012.1155
                            xen security update
                             10 December 2012

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           xen
Publisher:         Debian
Operating System:  Debian GNU/Linux 6
Impact/Access:     Denial of Service    -- Existing Account
                   Increased Privileges -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2012-5515 CVE-2012-5514 CVE-2012-5513
                   CVE-2012-5510 CVE-2012-4539 CVE-2012-4538
                   CVE-2012-4537 CVE-2012-4535 CVE-2011-3131

Reference:         ESB-2012.1150
                   ESB-2012.1085
                   ESB-2011.0898

Original Bulletin: 
   http://www.debian.org/security/2012/dsa-2582

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

- - -------------------------------------------------------------------------
Debian Security Advisory DSA-2582-1                   security@debian.org
http://www.debian.org/security/                         Yves-Alexis Perez
December 07, 2012                      http://www.debian.org/security/faq
- - -------------------------------------------------------------------------

Package        : xen
Vulnerability  : several
Problem type   : local
Debian-specific: no
CVE ID         : CVE-2011-3131 CVE-2012-4535 CVE-2012-4537 CVE-2012-4538 
                 CVE-2012-4539 CVE-2012-5510 CVE-2012-5513 CVE-2012-5514
                 CVE-2012-5515
Debian Bug     : 

Multiple denial of service vulnerabilities have been discovered in the xen
hypervisor. One of the issue (CVE-2012-5513) could even lead to privilege
escalation from guest to host.

Some of the recently published Xen Security Advisories (XSA 25 and 28) are not
fixed by this update and should be fixed in a future release.

CVE-2011-3131 (XSA 5): DoS using I/OMMU faults from PCI-passthrough guest

	A VM that controls a PCI[E] device directly can cause it to issue DMA
	requests to invalid addresses. Although these requests are denied by the
	I/OMMU, the hypervisor needs to handle the interrupt and clear the error from
	the I/OMMU, and this can be used to live-lock a CPU and potentially hang the
	host.

CVE-2012-4535 (XSA 20): Timer overflow DoS vulnerability

	A guest which sets a VCPU with an inappropriate deadline can cause an
	infinite loop in Xen, blocking the affected physical CPU indefinitely.

CVE-2012-4537 (XSA 22): Memory mapping failure DoS vulnerability

	When set_p2m_entry fails, Xen's internal data structures (the p2m and m2p
	tables) can get out of sync. This failure can be triggered by unusual guest
	behaviour exhausting the memory reserved for the p2m table. If it happens,
	subsequent guest-invoked memory operations can cause Xen to fail an assertion
	and crash.

CVE-2012-4538 (XSA 23): Unhooking empty PAE entries DoS vulnerability

	The HVMOP_pagetable_dying hypercall does not correctly check the
	caller's pagetable state, leading to a hypervisor crash.

CVE-2012-4539 (XSA 24): Grant table hypercall infinite loop DoS vulnerability

	Due to inappropriate duplicate use of the same loop control variable,
	passing bad arguments to GNTTABOP_get_status_frames can cause an
	infinite loop in the compat hypercall handler.

CVE-2012-5510 (XSA 26): Grant table version switch list corruption vulnerability

	Downgrading the grant table version of a guest involves freeing its status
	pages. This freeing was incomplete - the page(s) are freed back to the
	allocator, but not removed from the domain's tracking list. This would cause
	list corruption, eventually leading to a hypervisor crash.

CVE-2012-5513 (XSA 29): XENMEM_exchange may overwrite hypervisor memory

	The handler for XENMEM_exchange accesses guest memory without range checking
	the guest provided addresses, thus allowing these accesses to include the
	hypervisor reserved range.
	.
	A malicious guest administrator can cause Xen to crash. If the out of address
	space bounds access does not lead to a crash, a carefully crafted privilege
	escalation cannot be excluded, even though the guest doesn't itself control
	the values written.

CVE-2012-5514 (XSA 30): Broken error handling in guest_physmap_mark_populate_on_demand()

	guest_physmap_mark_populate_on_demand(), before carrying out its actual
	operation, checks that the subject GFNs are not in use. If that check fails,
	the code prints a message and bypasses the gfn_unlock() matching the
	gfn_lock() carried out before entering the loop.
	.
	A malicious guest administrator can then use it to cause Xen to hang.

CVE-2012-5515 (XSA 31): Several memory hypercall operations allow invalid extent order values

	Allowing arbitrary extent_order input values for XENMEM_decrease_reservation,
	XENMEM_populate_physmap, and XENMEM_exchange can cause arbitrarily long time
	being spent in loops without allowing vital other code to get a chance to
	execute. This may also cause inconsistent state resulting at the completion
	of these hypercalls.

For the stable distribution (squeeze), these problems have been fixed in
version 4.0.1-5.5.

For the testing distribution (wheezy), these problems have been fixed in
version 4.1.3-6.

For the unstable distribution (sid), these problems have been fixed in
version 4.1.3-6.

We recommend that you upgrade your xen packages.

Further information about Debian Security Advisories, how to apply
these updates to your system and frequently asked questions can be
found at: http://www.debian.org/security/

Mailing list: debian-security-announce@lists.debian.org
- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)

iQEcBAEBCgAGBQJQwg38AAoJEG3bU/KmdcCltWAH/0/AVD1NVvpzTz3gl5dYIwHm
kgUJIOtD0S1uESgs9KMtW+q3VzyRXBB17VzEh5la+jBkUbyc98juRViiGMi2JGai
mJxuNzxlXWRYO0TI5wO0WEjhItbxZK1PCGIssfcQ9oIDgGwooTUOAKxQx08nJ7mJ
fKtlcop9MRYNoDu8n7KHq3EwmuQNzwpEZYPVgl/uemRoL8eWzKRr34ZC4i5eBgLR
9FB/Xk61Bp944PslTUb7aZI2SK4166j5sMQPrKgr/UygPTJmBd1Fz8GtPhTxYVUh
41aMX+pJLCHdxuPhmb8zGTig7bk8RkdcfktXw8U4p3xE8HuZV1nyYz65z5qyKIY=
=cI9m
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBUMUxce4yVqjM2NGpAQIJ6w//dESoxo2ER4K45RIQWb0wetYHO2JJQhOj
K85oB0gMReMemJKezZ4XeNMl5ZALma5EdKbMEqAbieZ0Uh6rEhhV+vob3DEC+LMk
Uzntr5xzfbwZWtZqvxq3kUzTOTWecVpUeA7s2KqwG6kHxnxsBbKl6OnyR6+ZRFx1
bDQzTSkP8Jei5NHhlBlKoRyTd4PznR7NSrwq98rIzcE6aDcU4tRfGul194BSCp11
vtD9ge9mPwiiggmzae1KPE5ZIJJa89o3vVP2yea3yDG/dfQ7KidwnMbKM29xvr1h
YpJPbPFYSGc34TAvS8BjA4nLW/lrNal/nrP8j56Bg28WxP1i+N1Gg3Sf8FTWCCAX
Iu1v2a5KtqS23XOFSie8iWitChPA+jGYWlZPhX7fRHiahmUaMNKpYU8fEGajfv25
QehEz/5cNMVkssQw13CJZP7ASWk4J6fCCa3Z+6TaUqPZupd5ZaPNeAVidKWHWicA
jYUTq3/J6/PfvLmojdCltIRutubbzHAet/CtZmyS0mxMSE+Byo+Bik1RJXBNBteF
pOif1J7vXwAO6zVvP1qLHmiyqMf3xsrO5TrVJkesZmcLRTf8TG7V9mjqIkcGrBwL
ejFLJn8yfH9m/x6cEIcFmSZnzgJDFbJNZ0Dh8AFnXa9oy+Gz8oJDXmtNVuCo6mVF
+e+sMSQkGr8=
=n6pp
-----END PGP SIGNATURE-----