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 C5FD629AB for ; Wed, 6 Sep 2023 22:41:47 +0000 (UTC) Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [IPv6:2a0a:51c0:0:237:300::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F3AA19AE; Wed, 6 Sep 2023 15:41:46 -0700 (PDT) Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.92) (envelope-from ) id 1qe1DN-00013g-D8; Thu, 07 Sep 2023 00:41:37 +0200 Date: Thu, 7 Sep 2023 00:41:37 +0200 From: Florian Westphal To: Phil Sutter , 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: 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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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. Thanks.