Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0EFDA13FF7 for ; Thu, 7 Sep 2023 18:19:47 +0000 (UTC) Received: from orbyte.nwl.cc (orbyte.nwl.cc [IPv6:2001:41d0:e:133a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42FF610F9 for ; Thu, 7 Sep 2023 11:19:34 -0700 (PDT) Received: from n0-1 by orbyte.nwl.cc with local (Exim 4.94.2) (envelope-from ) id 1qeCHp-0000Ig-UN; Thu, 07 Sep 2023 12:30:57 +0200 Date: Thu, 7 Sep 2023 12:30:57 +0200 From: Phil Sutter To: Florian Westphal Cc: netdev@vger.kernel.org, Paolo Abeni , "David S. Miller" , Eric Dumazet , Jakub Kicinski , netfilter-devel@vger.kernel.org, Pablo Neira Ayuso Subject: Re: [PATCH net 6/6] netfilter: nf_tables: Unbreak audit log reset Message-ID: Mail-Followup-To: Phil Sutter , Florian Westphal , netdev@vger.kernel.org, Paolo Abeni , "David S. Miller" , Eric Dumazet , Jakub Kicinski , netfilter-devel@vger.kernel.org, Pablo Neira Ayuso References: <20230906162525.11079-1-fw@strlen.de> <20230906162525.11079-7-fw@strlen.de> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,DATE_IN_PAST_06_12, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net On Thu, Sep 07, 2023 at 12:41:37AM +0200, Florian Westphal wrote: > Phil Sutter wrote: > > On Wed, Sep 06, 2023 at 06:25:12PM +0200, Florian Westphal wrote: > > > From: Pablo Neira Ayuso > > > > > > Deliver audit log from __nf_tables_dump_rules(), table dereference at > > > the end of the table list loop might point to the list head, leading to > > > this crash. > > > > There are a few issues with this patch, can we please drop it from this > > MR for now? > > If this were a change that *adds* a kernel crash, then, sure. > But this fixes a crash, so I see no reason to keep it back. > > Please do an incremental followup instead. ACK, I'll do that instead. Thanks, Phil