From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VLZoR-00070X-Km for kexec@lists.infradead.org; Mon, 16 Sep 2013 14:30:04 +0000 Date: Mon, 16 Sep 2013 10:28:52 -0400 From: Vivek Goyal Subject: Re: [PATCH 00/16] [RFC PATCH] Signed kexec support Message-ID: <20130916142852.GB20753@redhat.com> References: <1378849471-10521-1-git-send-email-vgoyal@redhat.com> <20130912034023.GA10877@kroah.com> <20130912114336.GA28500@redhat.com> <20130912161705.GA2650@kroah.com> <1379010250.9796.118.camel@dhcp-9-2-203-236.watson.ibm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1379010250.9796.118.camel@dhcp-9-2-203-236.watson.ibm.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "kexec" Errors-To: kexec-bounces+dwmw2=twosheds.infradead.org@lists.infradead.org To: Mimi Zohar Cc: matthew.garrett@nebula.com, Greg KH , d.kasatkin@samsung.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, ebiederm@xmission.com, hpa@zytor.com, akpm@linux-foundation.org On Thu, Sep 12, 2013 at 02:24:10PM -0400, Mimi Zohar wrote: [..] > > > So existing IMA does not seem to have been written for an environment > > > where all the user space is not signed we don't trust root and root can > > > attack a signed binary. And my patches try to fill that gap. > > > > It sounds like your changes should go into the IMA core code to resolve > > the issues there, as I'm sure they want to also protect from the issues > > you have pointed out here. Have you talked to those developers about > > this? > > IMA assumes a different threat model and performance tradeoffs. The > solutions suggested for the kexec, single userspace application threat > model, presumably wouldn't scale very well. Hi Mimi, Does IMA trust root or not? I got a feeling that IMA is assuming that root is trusted. Otherwise root can do raw writes to disk and bypass all the logic related to appraisal result caching. In fact on my system root disk belongs to group "disk". So any user in "disk" group seems to be a trusted user for IMA to work. Thanks Vivek _______________________________________________ kexec mailing list kexec@lists.infradead.org http://lists.infradead.org/mailman/listinfo/kexec