🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #11764

Re: [PATCH] netfilter: nf_tables: fix pernet use-after-free on UNREGISTER rebroadcast

#11764
From: Florian Westphal
Date: Thu, 05 Nov 2026 14:26
11 lines
7526 bytes
Eric Dumazet <edumazet@kernel.org> wrote:
> Instead of working around the problem, what about fixing it in the core?

> commit bbe8af9893694c807435178eb428c42d3305db97
> Author: Eric Dumazet <edumazet@kernel.org>
> Date:   Thu Nov 5 13:44:07 2026 +0100
> 
>     net: wait for in-flight device unregistrations before netns dismantle

Thanks Eric, that looks much more sensible.
Technical Details
Message-ID: <auySI28pT75B4hWM@strlen.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-357439-linux-kernel-netdev=dewy.ru
References: <20261105114817.3033625-1-bsdhenrymartin@gmail.com> <aux2zX3dLKYnzG56@chamomile> <CAEnQdOox6ddd_GScf24z65bocnMvX0KHeDTju_8j3bzQjLi0HQ@mail.gmail.com> <CAL4Wiir+91dO7AVVq3O86bWu9NC+8Z+kFUeYveJqfW44-5ChvQ@mail.gmail.com>

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-357439-linux-kernel-netdev=dewy.ru
From: fw@strlen.de (Florian Westphal)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] netfilter: nf_tables: fix pernet use-after-free on
 UNREGISTER rebroadcast
