Received: by 10.213.65.68 with SMTP id h4csp139982imn; Tue, 3 Apr 2018 17:21:11 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+j1MQ6oO9eqbHShihKbaSuFn5+2LRu1q77elaHybfUnGUL3j3shHCMcI/MDHvEl3eL4buO X-Received: by 2002:a17:902:7785:: with SMTP id o5-v6mr14508918pll.356.1522801271890; Tue, 03 Apr 2018 17:21:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522801271; cv=none; d=google.com; s=arc-20160816; b=vbQcOYqI0MoYxG0N2IaoxO2Mds7odupN2x9BHX5OOXu3DHw2VsjclWO9rqlY04Ycf6 5pXvlX7pXiSgABnxlfM7yQrTDLp2CNCbCkKbxHqiC0T2x0PWYYSkPuUQDYQLjrFfcCse W3wtMTB3E+0JHfF0ZSbrCABuTFNqwtTsfCiuBYnOU6Cw+PcduDTKoWeh/W1NPpuC6uK0 vhgneuOK+207b8+wQghOmlCuAIRNgfaSpVsiP/pSaPdm1VtmLhBIevOJ1gDOxm02A2nw OSAdY0RbH4AXx+YvI0SwFrAveUl+JIaSFtqx0Kb54fIHwgQkzDYs3V7nwZownpI61Ggn Vifg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=GvFS7SPHFDv5OFBw+Gs2QXMJi/aUZa2m/1adoY837w0=; b=IwzGroaj4YhHRb3WmNT/bwFaKCA8m/hpIgDnlph3Yfx9WX1XPw15ydkQvFVvhwNW2a tXPiOOoPFSvfadORjF1kO7OAVx6JiCYvO0YrtbD8W0p2D5sob4deUBKYFzJ9Fc0oQQyv VYFFZOx75/yZUE1cbi+LT0jinOa7liSnjmrgFEX/AZTD2AxnF0ezPsqoHzNyExnJTqjw mC0C3tpAqyDsLEV5S2gXtLzt7sWBIFUcK3umQzGwfa0oxoVdoOiZVIeO3sR/FHs48Xhq 0oiOmy3oCFbp4Wmr82L3xhr8WOu03tsH4mD9oaXadVjWvHSI/Z3G4pFZPwByn9SNee+4 frew== 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 i5-v6si1896681plk.139.2018.04.03.17.20.58; Tue, 03 Apr 2018 17:21:11 -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 S1756723AbeDDASe (ORCPT + 99 others); Tue, 3 Apr 2018 20:18:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:58346 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756161AbeDDASb (ORCPT ); Tue, 3 Apr 2018 20:18:31 -0400 Received: from mail-io0-f180.google.com (mail-io0-f180.google.com [209.85.223.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id BC533217D3 for ; Wed, 4 Apr 2018 00:18:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BC533217D3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=luto@kernel.org Received: by mail-io0-f180.google.com with SMTP id q84so24155457iod.10 for ; Tue, 03 Apr 2018 17:18:30 -0700 (PDT) X-Gm-Message-State: ALQs6tCDoLq/x52Hm+L83ary6NlFTa6JiCbAKvNzm76cJ/EXGmr6Lvzx mtlKSqrvzXsu6jxtRmgY+z46rWjTtZC1WZFYkq4vCg== X-Received: by 10.107.138.88 with SMTP id m85mr14221279iod.150.1522801110176; Tue, 03 Apr 2018 17:18:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.137.70 with HTTP; Tue, 3 Apr 2018 17:18:09 -0700 (PDT) In-Reply-To: References: <4136.1522452584@warthog.procyon.org.uk> <186aeb7e-1225-4bb8-3ff5-863a1cde86de@kernel.org> <30459.1522739219@warthog.procyon.org.uk> <9758.1522775763@warthog.procyon.org.uk> <13189.1522784944@warthog.procyon.org.uk> <9349.1522794769@warthog.procyon.org.uk> From: Andy Lutomirski Date: Tue, 3 Apr 2018 17:18:09 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [GIT PULL] Kernel lockdown for secure boot To: Matthew Garrett Cc: Linus Torvalds , Andrew Lutomirski , David Howells , Ard Biesheuvel , James Morris , Alan Cox , Greg Kroah-Hartman , Linux Kernel Mailing List , Justin Forbes , linux-man , joeyli , LSM List , Linux API , Kees Cook , linux-efi Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 3, 2018 at 5:16 PM, Matthew Garrett wrote: > On Tue, Apr 3, 2018 at 5:15 PM Linus Torvalds > > wrote: >> On Tue, Apr 3, 2018 at 5:10 PM, Matthew Garrett wrote: >> > >> >> Exactly like EVERY OTHER KERNEL CONFIG OPTION. >> > >> > So your argument is that we should make the user experience worse? > Without >> > some sort of verified boot mechanism, lockdown is just security theater. >> > There's no good reason to enable it unless you have some mechanism for >> > verifying that you booted something you trust. > >> Wow. Way to snip the rest of the email where I told you what the >> solution was. Let me repeat it here, since you so conveniently missed >> it and deleted it: > > I ignored it because it's not a viable option. Part of the patchset > disables various kernel command line options. If there's a kernel command > line option that disables the patchset then it's pointless. if your secure boot-enabled bootloader can't prevent a bad guy from using malicious kernel command line parameters, then fix it.