🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #9986

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

#9986
From: Pablo Neira Ayuso
Date: Mon, 02 Nov 2026 23:15
37 lines
9924 bytes
On Mon, Nov 02, 2026 at 12:59:26AM +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 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.
Technical Details
Message-ID: <aukZjB-Jt_UhRCFb@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-355102-linux-kernel-netdev=dewy.ru
References: <20261102005654.532438-1-pablo@netfilter.org> <20261102005654.532438-2-pablo@netfilter.org> <179358116673.3286.17229865634602635672@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-355102-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 00:15:24 +0100
Organization: Usenet Network
Message-ID: <aukZjB-Jt_UhRCFb@chamomile>
References: <20261102005654.532438-1-pablo@netfilter.org>
 <20261102005654.532438-2-pablo@netfilter.org>
 <179358116673.3286.17229865634602635672@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="3054685"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:lAoS8gmxPmfJQlycKJsElYU+shw= sha256:Yi4FC1r2XBGBNYKJZhm0LYilKsCxhcxGu8z7I0KWc30=
	sha1:sdAKx2cBiIz/gdMpdVj8u2TVAmM= sha256:h9+Ex6Ot/mLS3TYJXW2na+LLXt363Ybm3wLTaIKQXpk=
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 AA70A1126B8; Tue,  3 Nov 2026 02:22:05 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.051
X-Spam-Status: No, score=-3.051 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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 UxLAEBIlelAs;
	Tue,  3 Nov 2026 02:21:59 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-355102-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 9C199112036; Tue,  3 Nov 2026 02:21:49 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 99B522DC67; Mon,  2 Nov 2026 23:16:11 +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=1793661337;
	b=2ehHtUGbqLznefCIKxT8k+U8JKpg97GGWsAeQ/OaoVgpz6T1ymAp39FrN3kwE0hJM5Wp
	 OiP+jCz2Qj59I59vmM4KmWBjSaVN/ftJOktGFyu6af1xu6CZdxFxry3Q/ehHFcPH5M0gg
	 +AEarX55jdO+pVvWMqkH1UQ5Xv8SxiLFv6uaRA4ngjutFoxJgPPkZVrpfaDg08119ZO0s
	 EBrJKSNE8nklsVxuCO2wSUsr2qCZAs28a1jUGM1BpUkvmci4BjkmEQOIMEr1mI6KI9xZI
	 u5bQrDmtGHFL9+rHA6OueK6bUKprucZPA30RZSeo0PHIVl3zTmptgZqVszpkIyXVkvw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793661337;
	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=EMxNL/UewMVZwW9XoJ8tizSZ2fZWJjDE9DftmkLnki8=;
	b=5OQBR1/ik8XXO2riFcGpSJ3gU1HcIeL0hQsqRtNho9lHsTQrbgN1tV/TXKdY51+zldKD
	 m6T9oyOi5NkWAFcdrusOFTH/lzFFHLtTF22fmAR+QFC0HWH0kj6/IKdm56BGZvF8PMUd0
	 RDzW6yIEO8qaRjAefLXV/oI9dGbdkSZ4tvwJHXkiWZK8orzI+sGpFFApCtEqGc5fCm57W
	 y8h8DyuNUvFcgky6Jm7fnX2Omt5YZKLORq6Nb0GhSQXHMRNp8GaJ9wJmdldSMI9Yii8HG
	 Q/wYndt5HGLDrfrZuh6digax/HosIknCV5grLVfkopWjTiPoxyj9EHkv7MQNluy6NQw==
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=tAU0LVUI;
	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 5893C606A33C;
	Mon,  2 Nov 2026 23:15:37 +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=tAU0LVUI
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=1793661336;
	b=tn5RS6fQtDWbCGxjFIEY85tZs/qSxIWMyGCKe+W0xg8kBqxEmGWldSKlC1GzW/75ZPB8
	 4qUSjDGYGzWsheDcBAYR4pkvt5Kv+umUp8q7/7PJ0bSf9LD1nNtHJCi+eKpTVwTdtnQvi
	 251mTOQmU3qbx4mjd9pH7Fi/BslVePRGVbhOY6V50/Nb+ReAkr9hVRqIcME+RKZoelO9a
	 1flCVT3LaEBkIQWGwpbdIZ5godeFHrBuc9gneln9ZVoAkrcdbo77C4XCqTx0w7+gwzT03
	 NYyFlisJmTtSQ3/JO5doqPIFTuaZ2KylDn4GzpkcKztaAw0NOQs1V+Rw1vNwi46sLog==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793661336;
	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=EMxNL/UewMVZwW9XoJ8tizSZ2fZWJjDE9DftmkLnki8=;
	b=RNSQicuW6LQnQ8Ew2yJoz2v4YXICHvs+x1Lc7n0atgpN6le9h99Lerr9BAgg7eqIKKwL
	 YFtquzCpZo8N9612bR7zdGGJ/ZP7pIAMpahmPJFBrZuMmrrRjiVcd6QMEOLRklLZUcsqv
	 gSwTsh2d6eiF6HaMh29ywYkqfwA6CffUpITpZMdZSNCo/jfkXf4AD9HB6tTEhZloO8Jlw
	 Al78teryyxdgcy4t81cCZITJQZnXyB3RAii85Y2r6DzR+t3IjkmuWQeZOVGXaJSeHUWm9
	 jV4Lj9ZOUjh0OQUL/1YDJ7RH/uuB9kIaa+oe/Z84ZV0Sb8MiJLJb/qw/MFzALdrz0IA==
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=tAU0LVUI;
	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) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id 9B9C2606A329;
	Mon,  2 Nov 2026 23:15:35 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 9B9C2606A329
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=1793661327;
	bh=EMxNL/UewMVZwW9XoJ8tizSZ2fZWJjDE9DftmkLnki8=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=tAU0LVUInlbUZb946+TbPw74xpnHYjx80ryp1pK+lTs59T0wtv4c7BwEbcdYnkfXL
	 tCW8E9h9TS1yKChcCzUpMoCjCwHs7dyGy14/zzlEO9PVr6A1+nEJaCvtri9ojxDH2s
	 Xhsb+i7ybVRpU4715Gty80L+4guaYbDzR+P1sYkavuwq6LjPdoXKMzvuPkMhiBVix9
	 s3AxkTbr5hKm8NKkvquzmbjP4d0AvebYRZ7iD/LAQQe3mweGawlbDFd/EzW7BNo1BM
	 z9Bp2MPDQB/KsHvFXgbTrPKlXKuBZ9IsL8+5U4+ly4k7J1zIbKJgN0lkuVd7AX3SND
	 li5RLBKTMnMbA==
X-Received: from netfilter.org (mail-agni [217.70.190.124])
	by mail.netfilter.org (Postfix) with UTF8SMTPSA id ADD5460054;
	Tue,  3 Nov 2026 00:15:27 +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: <179358116673.3286.17229865634602635672@kernel.org>