Date: Thu, 5 Nov 2026 15:26:43 +0100
Organization: Usenet Network
Message-ID: <auySI28pT75B4hWM@strlen.de>
References: <20261105114817.3033625-1-bsdhenrymartin@gmail.com>
 <aux2zX3dLKYnzG56@chamomile>
 <CAEnQdOox6ddd_GScf24z65bocnMvX0KHeDTju_8j3bzQjLi0HQ@mail.gmail.com>
 <CAL4Wiir+91dO7AVVq3O86bWu9NC+8Z+kFUeYveJqfW44-5ChvQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="3656080"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:K5GHcJ4XX69FHYTyiXAVVDg+Eq4= sha256:S/2Grv5aFlm/8gDdDfhRwtmivykh4C7re0jv1c/qyFc=
	sha1:tB8XaLrb2hwR3aE0ipiMYn99Cu0= sha256:8cVPJDNc3PUj0TM1D1cKoAh46PNCc6uhrwzoptnbEvQ=
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 AAFD7112FDA; Thu,  5 Nov 2026 17:33:20 +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=[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-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 0Lkq_46yJVRN;
	Thu,  5 Nov 2026 17:33:09 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-357439-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=strlen.de
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 471D5112FD3; Thu,  5 Nov 2026 17:33:06 +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 501CF296EB; Thu,  5 Nov 2026 14:26:54 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793888813;
	b=xkeNOsN1EZFEuUxYEL6Rg9PYrqecqD2W7E/waJuB+5eZ5hzPYL6irKmKzIzJFkW3Q73o
	 4ZshsM99wnghmC5ppAv+x61tp/sFRqmAeURJbKHdE+nWu+HhBJGl0pWqoxwbopNFpIQKu
	 QvjnHvhL9t1AckIp3ijgFSjEt8MEuzD4Fkh+WdGGaMNrv4k0ncZcAOJIPBvL7HOoffDhj
	 GleWnVnd9FutUlGyqYrpuvef0Fbytt4YdxnucJf7Ut+c/MC6MoMBgwTCvAJDVvRtCQBfc
	 MadvReuRuUVKOV5wDKeXnU4zyVtCAc9RsZsY7vQY0iAJlVBzYU2LHZ0dDYW/sXZ+Mgg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793888813;
	h=X-Original-To:Received:DMARC-Filter: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=L8Rb50XkmO6XeB6blehC4ZCWZ4kvWegiRHR0v/W8P68=;
	b=C5e+5Ha5LA2B0fuCre12DERkjIsoJ+N1kUfth5BCUSrYoHH156wGHYghs5GBX281jZA7
	 qpma2jbDHZwOuMjpINfjhifQLM6b8Tps028p+v/8H1cKyc5rQx11Qsw/AkvPQTopP6i35
	 ED524OCV/XrPq6Q+dGMEnnFo4goU64aV0tJMf19g++56Dx/7ID1zj2YQDZhnbQ4DwtVWY
	 zeoMvNhrXxRRiBPN2mIl5YjbyOfB1qcfgdYrwMyPJRynbTjXOsDxQ4nubzSnDmbeEp0no
	 TN6KRDAMiugkIXgf6yQRgvTs3V/mK0SprSfMgH9kgIPppRHJkjvZtsB7i58Mzt/vDRg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=none header.from=strlen.de;
	spf=pass smtp.mailfrom=strlen.de;
	arc=pass header.oldest-pass=0 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 540BB606A32F;
	Thu,  5 Nov 2026 14:26:53 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.216.245.30
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793888807;
	b=c1mLAw8weMNeGE6Ojs1dNkKWzJTM94bqP1UYiZ9p7t50qBbuqWhEO+0iM5otyKW3DL8H
	 A1VTb81H9di3Fqn8sLU5GiVYY11B3BF92csrqsnkqjEngAXEt5D+OxyMluTTjcRiAzcnm
	 Q+/n095ZxaYlsdSIR9Zqhr9X9Ijw6e0lb8s+zKhoWEawe+EZQ0SUl1HvOgtKD/LF5LjV1
	 zEtS3U0IHH4orZOoX02WTAuLreMFOtzr5Mwh7DtGG4o7dR7cNDOUb4Gch7UR4xEqPcCCj
	 phtFi+H1PbHGSt+JvdW/FJFowESnLRRgW1CIGtyRKcJEAdRGCDb6hslYN8P8fl7RHUw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793888807;
	h=DMARC-Filter:Received:Date:From:To:Cc:Subject:Message-ID:References:
	 MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=L8Rb50XkmO6XeB6blehC4ZCWZ4kvWegiRHR0v/W8P68=;
	b=wbJtP+Jmx8T15gJeif2REKqBIbBcC0yhD6VjOIMUOapUEI+Fvnuv9+4TCANGCO9jdQms
	 nsyakAc3UvjriNbSt7kakjclZzDFIfNDv8KntcOQt1GNfJokI/3Rwdu6XMTUryC1Ci+Hd
	 /51iSiwHMpDh0Qnz1L1GpXgZH/lZKYd9NdL/zNDJNWNfAWyFERf/e4ArCNyE7kf3yvWFL
	 JQlgwlFd5LdW6e5vEOugAxfqvCQjze5UmstB9BA3YeewPTmZUNMHT5YLF0t8YALn/UBxn
	 aDCGGYleL1fIjcMGiHifZh6XSVS4463aWb1ul0MhuQv175ph7JFUR43gCV2uXsxHynA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=none header.from=strlen.de;
	spf=pass smtp.mailfrom=strlen.de;
	arc=none smtp.remote-ip=91.216.245.30
X-Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30])
	(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 ESMTPS id 98080606A333;
	Thu,  5 Nov 2026 14:26:46 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 98080606A333
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de
X-Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003)
	id 480B760380; Thu, 05 Nov 2026 15:26:44 +0100 (CET)
X-Cc: henry martin <bsdhenrymartin@gmail.com>,
	Pablo Neira Ayuso <pablo@netfilter.org>, davem@davemloft.net,
	kuba@kernel.org, pabeni@redhat.com, netfilter-devel@vger.kernel.org,
	coreteam@netfilter.org, netdev@vger.kernel.org,
	stable@vger.kernel.org
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: <CAL4Wiir+91dO7AVVq3O86bWu9NC+8Z+kFUeYveJqfW44-5ChvQ@mail.gmail.com>