🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3529

Re: [PATCH net-next 00/15] Netfilter/IPVS updates for net-next

#3529
From: Pablo Neira Ayuso
Date: Thu, 15 Oct 2026 10:18
74 lines
8502 bytes
On Thu, Oct 15, 2026 at 11:48:39AM +0200, Fernando Fernandez Mancera wrote:
> On 10/14/26 1:11 AM, Pablo Neira Ayuso wrote:
> > Hi,
> > 
> > +Cc: lorenzo@kernel.org
> > 
> > This is a report on sashiko's findings:
> > 
> > https://sashiko.dev/#/patchset/20261011215953.1334630-1-pablo%40netfilter.org
> > 
> > On Sun, Oct 11, 2026 at 11:59:38PM +0200, Pablo Neira Ayuso wrote:
> > > Hi,
> > > 
> > > The following patchset contains Netfilter/IPVS updates for net-next:
> > > 
> > > 1) Disable br_netfilter in userns and schedule it for removal in 2027,
> > >     from Florian Westphal.
> > > 
> > > 2) Prepare the flowtable to support for IPv4 over IPv6 tunneling and
> > >     vice-versa, this includes 5 patches from Lorenzo Bianconi.
> > 
> > I am afraid this preparation series is enabling more than it should,
> > sashiko reports type confusion is possible, for example:
> > 
> >    1/5 netfilter: flowtable: recognize IPv4/IPv6 in tunnel proto matching
> > 
> > this adds the initial pre-processing of IPv6-over-IPv4.
> > 
> > But then, nf_flow_offload_lookup() expects to handle IPv4, not an IPv6
> > packet.
> > 
> > I will repost this PR keeping them back.
> > 
> > > 3) Update selftest nft_queue.sh to make it more stable on debug
> > >     kernels, from Jakub Kicinski.
> > > 
> > > 4) Fix a overflow in IPVS sync messages which can only happen in very
> > >     old 2.6 kernels, from Julian Anastasov.
> > > 
> > > 5) Flush conntrack gc worker when existing netns to address a unlikely
> > >     UaF, from Florian Westphal.
> > > 
> > > 6) Switch nf_tables chain types to use rcu, otherwise module removal
> > >     can trigger UaF, also from Florian.
> > > 
> > > 7) Add two new helper functions to validate that socket is of inet type,
> > >     coming in 2 patches from Florian Westphal.
> > 
> > sashiko reports:
> > 
> > "If an IPv4 packet from an AF_INET socket is encapsulated by an IPv6 tunnel,
> > the tunnel preserves the AF_INET socket in skb->sk while transmitting the
> > outer IPv6 packet on the LOCAL_OUT path."
> > 
> > This sounds like an unrelated issue, I don't know yet how that can
> > happen TBH.
> > 
> > > 8) Remove redundant parsing in nft_exthdr for the tcp options case,
> > >     from Fernando F. Mancera.
> > > 
> > > 9) Remove redundant skb_header_pointer() calls in nft_exthdr for tcp
> > >     options, from Fernando F. Mancera.
> > 
> > Sashiko here reports this now drops malformed packets instead of
> > NFT_BREAK, which is fine, maybe just extend it to tell about this in
> > the patch description.
> 
> Hi Pablo,
> 
> Should I re-post a v2 of this patch or will you ammend the commit message to
> add this bit?

