🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #10427

Re: [PATCH net 01/15] netfilter: nft_reject: prevent unbounded recursion in output hooks

#10427
From: Pablo Neira Ayuso
Date: Tue, 03 Nov 2026 14:11
46 lines
10340 bytes
On Tue, Nov 03, 2026 at 02:08:22PM +0000, netdev-bot+sinfo@kernel.org wrote:
> Hi!
> 
> This is an automated message. This series looks like a fix, but its
> commit messages seem to be missing some information:
> 
>  - How the issue was discovered, e.g. hit in production, hit during
>    development, syzbot report, manual code inspection, LLM or static
>    analysis tool scan.
> 
>  - Whether the issue was actually triggered, or is only theoretical
>    (e.g. found by code inspection). If it was triggered please include
>    the symptoms, like the stack trace or error messages.

Regarding the automated request, this series was primarily identified
through LLM-assisted analysis.
 
A summary of the discovery and triggering status follows:
 
Issues triggered and verified: Several issues were actively triggered
and confirmed via automated testing. This includes KASAN reports for
use-after-free and out-of-bounds access (patches 3, 4, 11), syzbot
reports for warnings and panics (patches 8 and 10), and a confirmed
sleeping function call in an atomic context (patch 14). Patch 12 was
identified via LLM and subsequently verified using a userspace ASan
harness.
 
Issues identified via LLM (Preventative):
The remaining patches were identified via LLM-assisted review. These
address edge cases to prevent future issues such as unbounded recursion
(patch 1), infinite loops (patch 2), stale connection growth (commit
5), chain depth exhaustion (patch 6), guard loss of recursive count
during reinjection (patch 7), NULL pointer dereferences (patch 9),
memory leaks (patch 13), and uninitialized stack data (patch 15).
 
This is a LLM answer to this automated message, with a few edits.

> Please do not repost the series just to address the above. Instead,
> reply to this email with the missing information, so that reviewers
> can take it into account. If the series needs another revision for
> other reasons, please include the information in the commit messages
> then.
> 
> The evaluation is done by an LLM so it may be wrong, if you think
> that is the case please reply and explain.
Technical Details
Message-ID: <aunrmWjwz3BMQmf5@chamomile>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355709-linux-kernel-netdev=dewy.ru
References: <20261103140308.591690-1-pablo@netfilter.org> <20261103140308.591690-3-pablo@netfilter.org> <179371490251.488859.10524309340047922861@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-355709-linux-kernel-netdev=dewy.ru
From: pablo@netfilter.org (Pablo Neira Ayuso)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 01/15] netfilter: nft_reject: prevent unbounded
 recursion in output hooks
Date: Tue, 3 Nov 2026 15:11:37 +0100
Organization: Usenet Network
Message-ID: <aunrmWjwz3BMQmf5@chamomile>
References: <20261103140308.591690-1-pablo@netfilter.org>
 <20261103140308.591690-3-pablo@netfilter.org>
 <179371490251.488859.10524309340047922861@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="3185376"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:hxDbarxhpiOPq5j+R+NISF67+HI= sha256:5ktAsUvfe4lNx20WAymN2ZoimzNWL5ja4FmGcyZNAIE=
	sha1:lPB3yVAGPpMXjKVGafHfSAF8gDU= sha256:3uRbqWdqOZEctTBsgYKQp9BJuxNxJPz2bOi5/aRHI2U=
