From patchwork Mon Nov 7 23:10:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Moore X-Patchwork-Id: 16767 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2352363wru; Mon, 7 Nov 2022 15:11:33 -0800 (PST) X-Google-Smtp-Source: AMsMyM4uTlx3AU+SnQYtLuez/OC/hLUu5yFd2wewIPbhvNYIM3TnYzI6mDY6GImIJgRWkHWGcOyX X-Received: by 2002:a17:903:1d1:b0:187:3f0b:af76 with SMTP id e17-20020a17090301d100b001873f0baf76mr34296076plh.145.1667862692802; Mon, 07 Nov 2022 15:11:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667862692; cv=none; d=google.com; s=arc-20160816; b=PecyZEuoIcQsTR9SPhEn7ANnTIl6GNYvBoLgf+pf5N3xthBoR6bQvmd7aRIiCRiCND u8SVfe9O3r6QCriWnVSKN1ODS3WOdZdNnTVmU+NNm2iVbChDPxaSgxkyS69pQxCzxOp+ wvlQ6DT1fU68ClbXNuUj7F8m1CbGxsex0Cub5l7MdFq6SBMxoCL4RLJrAzQA/dRJiHoY 9nsJuW0ozxDRHPublg1e3qidpnvImUD4Ywk4DgAtiRi9q/yVrqItEEa5aEuk6OaI1Qs+ lRxQWZzVvH41yaVO1pskNGZcX4ejtQX+YfESni5sXAT8V/uclg3MaJrDWd/iqckhzAro imtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=C/L1wjrOu2FXdc85i7dLzQ2WP8XFJpr05YEP11uQNCw=; b=KUU8e2xlfHqCISJeZu9yRo6DrqyQXtJ+DS+Ca3ayzXr/fWm3/MWD/Ys6vYO8+F7Y1C AjpqB8kHqhAuNR+3wpQNJxMINy+GwjLVn3OpzoLfJqDRWvK0kY2DD6JefnvQeMPtPR8k JhkD9/694mhLL+wEUg0ra297VD+zUFBQBvlHwcscB228wilhfR1d2soIfralMjcboAnE 3RrE3QBmulg5ktu/wPCQrMqBV9061t0NYzWDfI1faAmGAqgpDJCM3vgBIPnkhDMp19MB BaieLPMZsXQeRG30BAlbQV43uP+jjWTyTeiArzANL4zpG59Hk1kkd1ZlkaOj97xUQ28d 8z/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20210112.gappssmtp.com header.s=20210112 header.b=goTdSvag; 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rj9-20020a17090b3e8900b00212e91e621csi13538002pjb.144.2022.11.07.15.11.20; Mon, 07 Nov 2022 15:11:32 -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=@paul-moore-com.20210112.gappssmtp.com header.s=20210112 header.b=goTdSvag; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232750AbiKGXKe (ORCPT + 99 others); Mon, 7 Nov 2022 18:10:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232564AbiKGXK2 (ORCPT ); Mon, 7 Nov 2022 18:10:28 -0500 Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B18221255 for ; Mon, 7 Nov 2022 15:10:26 -0800 (PST) Received: by mail-oi1-x22a.google.com with SMTP id q186so1429936oia.9 for ; Mon, 07 Nov 2022 15:10:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=C/L1wjrOu2FXdc85i7dLzQ2WP8XFJpr05YEP11uQNCw=; b=goTdSvag9G3aQdgw9zMKqsP5NJRaWurzjcdBlKCEvVm1UmcGaVxCHMhIkqDbITekyO 5vpYUUYpm8XwV/hQGsHPO7RmHSv6VRLsSWKNh9QI7pPkkvjPVmqiHurgXYTZYUzPAjnK v8O4feF6wRRUkUj7hS4rpHbP6qlJQr/FE+8dk9IRi1hSqXvoFo4bnFemkq9xeBu+tTmn 4IlV9pRnE7bWbcJofk+iI2RN+6lZvNTYr11IMn9wvpikUJAUEgeBNKyzhYjw/arSxDlS uNGg50FpIA5JKl7kE9t+TNojwRKamWN4ECMeKoCKbpd9lE0pFM/H6TUuS4mr/vYlRrGG HSlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=C/L1wjrOu2FXdc85i7dLzQ2WP8XFJpr05YEP11uQNCw=; b=ePwNxLEHUnphASmUhn/2oWBn74p8LcLfF6xxSdjigHaX0IZ0/ySio5si2sHkF8oBG6 PNJtXVEynzIUoehpzSuhaPmAbIjLxm/Ayi9VpO/oEidtLNpu2g/OaO933F7WLthiClWB p4+rUYW8C1Jelha0MZXaheYALec+yZa70XdqxuboitI+wwOn9g29nij7L0senld6LIFI zH+FAWQ6UC9t77IkTdgHE6j5DL5xC4EEnfc60/zqAysPG+BDj0IuzzPXsby+jrpyg+HF d1xbyTqW8a52cu4xj4HMR+RqtZm57llgv2pNro49K0A9lJOsV8yx6EvsMw2Q2l2UZhOH mAWw== X-Gm-Message-State: ACrzQf0F18eyJsUCY1YK+JD+y4Bn9CXbwqRtALXjxlA88WOCs8vQ106x SxH4abhmag2u/SmbX0/yYWvjvejcXMsDGLOzV8X7 X-Received: by 2002:a05:6808:1441:b0:35a:4a2d:673b with SMTP id x1-20020a056808144100b0035a4a2d673bmr14935862oiv.172.1667862625908; Mon, 07 Nov 2022 15:10:25 -0800 (PST) MIME-Version: 1.0 From: Paul Moore Date: Mon, 7 Nov 2022 18:10:15 -0500 Message-ID: Subject: [GIT PULL] Audit fixes for v6.1 (#1) To: Linus Torvalds Cc: linux-audit@redhat.com, linux-kernel@vger.kernel.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1748880790989194951?= X-GMAIL-MSGID: =?utf-8?q?1748880790989194951?= Hi Linus, A small audit patch to fix an instance of undefined behavior in a shift operator caused when shifting a signed value too far. While the fix is trivial and I can't imagine it causing a problem in a backport, I'm not explicitly marking it for stable on the off chance that there is some system out there which is relying on some wonky unexpected behavior which this patch could break; *if* it does break, IMO it's better that to happen in a minor or -rcX release and not in a stable backport. Please merge for v6.1-rcX. -Paul --- The following changes since commit 9abf2313adc1ca1b6180c508c25f22f9395cc780: Linux 6.1-rc1 (2022-10-16 15:36:24 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git tags/audit-pr-20221107 for you to fetch changes up to 986d93f55bdeab1cac858d1e47b41fac10b2d7f6: audit: fix undefined behavior in bit shift for AUDIT_BIT (2022-10-31 07:29:47 -0400) ---------------------------------------------------------------- audit/stable-6.1 PR 20221107 ---------------------------------------------------------------- Gaosheng Cui (1): audit: fix undefined behavior in bit shift for AUDIT_BIT include/uapi/linux/audit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)