I will amend the commit message here, no problem.
Technical Details
Message-ID: <atCogI3gNxxPjKxo@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-346666-linux-kernel-netdev=dewy.ru
References: <20261011215953.1334630-1-pablo@netfilter.org> <as66prsWCk1qlQpm@chamomile> <21b46e85-49db-4c7f-9fd7-f32528f2dc4d@suse.de>

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-346666-linux-kernel-netdev=dewy.ru
From: pablo@netfilter.org (Pablo Neira Ayuso)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 00/15] Netfilter/IPVS updates for net-next
Date: Thu, 15 Oct 2026 12:18:40 +0200
Organization: Usenet Network
Message-ID: <atCogI3gNxxPjKxo@chamomile>
References: <20261011215953.1334630-1-pablo@netfilter.org>
 <as66prsWCk1qlQpm@chamomile>
 <21b46e85-49db-4c7f-9fd7-f32528f2dc4d@suse.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Injection-Info: usenet.network;
	logging-data="2507454"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wM5dgRCbGlykTSijJZiQTCJrAzY= sha256:Bt7PccQJ7Vie0NxBwf7Ru11dlH+A2LBqp5KJURe0x0o=
	sha1:vlE719y4wh1wSwI5yiwb2yA/Keg= sha256:450vQt21uofbU0+tQxIw752PgH30AWzCM2mXNjIkAZQ=
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 644FA1102B9; Thu, 15 Oct 2026 13:34:01 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.75
X-Spam-Status: No, score=-0.75 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.25,
	MAILING_LIST_MULTI=-1, 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 2-UsHSIRK94f;
	Thu, 15 Oct 2026 13:33:56 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-346666-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id AB0BD1102A0; Thu, 15 Oct 2026 13:33:47 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sea.lore.kernel.org (Postfix) with ESMTP id 22FC22A3D8; Thu, 15 Oct 2026 10:18:50 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 591C350B42D;
	Thu, 15 Oct 2026 10:18:49 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=netfilter.org header.i=@netfilter.org header.b="OdGLo44F"
X-Received: from mail.netfilter.org (mail.netfilter.org [217.70.190.124])
	(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 7BDC4509F07;
	Thu, 15 Oct 2026 10:18:46 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.190.124
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792059529; cv=none; b=GMMeYBVYfS+0aBuFR534FVB53BBlkusiLfj1eOx7GUmkdaDUPVeU077LhA9fbl+pjJjWFIL52qAlW+0Nk7b6b6zW6LlxpMhcf2GRGEtbzEqAV4lbCTuSKczWwItmcOgSm3ljPvHWIDLhh6MmLgCQq0eNVGW6M4pr0i2DxzJ1fE4=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792059529; c=relaxed/simple;
	bh=w6+oEsqpvhl9XS9dYOzM3rDSQdpihAlD4bYiXOl5b2M=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=do9GvXVHJ5HZlXKCfVZXFS7HHZlJ27nLKFxN+Dt11HIInWSLjWb+ukMRHXVaIoQmmFa5LtlF5aMK+F3O2f+b06XQLRPAe75cIybU0r0Nm+LVnNAcq5sG/PrqyxzSR3oJ9Nuy/heKZiZqK++Pezs1vT/fqFKxrOW6/iWy7YdDlHA=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=netfilter.org; spf=pass smtp.mailfrom=netfilter.org; dkim=pass (2048-bit key) header.d=netfilter.org header.i=@netfilter.org header.b=OdGLo44F; arc=none smtp.client-ip=217.70.190.124
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=1792059523;
	bh=kOpn0t+1OIM+cNSDkTgSrnahRd+omhH3QhXv8mIfdVk=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=OdGLo44FOArVKeoNSyi0TrSB8uQL00siqCx1D9PVyg28hdeM5hl43CQrsvd7fnC04
	 6kuKcFrHGtrAZusVnRrqJ7kWQuoreBclnrFJDhvwmrBWWCLfDWM71e6hhFEImXDljP
	 WRGyixy3AnQKDwmco6XVKgLKpjhtZuevVQOlpEaOOLEcQMkqhMVlQFR8OAdRwQi489
	 rVvMxFyCrejt3p3Xx0LP7vdC3RMcEK5DY/+mWt9piC3U4P2ddYVlnw9BnQfgBuGWIZ
	 G0U9GTGDKf7+7vQte6xKcLcHdaKg3MTi7pOviSVs22D6eHyYWAlpNKd/wYk6QtNhp5
	 5UPG9MiG+xKcQ==
X-Received: from netfilter.org (mail-agni [217.70.190.124])
	by mail.netfilter.org (Postfix) with UTF8SMTPSA id 4C90A6005A;
	Thu, 15 Oct 2026 12:18:43 +0200 (CEST)
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,
	lorenzo@kernel.org
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <21b46e85-49db-4c7f-9fd7-f32528f2dc4d@suse.de>