From: Jonathan Tripathy Subject: Re: Security Implications of letting customers use theirown kernel Date: Thu, 16 Dec 2010 12:06:57 +0000 Message-ID: <4D0A00E1.9050306@abpni.co.uk> References: <4D08B3F4.7020008@abpni.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: George Dunlap Cc: Xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org > On Thu, Dec 16, 2010 at 3:51 AM, James Harper > wrote: >>> An area of potential concern is if someone were to build a kernel that >>> enabled "No Execute" or "Disable Execution", could that compromise >> other >>> DomUs? Or would that just leave their DomU vulnerable to running >>> malicious code? > I assume you mean a kernel that *disabled* No-Execute? Yes, sorry > No -- Xen > should isolate decisions of individual VMs from each other (if the NX > bit can be disabled from a PV kernel at all -- I'm not sure about > that). > > That said, developers certainly *aim* to make it the case that a DomU > cannot crash or gain access to Xen or Dom0 (or affect other security > measures, like NX, in any way). > However, as far as I'm aware, there > is no testing or auditing done to verify this. Given that Xen is used in many hosting companies around the world, such as Amazon, isn't this alarming? > And as James H. said, > buggy DomU drivers do occasionally crash dom0: and if untrusted code > can accidentally crash privileged code, it's often the case that a > well-crafted exploit can use the same bug to gain control of the > privileged code. > > -George