Skip to contentSkip to conversation

x86: fix map_domain_page() leak from vcpu_destroy_pagetables()

PATCH New Jan Beulich 1 participant 1 message Feb 12, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86: fix map_domain_page() leak from vcpu_destroy_pagetables()

Introduced by c/s 26450:4816763549e0 and exposed with 26523:fd997a96d448.

xen/arch/x86/domain.c +1 -0
@@ -1997,6 +1997,7 @@ static void vcpu_destroy_pagetables(stru
         }
 
         l4e_write(l4tab, l4e_empty());
+        unmap_domain_page(l4tab);
 
         v->arch.cr3 = 0;
         return;

x86: fix map_domain_page() leak from vcpu_destroy_pagetables()

Introduced by c/s 26450:4816763549e0 and exposed with 26523:fd997a96d448.

xen/arch/x86/domain.c +1 -0
@@ -1997,6 +1997,7 @@ static void vcpu_destroy_pagetables(stru
         }
 
         l4e_write(l4tab, l4e_empty());
+        unmap_domain_page(l4tab);
 
         v->arch.cr3 = 0;
         return;

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel