Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3255896pxb; Wed, 13 Oct 2021 02:11:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKpa6/A4I+iQLyrZntp8nVOofsbAMlmiP0U+fI/U2HyaZFDcjRFtLGP5zYFJhQCEjbv+Sc X-Received: by 2002:a63:fb18:: with SMTP id o24mr26765643pgh.8.1634116318008; Wed, 13 Oct 2021 02:11:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634116318; cv=none; d=google.com; s=arc-20160816; b=Mv8bO6v1nptkR42qrYGf15zU5F3wlDzmLrthEejSlrKeHn3VENVIXCzNEw2EXPYFT/ 4hXxgDevWI/1L5Bbbr9na+IL4kYd+YBqui5SbDvWhqhmt4jPqr2sOrU3dxHv7D7LhLvb P8ly+wgy6rGNuvAqt78GqgoHfO3YL+kAUtc2Phl6MltYZCvps72/NAL//mLDF7fjYPyP 8ZigTUJZTCvpi/ksQenc32w01ylDkdbCswF8iY4UGtVlG2XfnWmLJHlvZloY4zekwmph Yyk95JbrybRY+TfK0352ibrKzE/P87nL2JEV3lgbo9pNyhoC7cTA+79M6KJYJm6yONRt pp7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=yRAdyMkktpfwxyXEMGoDU8CvA2O5WiaoUEacy8FtVKE=; b=qDkNwTgSPdhpAXcnjFIvNzTRO1K1ACkJOTxn1cYzlj/oo3t9OS/rLIW8H1IAjiwe5F AizOtm2wBqBg/EUhzQqiD4FXtx11ZLsWgwIzWaMfTiJ2Uewwcu8MJSjCU7rOt3hFw5Mp Vu+f6hyiEdZ4dsE4/b8eLicwdzcGw7ddgO+86qzDjL5sWxr/ftUKVrjsH1mShWggzGtP 8LUtzNRKR55AQpg5C7vk/mJgNblW0bretpVZKZW81HuJp6jUEqUt/4rwr1+hwWEmlwNr MI+1+OVB3lJv24K+FqA6n4Lx6gf8Wao8DGlGhZ2jnRPMdIy/vryGqZuD3ewYaqdaYuA6 9ZcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s7si18769456plr.455.2021.10.13.02.11.45; Wed, 13 Oct 2021 02:11:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238982AbhJMJMM (ORCPT + 99 others); Wed, 13 Oct 2021 05:12:12 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:28927 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233922AbhJMJMM (ORCPT ); Wed, 13 Oct 2021 05:12:12 -0400 Received: from dggeme762-chm.china.huawei.com (unknown [172.30.72.53]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4HTmpX0ZSWzbn7W; Wed, 13 Oct 2021 17:05:40 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.44) by dggeme762-chm.china.huawei.com (10.3.19.108) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Wed, 13 Oct 2021 17:10:07 +0800 From: Gaosheng Cui To: , CC: , , , Subject: [PATCH -next,v2 0/2] Audit: fix warning and check priority early Date: Wed, 13 Oct 2021 17:12:06 +0800 Message-ID: <20211013091208.36209-1-cuigaosheng1@huawei.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.67.174.44] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To dggeme762-chm.china.huawei.com (10.3.19.108) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org v2: audit: fix possible null-pointer dereference in audit_filter_rules audit: return early if the rule has a lower priority v1: audit: return early if the rule has a lower priority Gaosheng Cui (2): audit: fix possible null-pointer dereference in audit_filter_rules audit: return early if the rule has a lower priority kernel/auditsc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) -- 2.30.0