Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp5504191pxb; Mon, 7 Feb 2022 03:37:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJzoZPNuf3bJLPY0UObl3EUHKL2krcS2UoRnKNzmUHHzo37pGVc8kQ/tGpdByYGFU+QD5Gz8 X-Received: by 2002:a63:2b8f:: with SMTP id r137mr8986186pgr.201.1644233870453; Mon, 07 Feb 2022 03:37:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644233870; cv=none; d=google.com; s=arc-20160816; b=Lq0a+paJRJ943/7E6F0T72jB5mfvr8I45ALhfHDGZSvvxnxriWtHerJIPxj+wdTWpk bJd9f5Y+8cs8x9H1kvAVjgEcY5W6nO5pT+Gg/peHWGSMCebVqkeYijwcPrYnC1U4vaCk WnIFcfrmu1YilOrCBd8y5wx/NfhuO362UdQRqqh59uZvp5547fROOjP4OOq1BohSwMZm K1lMiXA2iX0cQBr4/EDYBu8d01NL+7Y0yj38A9IzLa62o8D4pOjis4HFNBuMGlv4DXR/ GW4W2vaCZZkyepunlHJCpXYjjdP3lFE5PRhpg+ek2P+zgK+r1A+h0hHbh1vvFCccLwdp Dffg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding:date:cc :to:from:subject:message-id:dkim-signature; bh=UuP/8S3/SKQ4IbTOycySOWXhpmyFsZS5NE7Z1KSmSjU=; b=PZv16cuk3ZwEZbwnQTAQnoKyf7qtO+GnfTOwFuHeqgaF0kORkQhxtKInWhb67iYRNr /P97myxDMsiUzGcSXFUznO1YBq9xVzOGzPKKzIYhbQGbJlQc2bIgurRAYfmPauRkhKmh KVsD1tTStzKk3nGFf2jVl4I1QtQOyl5uJ1TXpcTC3nxZuc5WruKjS90HL/TykZqN+I1n O4mbvdhxE2sPcv5G+QT9x69N2xVgiu41W8jlJvynCfL7EietA1q06ysoGHPPfbj0c/y8 17y1YXJVAJKrP88+cbFeJekYY4DtVDxAfp85zDp5rzKqf0UxbvJVudmqKwMQ92p34lcJ gryA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=VxMn9GAz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bg25si5589681pgb.88.2022.02.07.03.37.39; Mon, 07 Feb 2022 03:37:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=VxMn9GAz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347994AbiBGBwd (ORCPT + 99 others); Sun, 6 Feb 2022 20:52:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229839AbiBGBwc (ORCPT ); Sun, 6 Feb 2022 20:52:32 -0500 X-Greylist: delayed 8379 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Sun, 06 Feb 2022 17:52:31 PST Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82270C061A73; Sun, 6 Feb 2022 17:52:31 -0800 (PST) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 216MOF4L005276; Sun, 6 Feb 2022 23:32:50 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : content-type : content-transfer-encoding : mime-version; s=pp1; bh=UuP/8S3/SKQ4IbTOycySOWXhpmyFsZS5NE7Z1KSmSjU=; b=VxMn9GAzXhdH+Aw/2MJhw848lpmxnM8kVZ6hHDMDmmEYHCwcpvffppX8aya8LPj+LEhC AFHvbBPal6K0JEmeiS+Qd6ZVN4BethMaLPiD1KwRp/R7f73nCNi1iqMVOxnU0MHss3dV GeQwl87T1JBT2e+cpr3yYDcCNFQ2sRNhbusNm9CYBB7rQWAiKzJtiOXXnWVLVhAFFBVB G9/i9CHBn2XfojSzZuDir+67HfPdTs0TH0h02efg9VsTt6dzbU7EqivLfR0Yxvc8QjO4 9ve4UYTjYF6eHhO27/EYgy75yqd3/8dIk9gpEMRLGWuu4eveGU6YUDGYeu1dl4tNNksN QQ== Received: from ppma03ams.nl.ibm.com (62.31.33a9.ip4.static.sl-reverse.com [169.51.49.98]) by mx0b-001b2d01.pphosted.com with ESMTP id 3e22m5eeys-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 06 Feb 2022 23:32:50 +0000 Received: from pps.filterd (ppma03ams.nl.ibm.com [127.0.0.1]) by ppma03ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 216NWSoQ001044; Sun, 6 Feb 2022 23:32:48 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma03ams.nl.ibm.com with ESMTP id 3e1gv8y9ta-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 06 Feb 2022 23:32:48 +0000 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 216NWkd148628178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 6 Feb 2022 23:32:46 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6E6C1A4040; Sun, 6 Feb 2022 23:32:46 +0000 (GMT) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 98C7DA404D; Sun, 6 Feb 2022 23:32:45 +0000 (GMT) Received: from sig-9-65-78-117.ibm.com (unknown [9.65.78.117]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Sun, 6 Feb 2022 23:32:45 +0000 (GMT) Message-ID: <3a988ebfffe725e3172a6850c3b2b603d16c2330.camel@linux.ibm.com> Subject: [GIT PULL] integrity: subsystem fixes for v5.17 From: Mimi Zohar To: Linus Torvalds Cc: linux-integrity , linux-kernel Date: Sun, 06 Feb 2022 18:32:45 -0500 Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: z0qb66HVzRdQY2Plmb2OSJgYTHgmgv8N X-Proofpoint-ORIG-GUID: z0qb66HVzRdQY2Plmb2OSJgYTHgmgv8N Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-02-06_06,2022-02-03_01,2021-12-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 bulkscore=0 suspectscore=0 phishscore=0 clxscore=1011 impostorscore=0 priorityscore=1501 malwarescore=0 mlxlogscore=999 lowpriorityscore=0 mlxscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202060169 X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, These are fixes for recently found bugs. One was found/noticed while reviewing IMA support for fsverity digests and signatures. Two of them were found/noticed while working on IMA namespacing. Plus two other bu gs. All of them are for previous kernel releases. thanks, Mimi The following changes since commit e783362eb54cd99b2cac8b3a9aeac942e6f6ac07: Linux 5.17-rc1 (2022-01-23 10:12:53 +0200) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity.git tags/integrity-v5.17-fix for you to fetch changes up to 89677197ae709eb1ab3646952c44f6a171c9e74c: ima: Do not print policy rule with inactive LSM labels (2022-02-02 11:59:54 -0500) ---------------------------------------------------------------- integrity-v5-17-fix ---------------------------------------------------------------- Eric Biggers (1): ima: fix reference leak in asymmetric_verify() Roberto Sassu (1): ima: Allow template selection with ima_template[_fmt]= after ima_hash= Stefan Berger (2): ima: Remove ima_policy file before directory ima: Do not print policy rule with inactive LSM labels Xiaoke Wang (1): integrity: check the return value of audit_log_start() security/integrity/digsig_asymmetric.c | 15 +++++++++------ security/integrity/ima/ima_fs.c | 2 +- security/integrity/ima/ima_policy.c | 8 ++++++++ security/integrity/ima/ima_template.c | 10 +++++++--- security/integrity/integrity_audit.c | 2 ++ 5 files changed, 27 insertions(+), 10 deletions(-)