Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2612563pxb; Sun, 17 Oct 2021 20:29:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxOMPnz+MTKMeZr8o1cDFnfgDMtEzv2qdFZWfMfKLIz1vBVXtAzUQ2ABM7UMPd86K+ml+Yk X-Received: by 2002:a63:f05:: with SMTP id e5mr21023324pgl.226.1634527798200; Sun, 17 Oct 2021 20:29:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634527798; cv=none; d=google.com; s=arc-20160816; b=mzFfOj8D9LyO4pByLvxPakFBXWeOLspXdwhtRfePUw9a23S6aVKWav0cxcXfqEQm2J JlFUqES2eom5IFzB9R9InXpT48lDs9HIfz3qFSc5ARbp6rlOst82DjP0dUeEa08MA+Iv YPWO1106BoWPau9/vUPx+NxgYJ8R5D/aKAAfbqPNqpvvurryQVmvPnizJO2x1LAEW+3a 4ji8p0Nv8P/vQRmnaTwk1jqj5SD3izdCWEoo73L2ayaOQ/TGhMcMSu5o7v56Vaq08zME ZfGoX6NEW8upXGxFxUHH6cHKh/TKqX3///0vSi1JheRYwWpwxUoYWH1qDdglmnHHeiTf i41g== 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=Hd1kI/rqnv8VznzuDbJfYqJXjGQ++JsUgWgY5b50/pA=; b=iI9/iOX44y3OWxfLBlXb/Sq6T7auwQa+bU6wsdL/P3yWmq413WpEekRIoHHNmcH45M ZlI5+2ljSAA328rPzKGPnyd379AK7UWShOF+SBqiGBbGnru5jQMzaynp1WVDmALTR/13 ATpvQyLsaOkDZ4X7biJLAem8Sp4haZxfj5UJHFEHh2Ts6a6n1bQOBQTHUDZkofVVpqkf 6fpAZpAnQgAqubP5FU1JZNFyXpHJ77bg7j26GFf/8SQc9eHdUNg9Jw32EghOrKFctp7G DiwtIn1400pNt+x5WqhqbsxIF6/aBCxOKFeF/NDiHIyqfK4yY0VdrKLxyBQPseMvkoVJ mQSw== 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 d4si2583372pgi.472.2021.10.17.20.29.45; Sun, 17 Oct 2021 20:29:58 -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 S243750AbhJPHYJ (ORCPT + 98 others); Sat, 16 Oct 2021 03:24:09 -0400 Received: from szxga01-in.huawei.com ([45.249.212.187]:28949 "EHLO szxga01-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236583AbhJPHYG (ORCPT ); Sat, 16 Oct 2021 03:24:06 -0400 Received: from dggeme762-chm.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4HWZGG606ZzbmgB; Sat, 16 Oct 2021 15:17:26 +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; Sat, 16 Oct 2021 15:21:53 +0800 From: Gaosheng Cui To: , , CC: , , Subject: [PATCH -next,v3 0/2] Audit: fix warning and check priority early Date: Sat, 16 Oct 2021 15:23:49 +0800 Message-ID: <20211016072351.237745-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: dggems702-chm.china.huawei.com (10.3.19.179) 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 v3: drop the redundant commit message and add a Fixes tag to the first patch 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