Received: by 10.213.65.68 with SMTP id h4csp139938imn; Tue, 3 Apr 2018 17:21:07 -0700 (PDT) X-Google-Smtp-Source: AIpwx4962ymGbdQU5/kxls/qStfGikus4IIwHH0wSqQ0+rWx2s404ljNpb2d1fK2E/kHZCxjYgn/ X-Received: by 10.98.130.140 with SMTP id w134mr12166758pfd.127.1522801267403; Tue, 03 Apr 2018 17:21:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522801267; cv=none; d=google.com; s=arc-20160816; b=YvNFHpuyeMJFhUAmh7SXiaE9GlEKx8g2JgKdJYjs3irojXc4epMOcIqM0FU/doEbdB i8aAFkMML5zFm9Gf2p2BbhOs5y92Hx3Jbs6p931vjzjMloZmMLuZMPak1y/2g2kilvVt LuMpWjHDJpEOWhindRE65Yh01A+uRru0V6E7HtoDlMOem4voyi/B8B5wV6XXHLV9NJrO +0o3zeH2uvhzogqp3kr5QFL9132NmdeIDfyoMg+YuyAt0MgDk9kiUv3TLW/eTH+RfD8h gMv4kOuqrBrICSvYhxuixhlm561NAgZd03QvlszjIwtmo8XpUyalCAqeq1uH3E+5bRnH 3fpQ== 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 :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=Xa93iQkkPqp0PVpmIjN4gXwJ3vx5X9nrUoN602jlhCU=; b=Sq/eFN9Jq4yuzPlHO0Nkt4BWRS9HqwucHcpZmzqNyhwYQ3gt0hOBitdHAenp4w9L6E CW4CmkcwmS1ahy3OADpdj1s/I07Vx62m836Oa72/TVQv0OOlM1AygdzHWy4VPWstdvQq OPvletRzZQXpfgW2zhE+3QmPv2SuDOZq7+pvGe7F0jn//0CwCJGlmQxJrU2JIBR9dlHC 39jMzqMj7fX3J7J7vSfmHP/aMKSm+Dz5RULoiYsC5oky8sAXVxej7ty5uxErSgGGovfu cndC+3MO6ykPzUEWPyiZ18n8ZJ7goEeNbBEhk9+GTfkswbjnPSQ/mhiz4kVLYk0oL2sZ xBpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=bWT0ARWv; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 31-v6si4019000plj.703.2018.04.03.17.20.53; Tue, 03 Apr 2018 17:21:07 -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; dkim=pass header.i=@google.com header.s=20161025 header.b=bWT0ARWv; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756729AbeDDATt (ORCPT + 99 others); Tue, 3 Apr 2018 20:19:49 -0400 Received: from mail-io0-f171.google.com ([209.85.223.171]:41732 "EHLO mail-io0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756098AbeDDATq (ORCPT ); Tue, 3 Apr 2018 20:19:46 -0400 Received: by mail-io0-f171.google.com with SMTP id m83so24149530ioi.8 for ; Tue, 03 Apr 2018 17:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Xa93iQkkPqp0PVpmIjN4gXwJ3vx5X9nrUoN602jlhCU=; b=bWT0ARWvVeVa/ml6fonZsj/wQH/LWbUaezGclPX5ldx+d3C46dTWsq7wc3UssGBAZH IxILEIMWSwlHvm+hI7ekBFzieIuAYPBat0sNA9l+tWk7KjK3Mft4OWiOPdpyeU0E0vxB Mne27uS4IzxjjpZFnWVOobU1WBJrNXd1ovCzXkD61c/yVR4tHL6KgYd8/9wJ2Hts9ff5 mpXlaPUZNAVzNGZBd7sFSO/A/uhEBUthQ4yX74mPBARrPfb/g/uWYcTGGDEtYU3OEMp8 dM/FTYBq4Qul4wOd8psCu3m06eIPX6w15Qh/AZRT2qMKZmSO8+inRdb+zB3603sOpIQC DxqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Xa93iQkkPqp0PVpmIjN4gXwJ3vx5X9nrUoN602jlhCU=; b=IJHp5/ItTAKWqRPqsHchrjQFfsiiilws43l3Oh5KT1Whnd/bqZKjh/V/kq2wEmY/x7 zwyca7CubYMaYqgGmDpSQjQLigw1V8i495KFHczcHQXKef5IJqeCUT9bTMOKhM1imKLF ++I5r+7P49kwsD6bkecmS37UoiyoQNMIN96bUJ9HbvPYCN7td+K+xcP1GVUeDQlYv2lc DY7EczrI/KElYSrzshd9irHvXeDlMKfpGTTsRQ9uMiaiB9ZzYwNqUkjCVEpRzxOwTxyY LE/OW4nb9W0pbz4qRrp51FDw+/qEyshSPLsn2urGYx3hYqon4bAQkGCL3LFwPBKRDdpL muxw== X-Gm-Message-State: ALQs6tDflhVMZ1nBzfjgYXsmvUEE1e1eHh17vWHlpwEiHXIlurJ6ZJBM GC5i0A53yhbfqntHaw2sp8n+qR7w8doUPIr5/TJ2CQ== X-Received: by 10.107.11.198 with SMTP id 67mr14077573iol.43.1522801185584; Tue, 03 Apr 2018 17:19:45 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: From: Matthew Garrett Date: Wed, 04 Apr 2018 00:19:35 +0000 Message-ID: Subject: Re: [GIT PULL] Kernel lockdown for secure boot To: luto@kernel.org Cc: Linus Torvalds , David Howells , Ard Biesheuvel , jmorris@namei.org, Alan Cox , Greg Kroah-Hartman , 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 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:18 PM Andy Lutomirski wrote: > if your secure boot-enabled bootloader can't prevent a bad guy from > using malicious kernel command line parameters, then fix it. How is a bootloader supposed to know what the set of malicious kernel command line parameters is?