Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5390996imb; Thu, 7 Mar 2019 14:42:36 -0800 (PST) X-Google-Smtp-Source: APXvYqxcYWPkCvnPIwi/S4zqUC4ygrDCLd7xXdgfM6flYfNyu8aN8FG3QI7BWpwyWg2rinppZkmj X-Received: by 2002:a63:c0e:: with SMTP id b14mr13700223pgl.236.1551998556156; Thu, 07 Mar 2019 14:42:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551998556; cv=none; d=google.com; s=arc-20160816; b=mQxxZG1cqFbZi/fGKwKD3DRQrWwLJI0OHYaeA72vgCvJy2Mq+tyK2gAzI1H/5NACbH 4f4buWIcfqBV0yYJYJOndDity4+JZJZ0un49VlBhZT3MUpEope/MC+BDvGfsTmf61sGz V2OXvO0Uhbaq5rj/xOE2ZD0FTjzHyN6sYsSzFo6uwOvW+45F89EhrNA5uXeQs8e5Ma2w W/ZzXt2SkLQRhwrTTFL0WvW5/mroClUrf6dwbLN1F4ClcTydwol8LksryJQaV65J0DNk k46XxNZDuqB2zi1xExl+FZm00o5o5jMSEQ8o3K5QCqW7VxKaZAWXikZw3ntvGrDQpO7T ebMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:references:in-reply-to:date:cc:to:from:subject; bh=DcGET9ScOfJBv+ULEche9WOqBP1RwlS06dA2jWG53ws=; b=CiIfYR3wfP5Rmoc7xqEmElU6UUxpSea90NUgdUbOGjOlAnC/EL7BQ3/yGZGLYn7cDg 1xdRqsnfX+yXvb79/4oguLTDErV9B3HWN6gb7i9hulYSbPZYiu9sUh+UMcO5YvOx944w QTYU0VXHhtXH1Aaf+6h231EdfJk1KZ/GyNggXNmFJ8DxJ4QTQsEwVbazCvKYF8G5/c2e +tzUjuc2TPBMePtapmZ7McptpzYiKdnwWxyLBkC1wPam6iZ//F8jR5RQ4ebYz90NNp/O 0iY5G95xcFQin8IJEdHcOdJI9LlUfZ1BP2ssYsExxX0350vN8QEQ4aV6mXAsgW5UUMHH rbgQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v190si4845089pgd.584.2019.03.07.14.42.19; Thu, 07 Mar 2019 14:42:36 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726261AbfCGWl7 (ORCPT + 99 others); Thu, 7 Mar 2019 17:41:59 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:54830 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726234AbfCGWl7 (ORCPT ); Thu, 7 Mar 2019 17:41:59 -0500 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x27MecxT046754 for ; Thu, 7 Mar 2019 17:41:57 -0500 Received: from e06smtp07.uk.ibm.com (e06smtp07.uk.ibm.com [195.75.94.103]) by mx0b-001b2d01.pphosted.com with ESMTP id 2r3c7u854p-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 07 Mar 2019 17:41:57 -0500 Received: from localhost by e06smtp07.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 7 Mar 2019 22:41:55 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp07.uk.ibm.com (192.168.101.137) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 7 Mar 2019 22:41:51 -0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id x27Mfofj57344204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 7 Mar 2019 22:41:50 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B27D94C086; Thu, 7 Mar 2019 22:41:50 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 699114C081; Thu, 7 Mar 2019 22:41:49 +0000 (GMT) Received: from localhost.localdomain (unknown [9.80.93.211]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 7 Mar 2019 22:41:49 +0000 (GMT) Subject: Re: [PATCH v2] x86/ima: require signed kernel modules From: Mimi Zohar To: Matthew Garrett Cc: linux-integrity , LSM List , Linux Kernel Mailing List , Jessica Yu , Luis Chamberlain , David Howells , Seth Forshee , "Bruno E . O . Meneguele" Date: Thu, 07 Mar 2019 17:41:38 -0500 In-Reply-To: References: <1550060279-8624-1-git-send-email-zohar@linux.ibm.com> <1551998075.31706.455.camel@linux.ibm.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 (3.20.5-1.fc24) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 19030722-0028-0000-0000-000003515F41 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 19030722-0029-0000-0000-0000240FD2C6 Message-Id: <1551998498.31706.458.camel@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-03-07_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=982 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1903070148 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-03-07 at 14:36 -0800, Matthew Garrett wrote: > On Thu, Mar 7, 2019 at 2:34 PM Mimi Zohar wrote: > > > > On Thu, 2019-03-07 at 14:27 -0800, Matthew Garrett wrote: > > > On Wed, Feb 13, 2019 at 4:18 AM Mimi Zohar wrote: > > > > - if (IS_ENABLED(CONFIG_IMA_ARCH_POLICY) && arch_ima_get_secureboot()) > > > > + if (IS_ENABLED(CONFIG_IMA_ARCH_POLICY) && arch_ima_get_secureboot()) { > > > > + if (IS_ENABLED(CONFIG_MODULE_SIG)) > > > > + set_module_sig_enforced(); > > > > return sb_arch_rules; > > > > > > Linus previously pushed back on having the lockdown features > > > automatically enabled on secure boot systems. Why are we doing the > > > same in IMA? > > > > IMA-appraisal is extending the "secure boot" concept to the running > > system. > > Right, but how is this different to what Linus was objecting to? Both Andy Lutomirski and Linus objected to limiting the "lockdown" patch set to secure boot enabled systems. Mimi