From: "Jan Beulich" Subject: [PATCH] x86: fix map_domain_page() leak from vcpu_destroy_pagetables() Date: Tue, 12 Feb 2013 11:21:02 +0000 Message-ID: <511A33AE02000078000BDB28@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__Part88B8CE8E.0__=" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel List-Id: xen-devel@lists.xenproject.org This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__Part88B8CE8E.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Introduced by c/s 26450:4816763549e0 and exposed with 26523:fd997a96d448. Signed-off-by: Jan Beulich --- a/xen/arch/x86/domain.c +++ b/xen/arch/x86/domain.c @@ -1997,6 +1997,7 @@ static void vcpu_destroy_pagetables(stru } =20 l4e_write(l4tab, l4e_empty()); + unmap_domain_page(l4tab); =20 v->arch.cr3 =3D 0; return; --=__Part88B8CE8E.0__= Content-Type: text/plain; name="x86-map-domain-page-leak.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="x86-map-domain-page-leak.patch" x86: fix map_domain_page() leak from vcpu_destroy_pagetables()=0A=0AIntrodu= ced by c/s 26450:4816763549e0 and exposed with=0A26523:fd997a96d448.=0A=0AS= igned-off-by: Jan Beulich =0A=0A--- a/xen/arch/x86/domai= n.c=0A+++ b/xen/arch/x86/domain.c=0A@@ -1997,6 +1997,7 @@ static void = vcpu_destroy_pagetables(stru=0A }=0A =0A l4e_write(l4tab, = l4e_empty());=0A+ unmap_domain_page(l4tab);=0A =0A = v->arch.cr3 =3D 0;=0A return;=0A --=__Part88B8CE8E.0__= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --=__Part88B8CE8E.0__=--