Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2525571imm; Thu, 7 Jun 2018 12:07:36 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLvHk0qmjIzb9JAo3XUWRnpeXOnPKDGe+/DoJPFE9mcnhxLjq8z1m0iosSJGA5bEjCBQOak X-Received: by 2002:a63:7356:: with SMTP id d22-v6mr2602494pgn.156.1528398456338; Thu, 07 Jun 2018 12:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528398456; cv=none; d=google.com; s=arc-20160816; b=Pz5iRfaU90lwlnnK1/V9rvpE5jxBeJwrneALio/hZJMeskgrl4iN3KOrSpns4F0BYx rfFWUM97Lo+SADrD4FPW7MqoIqrQLclaIAybY3anGcfTbsQfb6OorTYTmuC5gUxfo7Ud hT/4NAX+xbIjO+3tx9thJBKUe4SFhm1ip08OJFhAgqweEWiV8xKVEErDc2DHx7GOX3FN QJ384G6PSfm9z0yR62zLoWT4YaFFic8OdFYX/UQuZBO5AfYRLGSCp5oUOXsfeMU4WAUZ eV3hdijgtUzq/SY9dJFs+B145fs4k6MA3CAZ5Am/47Lp514n2nOf0z+EKaAekn+dpyo3 PTPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date:arc-authentication-results; bh=Q12AnFQlULYdsBT4Sd5AzPAcS9BxG1h2Sza+a7dtysI=; b=LzyYFnRL2PoOshgc5tx9TxpEGIO/9Q3a6OehUHDG1oAu2pKB24O0cqa46mVa+DDD7v 09cudFg4kwIY1xew8iE4jAhxz5ZBwE2mAf66Se9njTZ340RdRU0/djqADDILmvxi6u/T ijU58zilkOV9rAQ3bxFuFlXaKJbu058JVK1wN+tqqPZDAL887o8b7lYGZL5TRHhGr2kz oKOqb3mkqPvU+8ZV40kBeOsEs0DPzPxhHaoF2ruDzMoSz9ZuvhUD9dBvdhs2M4i7ftQl ZH4YfUb9Y604xF4VmofWBhJsgqXDRwMXTh3Z8IP7I6rwUmo7Qmuv+Xn74HH6kVaz/lez VTVw== 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 38-v6si8084921pln.390.2018.06.07.12.07.21; Thu, 07 Jun 2018 12:07:36 -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 S933624AbeFGRqJ (ORCPT + 99 others); Thu, 7 Jun 2018 13:46:09 -0400 Received: from namei.org ([65.99.196.166]:58470 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933071AbeFGRqI (ORCPT ); Thu, 7 Jun 2018 13:46:08 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id w57Hk5AM030781; Thu, 7 Jun 2018 17:46:05 GMT Date: Fri, 8 Jun 2018 03:46:05 +1000 (AEST) From: James Morris To: Linus Torvalds cc: linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] Security subsystem: Integrity updates for v4.18 Message-ID: User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Please pull these updates for the Integrity subsystem. From Mimi: - adds run time support for specifying additional security xattrs included in the security.evm HMAC/signature - some code clean up and bug fixes. --- The following changes since commit 890e2abe1028c39e5399101a2c277219cd637aaa: dh key: get rid of stack allocated array for zeroes (2018-05-11 13:07:49 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next-integrity for you to fetch changes up to b5c90a7526fe39164c2204f0404ce8f8ff21e522: EVM: unlock on error path in evm_read_xattrs() (2018-06-01 06:03:08 -0400) ---------------------------------------------------------------- Colin Ian King (2): EVM: fix memory leak of temporary buffer 'temp' EVM: Fix null dereference on xattr when xattr fails to allocate Dan Carpenter (2): EVM: prevent array underflow in evm_write_xattrs() EVM: unlock on error path in evm_read_xattrs() Matthew Garrett (3): integrity: Add an integrity directory in securityfs EVM: turn evm_config_xattrnames into a list EVM: Allow runtime modification of the set of verified xattrs Mimi Zohar (3): ima: define a new policy condition based on the filesystem name ima: based on policy verify firmware signatures (pre-allocated buffer) ima: fix updating the ima_appraise flag Petko Manolov (1): IMA: use list_splice_tail_init_rcu() instead of its open coded variant Petr Vorel (3): ima: Reflect correct permissions for policy ima: Unify logging ima: Remove unused variable ima_initialized Yisheng Xie (1): ima: use match_string() helper Documentation/ABI/testing/evm | 13 ++ Documentation/ABI/testing/ima_policy | 2 +- include/uapi/linux/audit.h | 1 + security/integrity/evm/Kconfig | 11 ++ security/integrity/evm/evm.h | 7 +- security/integrity/evm/evm_crypto.c | 10 +- security/integrity/evm/evm_main.c | 79 +++++++----- security/integrity/evm/evm_secfs.c | 206 +++++++++++++++++++++++++++++- security/integrity/iint.c | 18 +++ security/integrity/ima/ima.h | 1 - security/integrity/ima/ima_fs.c | 18 ++- security/integrity/ima/ima_kexec.c | 2 + security/integrity/ima/ima_main.c | 19 +-- security/integrity/ima/ima_policy.c | 70 ++++++---- security/integrity/ima/ima_template_lib.c | 2 + security/integrity/integrity.h | 2 + 16 files changed, 377 insertions(+), 84 deletions(-)