All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <aliguori@us.ibm.com>
To: Kurt Garloff <garloff@suse.de>
Cc: Xen development list <xen-devel@lists.xensource.com>
Subject: Re: [PATCH 0/3] domUloader
Date: Tue, 17 Jan 2006 15:41:57 -0600	[thread overview]
Message-ID: <43CD64A5.8040301@us.ibm.com> (raw)
In-Reply-To: <20060117143403.GB16322@tpkurt.wlan.garloff.de>

Kurt Garloff wrote:

>Hi Anthony,
>  
>
>>I knew there was some security concerns voiced about this many 
>>months ago.  I think one of the advantages to using libext2 was that it 
>>theoritically allowed the filesystem parsing to be done as a 
>>non-privileged user.
>>    
>>
>
>I can see your point.
>
>There's two concerns you could have:
>
>1. When the domU fs gets mounted in dom0, a local user there could
>   get (read-only) access to data that he shouldn't have access to.
>   This can be prevented by mounting under a directory that's not
>   readable to anyone but root. I didn't do this in my patch set, 
>   but it's certainly a good idea.
>   (And dom0 root you need to trust anyway, such is the trust model
>    in a hybrid virtualization model without encrypting everything.)
>
>2. The filesystem in the domU could be prepared such that the kernel
>   trips over a bug in its filesystem code.
>   The same can happen if you read the FS with a userspace library
>   of course, but the effects would be less bad -- at least if you
>   would do it with non-root euid.
>   The downside is that need to use a secondary source for filesystem
>   code, which needs to be maintained and kept in sync, audited, ...
>   And you are limited to the filesystems where you have userspace
>   libraries for.
>   In a paranoid scenario, you would not load any data from the domU
>   filesystem in any way :-) But I can see why you would choose 
>   pygrub over domUloader in a sensitive environment, where you
>   can't trust the domU admins. Point taken.
>   I still think that in many use scenarios, you would be perfectly
>   fine with domUloader.
>   
>Did I catch your concerns?
>  
>
Yup, just wanted to make sure it was considered :-)

Regards,

Anthony Liguori

  parent reply	other threads:[~2006-01-17 21:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-16 23:43 [PATCH 0/3] domUloader Kurt Garloff
2006-01-17 11:52 ` Anthony Liguori
2006-01-17 14:34   ` Kurt Garloff
2006-01-17 17:28     ` Adam Heath
2006-01-17 21:28       ` Kurt Garloff
2006-01-17 21:41     ` Anthony Liguori [this message]
2006-01-18 18:06   ` Jeremy Katz
2006-01-18 23:21     ` Kurt Garloff
2006-01-19  4:31       ` Anthony Liguori
2006-01-19 17:19         ` Jeremy Katz
2006-01-20 20:36           ` Stephen Tweedie
2006-01-20 23:08             ` Philip R. Auld
2006-01-23 14:19               ` Kurt Garloff
2006-01-23 14:59                 ` Philip R. Auld
2006-01-17 12:33 ` [PATCH] " Tim Deegan
     [not found]   ` <1137607621.22846.17.camel@bree.local.net>
2006-01-19 13:06     ` Tim Deegan
2006-01-20 12:43       ` Kurt Garloff
2006-01-23 13:39       ` Tim Deegan
2006-03-22 18:59 ` Matt Ayres
2006-03-22 22:01   ` Kurt Garloff
2006-04-17 19:56     ` Matt Ayres
  -- strict thread matches above, loose matches on Subject: below --
2006-01-26 10:17 Edwards, Nigel (Nigel Edwards)
2006-01-26 13:06 ` Mark Williamson
2006-01-26 13:37 ` Philip R. Auld
2006-01-26 14:01   ` Ian Campbell
2006-01-26 14:20     ` Philip R. Auld
2006-01-26 18:28       ` Kurt Garloff
2006-01-26 18:31         ` Mark Williamson
2006-01-26 18:57         ` Philip R. Auld
2006-01-26 19:14           ` Kurt Garloff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43CD64A5.8040301@us.ibm.com \
    --to=aliguori@us.ibm.com \
    --cc=garloff@suse.de \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.