Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:Maintenance:114
xen.openSUSE_Evergreen_11.4
CVE-2012-3433-xsa11.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File CVE-2012-3433-xsa11.patch of Package xen.openSUSE_Evergreen_11.4
# HG changeset patch # User Ian Campbell <ian.campbell@citrix.com> # Date 1343123936 -3600 # Node ID 48ce1f45392708a70723e99fa80947958ae69732 # Parent c6eb61ed6f04b4079525c3944b5a55268e1db4f1 xen: only check for shared pages while any exist on teardown Avoids worst case behavour when guest has a large p2m. This is XSA-11 / CVE-2012-nnn Signed-off-by: Tim Deegan <tim@xen.org> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Tested-by: Olaf Hering <olaf@aepfle.de> Index: xen-4.0.3-testing/xen/arch/x86/mm/p2m.c =================================================================== --- xen-4.0.3-testing.orig/xen/arch/x86/mm/p2m.c +++ xen-4.0.3-testing/xen/arch/x86/mm/p2m.c @@ -1748,6 +1748,8 @@ void p2m_teardown(struct domain *d) #ifdef __x86_64__ for ( gfn=0; gfn < p2m->max_mapped_pfn; gfn++ ) { + if ( atomic_read(&d->shr_pages) == 0 ) + break; mfn = p2m->get_entry(d, gfn, &t, p2m_query); if ( mfn_valid(mfn) && (t == p2m_ram_shared) ) BUG_ON(mem_sharing_unshare_page(d, gfn, MEM_SHARING_DESTROY_GFN));
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor