🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #350

Re: [PATCH nf] netfilter: nft_set_rbtree: reject expired interval ends

#350
From: Pablo Neira Ayuso
Date: Wed, 07 Oct 2026 22:19
16 lines
6314 bytes
On Tue, Oct 06, 2026 at 03:17:06PM +0200, Jérémy Jean wrote:
> On 2026-10-06 01:05, Pablo Neira Ayuso wrote:
[...]
> > Can you test this fix instead? Thanks
> 
> Hello Pablo,
> 
> Thanks for this improved fix. I replayed the reproducer I had that triggers
> the
> bug on the kernel that includes your patch, and I confirm that it fixes the
> UAF.

Thanks for testing, I posted a patch for submission here:

https://patchwork.ozlabs.org/project/netfilter-devel/patch/20261007220358.1140284-1-pablo@netfilter.org/
Technical Details
Message-ID: <asbFYylvsv50kA3T@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-342560-linux-kernel-netdev=dewy.ru
References: <20261005200404.3544062-2-Jeremy.Jean@oss.cyber.gouv.fr> <asQtPfgYhK1uxMpR@chamomile> <9a9f2587b7bd37c8d03d0105cf968b25@oss.cyber.gouv.fr>

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-342560-linux-kernel-netdev=dewy.ru
From: pablo@netfilter.org (Pablo Neira Ayuso)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH nf] netfilter: nft_set_rbtree: reject expired interval
 ends
Date: Thu, 8 Oct 2026 00:19:15 +0200
Organization: Usenet Network
Message-ID: <asbFYylvsv50kA3T@chamomile>
References: <20261005200404.3544062-2-Jeremy.Jean@oss.cyber.gouv.fr>
 <asQtPfgYhK1uxMpR@chamomile>
 <9a9f2587b7bd37c8d03d0105cf968b25@oss.cyber.gouv.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="749990"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:6cPIpFpLnB8oYiOnKkWnifRs70s= sha256:UE/6E2IieCkpDv75lWTBa7Np7kriXZj3Qka3exkF6UU=
	sha1:H1Ok7WIBFzwddKtUt/4R7qrD3d8= sha256:QrFYI37gJRPMSD+p/8J5kFw4IXQGneQ/eBs/kKVQXlc=
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 82A3510F230; Thu,  8 Oct 2026 01:19:40 +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 JWu7cZ0keo-H;
	Thu,  8 Oct 2026 01:19:31 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-342560-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 0D4ED10F261; Thu,  8 Oct 2026 01:19:25 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sto.lore.kernel.org (Postfix) with ESMTP id 384266046C2; Wed,  7 Oct 2026 22:19:24 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 80A404137A2;
	Wed,  7 Oct 2026 22:19:22 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=netfilter.org header.i=@netfilter.org header.b="gQBZzN5R"
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 D8221376BF2;
	Wed,  7 Oct 2026 22:19:20 +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=1791411562; cv=none; b=ELg4mOy9WVvzneNHWneopnKBsIONuJNnaiRMARKkv03ygKJlN0pJTC0dZ7xM3tmg287AaBG2JkEeu86cerZK7QM3eb2aAUt85FtFOmZjbtbccbZ6GLAMO6CrL7yOpAj4Nofh3v2hI+Gh5VqA5ouGUEHOjM5aBizm7RgU8ZHvC9I=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791411562; c=relaxed/simple;
	bh=1TYk2LTDQNIu0X4PFF2bx0a2fLDunpsigFQO+YnUcuw=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=XF3jARK5gbFYmmnV66SHy9CzRlW/Q+HUTO7k8zUCjm2bM2sKIDpzV9/W4Y6kkmT06sL8hImnFB3UkwraeiGcyha3x7IUwEdAfBm3Ds6Nh3eCbeXOiEyCO2SRjSS0kfGWGqPhUQdaZjIc9OOVl3mCJSWL0GAdgTMbTbbquNXV5M0=
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=gQBZzN5R; 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=1791411558;
	bh=wJPX2OeTNwA3f1MhX5h7+TMB/ObQzIELfiRuBoJuB78=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To:From;
	b=gQBZzN5R/cHZwYij6q0hJD52N5JpZTofqYYS4xY5tUUGnQljzR0nJRNijaBgJVK2Y
	 4HYrgoijbXBaZwmtzdwCyYzXmYWgV5v7C1212pvmXUJn79YySi4oPqRvbTvdcdBtpx
	 OhlvCQdVn3BXZScAay71Y9zzIejDGzMpJElN10hLHDaANfQ/mFpRhsLFQJEU2KyMHV
	 0Ia/+JLr2H3Ab9FzsF/bSSIHgpwvKS2tLUGq3oEXOJVHv4o7gJOxFwqvQILCM/R63U
	 lj/LfovkGxYIdif4REY/kLjRcwZs+GVl+RWX8ZCho/9LA9WndXGQv62TiiuhwscFtR
	 qBx3iAUeNosQA==
X-Received: from netfilter.org (mail-agni [217.70.190.124])
	by mail.netfilter.org (Postfix) with UTF8SMTPSA id 7EAEA6005F;
	Thu,  8 Oct 2026 00:19:18 +0200 (CEST)
X-Cc: Florian Westphal <fw@strlen.de>, Phil Sutter <phil@nwl.cc>,
	netfilter-devel@vger.kernel.org, coreteam@netfilter.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.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: <9a9f2587b7bd37c8d03d0105cf968b25@oss.cyber.gouv.fr>