Content-Disposition: inline
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id E75AC1128DF; Tue,  3 Nov 2026 17:22:54 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.151
X-Spam-Status: No, score=-3.151 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=netfilter.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 8GrpuOj_v-9D;
	Tue,  3 Nov 2026 17:22:51 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-355709-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=netfilter.org
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 961D41128D6; Tue,  3 Nov 2026 17:22:43 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 4892260A65F; Tue,  3 Nov 2026 14:11:53 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=fail;
	t=1793715109;
	b=c3MaFXu8VZXcBcQsGJoPBxoL2sMLtjn9S3Ue1ERPrbXcDQwbGmr3t0/kkgB9M96vaQsC
	 q8kvEDRckHBEiNoLqbuRLfwWAiYoRHUd6J76qEfwFFB4C+I4DkXdQee95dWzivdsGJHYr
	 T778dy3MqvaMlfVSqb2zrdZV3T8BV5f5aCspW/2HLC1iYgbciePKuomC5A53O23EvqvV4
	 PGtcOp1w9nwJ7wwC8i7R4Je1xfilMAd0FWsaX8UEWyrkCez/ynoYPPLn8lqEJ3I7YGWuU
	 vC2SJiIKgdzr4nCI406eUWGXU44VhCDcp5NBJZLReY/3GWM/oDrRgYIgTdprLBrrP3Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793715109;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=9DET/uzVc46zJaT0X6OLGMdVlG71BZl9kF0qp53v96s=;
	b=TLmWOizQlXsBjIQUoE2YGE+RxNFUZXB7sLCJ49aZnfEmgX9lwhpg+Kv37xkVl4lmWENO
	 Ic7VC8YWCVjRgDjsunDiL2ZcEROm2RMdwi9AylEcergOcQtqhzBYHOmx8i5kSNxScEdPS
	 8jwpSFT9bKdfjqDy9f4OzCkfu/R/nMNFjD2XQo7BFSGNj1vfp9LqQdeoHVL5KpCyxVRug
	 niWPvEauZf/TzIFt+5HXouLFXyX0rzKuDfjtoPMW4dGicQhaIo9xoB2rorCfdL+zvhks5
	 LB97R/H6+JHRortl9l2zXiKu6GsKwwKabCimZpZ5TjDYMjRqzzMVI9XW3+kCjsKEtSg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=mmCq49kg;
	dmarc=none header.from=netfilter.org;
	spf=pass smtp.mailfrom=netfilter.org;
	arc=fail smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id D91C8606A32F;
	Tue,  3 Nov 2026 14:11:49 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=mmCq49kg
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.70.190.124
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793715102;
	b=Grew1+uiMAZ+K559JodSLnRC//oExoqliGYnbwJJzPpMrSEYGA1tsTHHDVQXrCFFGGhI
	 f+w3IoPhD9tcYmEiiYEGuFzj5rTpJz4mMpMmMzGq45Kd0jplfFyaBCs+mmJVLNXROUOLH
	 4wO+5Ff6NqlnPCau+h+DV6OXh7VlBM/9KusmDMqcjPT9n+0oSc6VYUkid/Uu2xSo5gPxT
	 G4jGFkNy4Q9TRpgAfhuh977jDSI8RpsL/hzblWLFgKkcVt1jaCD3W33SPMkn6LZSf/KYJ
	 PTq3o+3H+8aWw/yuCwFE4vl/wpuxurWy4UyIrGgF+7g+J3DvZ9YydJw5iGSgQ+hBtSg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793715102;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To:X-Spam-Status:X-Spam-Checker-Version;
	bh=9DET/uzVc46zJaT0X6OLGMdVlG71BZl9kF0qp53v96s=;
	b=Ue+H2KY1vnfPWwtnxys0FX3HOA92fM7NtQFTB+1kFSbPKzu9rB2uRVWhIlfWwEwY9Vgq
	 N9UMA78EDPV59zs+5WMnE3jEg3v3MePMqHij1FUVKrQj2S5oIPOkAGg2+MC2F0WJjnT8Z
	 +w/go1ssBPMrwcS14STMZf6GMHAxBSepRSAeD+D3vWfX6GehmCurIfro4+IfgbmIgNFWw
	 EWxBfkyVUrDEvICqboXhoDZony8j8JI6YBuD7Ptz2bx8pO5V7mNOgwFlEsXsrnklshvnn
	 5mCmNkYyfLuALKbBOuOPPWnKblo7YnosMsen6WNEooaFFfaKukPXzMMmDgzfD97BdNA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=netfilter.org;
	spf=pass smtp.mailfrom=netfilter.org;
	dkim=pass header.d=netfilter.org header.i=@netfilter.org header.a=rsa-sha256 header.s=2025 header.b=mmCq49kg;
	arc=none smtp.remote-ip=217.70.190.124
X-Received: from mail.netfilter.org (mail.netfilter.org [217.70.190.124])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id BEE8B606A327;
	Tue,  3 Nov 2026 14:11:41 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org BEE8B606A327
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=netfilter.org
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netfilter.org;
	s=2025; t=1793715100;
	bh=9DET/uzVc46zJaT0X6OLGMdVlG71BZl9kF0qp53v96s=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=mmCq49kgaVxwsrOonkjFkk2tnoxgPZBWswNwYbNY5Wrf53qJiIApnARlfmAyZkSKr
	 VLoZK+Z3TX47SX9mM8u96Grv7vNOcd8V9CCqze2fqzc/iLZ13KpGV9dB1x7jUj7N/G
	 TBlBSo4J8hlgEzC+tBvhzyh0EV6pxwVKdJ9OqYmtmUKoqkm92DlmCZ+JJw+ZesBWUQ
	 gF6PUK7nGXWvphLrqJ+/dX2NPTndtj1EG/1eS1ShbgYHXlExxGI9N8sNt5IajIqUTo
	 NeIyO8odBpwAhPWhK3AMOpQCEgH7E31AJ8yb36z8lRSDDi02iSzQCyTsBUX+7Im/Ms
	 0XC6Uxwi01XfA==
X-Received: from netfilter.org (mail-agni [217.70.190.124])
	by mail.netfilter.org (Postfix) with UTF8SMTPSA id 0284760090;
	Tue,  3 Nov 2026 15:11:40 +0100 (CET)
X-Cc: netfilter-devel@vger.kernel.org, davem@davemloft.net,
	netdev@vger.kernel.org, kuba@kernel.org, pabeni@redhat.com,
	edumazet@kernel.org, horms@kernel.org, fw@strlen.de, ja@ssi.bg
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <179371490251.488859.10524309340047922861@kernel.org>