From: Tim Deegan Subject: Re: Xen security advisory CVE-2011-1898 - VT-d (PCI passthrough) MSI Date: Fri, 13 May 2011 13:50:59 +0100 Message-ID: <20110513125059.GN24068@whitby.uk.xensource.com> References: <19915.58644.191837.671729@mariner.uk.xensource.com> <4DCD030902000078000412C8@vpn.id2.novell.com> <4DCD1120.5020606@invisiblethingslab.com> <4DCD40370200007800041450@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Return-path: Content-Disposition: inline In-Reply-To: <4DCD40370200007800041450@vpn.id2.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Ian Jackson , "xen-devel@lists.xensource.com" , Keir Fraser , Joanna Rutkowska List-Id: xen-devel@lists.xenproject.org At 13:29 +0100 on 13 May (1305293351), Jan Beulich wrote: > So are you saying that the memory transaction triggering the MSI is > indistinguishable from any other DMA operation? Implying that the > guest must be granted access to the page containing the MSI > address the device is to write to? If so, the changes done as a > result of your report are only addressing a (very?) small subset of > bad things such a guest could do. Yes, and yes. The only real fix is for the hardware to do interrupt remapping, and the hypervisor to enforce it. The patches that go with the advisory only reduce a full exploit to a DoS (and so, whether you kill all device-owning domains or the whole hypervisor is pretty much moot). Cheers, Tim. -- Tim Deegan Principal Software Engineer, Xen Platform Team Citrix Systems UK Ltd. (Company #02937203, SL9 0BG)