From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: New heap API and scrubbing Date: Wed, 11 Feb 2009 07:58:07 +0000 Message-ID: References: <5af4178a-100f-4359-a4fa-5c8bc2227899@default> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5af4178a-100f-4359-a4fa-5c8bc2227899@default> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dan Magenheimer , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org On 10/02/2009 22:53, "Dan Magenheimer" wrote: > Moreover, it appears that there are MANY calls throughout > Xen to free_XXXheap_page/s() but I don't see much code > that scrubs the pages before freeing them. Isn't > this a potential security issue? Perhaps it should > be easier to free+scrub pages? Pages which are currently not scrubbed are either: 1. Freed by a domain before it dies, so it has to scrub them. 2. Xenheap pages or anonymous domheap pages which thus contained no guest data and no security risk in not scrubbing them. Feel free to add a free+scrub function. -- Keir