From: Keir Fraser Subject: Re: Is Xen affected by this x86 hardware security hole? Date: Tue, 2 May 2006 14:25:10 +0100 Message-ID: References: <200605020902.37624.dfeustel@mindspring.com> <200605021410.22092.mark.williamson@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200605021410.22092.mark.williamson@cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mark Williamson Cc: xen-devel@lists.xensource.com, Dave Feustel List-Id: xen-devel@lists.xenproject.org On 2 May 2006, at 14:10, Mark Williamson wrote: > * X running in dom0 can, in principle, subvert any domain you're > running, if X > itself gets subverted. A bug in X in dom0 could hang the machine in > principle. Yes, although you are a little better off on Xen -- for example iopl==3 doesn't let you disable interrupts, as it does on native. However, the X server will still have access to most I/O ports and can certainly wreak havoc because of that. For this specific problem, it would make sense to ensure that D_LCK is set during boot, so that noone can thereafter modify the SMM memory space. You need to know something about PCI space to do that, though, so it would make sense for us to leave that to domain0. -- Keir