Received: by 10.213.65.68 with SMTP id h4csp767462imn; Wed, 4 Apr 2018 07:00:09 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Q0mnNeURSZl5Htl086BJpOTmwSIhEOjwiVLc7yw4lCiOMqcOmPk2dN5usviGp/df++Yx3 X-Received: by 10.99.4.3 with SMTP id 3mr12123154pge.147.1522850409188; Wed, 04 Apr 2018 07:00:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522850409; cv=none; d=google.com; s=arc-20160816; b=SX95ioAXzGp2+KfaAOb9f7n24HDmyVeC/PaRTgyM7xphExKiDJ1b9gq6KP24LeYzjY WSxK/HXyMzTK1+75h2bJAF2QkOORLvrWpLmFXLHjDpdWUcX0QR3y9uH0CHzSGBysMonu ImuEPYyorbUAyQxWQqtAD0nQn80mlfP5hSGlixgV9TZ4AV2RvCEwxb9JFa8m9Y1qev6O OWePKs/BZwlKgxW4zTebrNEgzsc/F4tOKdnNVsgUKg3fWv363oC/pPFr8SjQ0IK/Tl4K Aii81ccLNKVisiOpc0VQp/+S2BlsKZVRY9pDiL/Bsy06gd+w5P/Ro6G3Vo6IHJJ7dYUU 6OAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date:arc-authentication-results; bh=j/tVc+C9qBAwgzPywjNHU8INhAXTcZkNdUORMFwxhIg=; b=gSqIACBl+6mV1ZR3trEnm/j3PVgJ5b1DyDQws48wmvTJKrIPoEQAkG2Ly0zSEhJMVq 2cOzxpC+Y/zmCsNIkJ1l5QkymtV/CKVgHbHHhB85OatCB5h7nO0Dlot6XYTtpdWlVN3L /QKMnhu3qkc8QsVuAJ1eI3BiSZNsoU6fdity1xLdOwkyHYA3Ix13JzzTPVLdz2eSSUre QAGddc+AjkSgu173PfI/387SRs2+/XeEV1AaoeZhOjYfJrF37+mTx8gDJVwBednu/xvY X0WzVM/JyuZ3nOqMirh8faBdv+EST5s7NfuyV42KNOsXxeAGdFAglPQerBjPwS5PYMLD E74g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t23-v6si3019841ply.445.2018.04.04.06.59.55; Wed, 04 Apr 2018 07:00:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751367AbeDDN5l (ORCPT + 99 others); Wed, 4 Apr 2018 09:57:41 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49768 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750853AbeDDN5j (ORCPT ); Wed, 4 Apr 2018 09:57:39 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 7FA5798A; Wed, 4 Apr 2018 13:57:38 +0000 (UTC) Date: Wed, 4 Apr 2018 15:57:38 +0200 From: Greg Kroah-Hartman To: "Theodore Y. Ts'o" , Matthew Garrett , Linus Torvalds , luto@kernel.org, David Howells , Ard Biesheuvel , jmorris@namei.org, Alan Cox , Linux Kernel Mailing List , jforbes@redhat.com, linux-man@vger.kernel.org, jlee@suse.com, LSM List , linux-api@vger.kernel.org, Kees Cook , linux-efi Subject: Re: [GIT PULL] Kernel lockdown for secure boot Message-ID: <20180404135738.GA17482@kroah.com> References: <20180404125743.GB16242@thunk.org> <20180404130233.GA24008@kroah.com> <20180404133411.GC16242@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180404133411.GC16242@thunk.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 04, 2018 at 09:34:11AM -0400, Theodore Y. Ts'o wrote: > On Wed, Apr 04, 2018 at 03:02:33PM +0200, Greg Kroah-Hartman wrote: > > On Wed, Apr 04, 2018 at 08:57:43AM -0400, Theodore Y. Ts'o wrote: > > > On Wed, Apr 04, 2018 at 04:30:18AM +0000, Matthew Garrett wrote: > > > > What I'm afraid of is this turning into a "security" feature that ends up > > > > being circumvented in most scenarios where it's currently deployed - eg, > > > > module signatures are mostly worthless in the non-lockdown case because you > > > > can just grab the sig_enforce symbol address and then kexec a preamble that > > > > flips it back to N regardless of the kernel config. > > > > > > Whoa. Why doesn't lockdown prevent kexec? Put another away, why > > > isn't this a problem for people who are fearful that Linux could be > > > used as part of a Windows boot virus in a Secure UEFI context? > > > > Because no one is afraid of that :) > > Well, this is the excuse used by Windows. Really? Every time I have tried to actually follow up on this statement, it turns into an urban myth. If you have proof of this, please let me know, otherwise I am going to keep saying it is false. > Some more cynical people > believe it's really an anti-competitvie thing, but we should > acknowledge this is what is causing the fear that some distros have > that their UEFI secure boot certs will be revoked by Microsoft if they > don't have this crazy lockdown enforcement for UEFI Secure Boot. Unsubstantiated fear of relying on another company's signing key to suddenly stop working is worrying. But it's just that, fear, and not anything that is actually true. We have a working shim binary that is signed, in use by all distros and other operating systems (community and corporate). To revoke that key now would be insane on a variety of levels. So let's stop playing the myth and fear card people, and focus on the actual facts here. > And I would all be for having the Kconfig description says, "This > config option is only needed by distros who are fearful of Microsoft > revoking their UEFI secure boot certificate." Again, no fear please, facts only. thanks, greg k-h