🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #25209

Re: [PATCH net] net/mlx5: HWS, fix action STE double free on rule update

#25209
From: patchwork-bot+netdevbpf
Date: Tue, 01 Dec 2026 12:00
27 lines
8922 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Mon, 23 Nov 2026 23:13:08 +0100 you wrote:
> An HWS rule keeps the chunk of its action STEs in rule->action_ste. An
> update saves it in rule->old_action_ste and frees it once the new match
> STE is written. When the new actions need no action STEs, the rule still
> points to that chunk. Its next update or its deletion free it again.
> 
> Two rules can then end up with the same action STEs. A packet of one can
> get the header rewrite or the meter of the other. The second free can
> also dereference an action STE table that the cleanup work has freed.
> Neither was observed.
> 
> [...]

Here is the summary with links:
  - [net] net/mlx5: HWS, fix action STE double free on rule update
    https://git.kernel.org/netdev/net/c/7903980261cb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179612640450.224468.3763718243456860729.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374994-linux-kernel-netdev=dewy.ru
References: <20261123221310.4045513-1-acassen@corp.free.fr>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-374994-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net/mlx5: HWS,
 fix action STE double free on rule update
Date: Tue, 01 Dec 2026 12:00:04 +0000
Organization: Usenet Network
Message-ID: <179612640450.224468.3763718243456860729.git-patchwork-notify@kernel.org>
References: <20261123221310.4045513-1-acassen@corp.free.fr>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1703425"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:4yg+GM5HePVAARW5YQjhfSlYoC4= sha256:mpu6wHwC47yjQwE6F5TtPZmiWPXiLcWhffGajhDIlpQ=
	sha1:nL65Kk++uDlteqyns6ouwh18b0Y= sha256:BHa9hI5kwqK3SP9CIE0lMTdWxdb33vvDOi2Ve3A1Kds=
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 2E25311735B; Tue,  1 Dec 2026 15:00:59 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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=kernel.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 FzmWweVg2fp6;
	Tue,  1 Dec 2026 15:00:55 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-374994-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 7314D117359; Tue,  1 Dec 2026 15:00:47 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 4408833B8E; Tue,  1 Dec 2026 12:00:09 +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=1796126407;
	b=geWpy5a1q91XbOJ70jWe9oCF1caFv/zIBZ9QUzJPWJdcl1t23y45cbAUnq/vE65d+gPF
	 3SwelwD0Pc2+hHzAZojgv58Ir+thE3wpL+ct6ruaKqoaTPmn0Cau6/cXN+k/DzKoW/2P5
	 Xc2wyAWtoCn+J4nG99rmMYXcS9WuyDTU6LtGj60J21/TpWiGRjPEuBbbpSsohXi3z2xQN
	 CPDpfZBFDYBXhenyt3jzZQODz6/B6OHEgQ1K0lBXzO+2b+qdRn6T3bDSiqajaoeb2fffR
	 0Wx3pVJ8jzW1nS9V0DF4736ozrG74ev6IJSpzGU0us9kGGMwDgbblDao3lnC/X0sH0Q==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796126407;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=dfYLUWVUSHTRuL4w47jUIkImlP8AvdUZvRB9usejKe4=;
	b=o8gJ9ofJVI4/3Nnzr/ZFm196rgTZzVaKiM1FtV2/GeHBFkqdxa7Y9TFy45t4o3x+DbJy
	 KcwgT+TdJXDg84wmVGChMoldIBhVaPFgApcPo0KXmavXjFqbP3gyYa+BDKHmUOOExdluN
	 FBTD8wi5UPjYcz6VRXQ9SxEuYUQPRxM8BoGLdncjxwg8Ix6Bm8DvHi2q6dNLWySjcgkr3
	 UqR4Dhy5sqIDTge9Gja95Z05Tyg68rajcxWmZOgdjSP7zerhkhSA9nRvbFqhRXyV9S+FN
	 /G/+GGiY3cuoJh+ZjHcgzOQ3n/fO+8AdxjmSmy2lhJX9Cb/aBBuIsRIl2G6W4wuqESQ==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=MYe4hoAZ;
	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 68A45606A68A;
	Tue,  1 Dec 2026 12:00:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=MYe4hoAZ
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1796126406;
	b=LPLhgzjVHb5lCkz7r4h1MkXjUo9nSGfM0668q+EU0D4K41CaKCu6W7J5JaMa6tV7BnKl
	 4Rr1n2toyI1D73m47Wz62kX6oOIYuYkw0zEn62eq2hYWQ53XJwVmlsjVEc0qt6muEs6Kc
	 U7O2nn33rEp88cMfw9KLpOlZCsCVrNCoDh8VMdBxfzooU+B8ywfqY/KlLFAc1VP2FoihD
	 Y0GNorLVfgrm7XuSlxRnAbFclvZcBUBje3jepF6PEbwKHdA6J4ngpnqk1gdQYi9zzgL0h
	 XQ/XH2QjWIiF8hKoQaKiv1MXh0B0BqUJ3xuI0HQFuCWuQzJd8BwnBhHH8yZe3gB7gpQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796126406;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=dfYLUWVUSHTRuL4w47jUIkImlP8AvdUZvRB9usejKe4=;
	b=fbPLMT7u4BAX88CTRVj/6WydlQK0GgaOY5wNAgkmZdGYUU8aYO+LQgjx+djfECBPjwts
	 0zyVCJp550sKCtj5iDx4W//fadp0siGmKzwa17oVj6SDNoFWzR404XtK8W/vFOpIIEa7R
	 gNEBmphmVyUxK4NjHj3KZAm9gPH0GeeXm//DH7EfbECcE01C68md6VULsG1qvlC1jAbJr
	 VfebkAbPsQjefhR+S3anNtm5ZPeqHgGog2trknvl8NSH2tMKLSFlPmvJHJaJtEYAibzw2
	 s1Ztd19yKyY+Nt6xtXqf6u/Dhw8JuWoIM3sSPr3ruKgu9QRD9L9pRKhDp4G4GpkvEtg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=MYe4hoAZ;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(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 ESMTPS id 8B9DD606A32F;
	Tue,  1 Dec 2026 12:00:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0B4BB1F00A20;
	Tue,  1 Dec 2026 12:00:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796126406;
	bh=dfYLUWVUSHTRuL4w47jUIkImlP8AvdUZvRB9usejKe4=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=MYe4hoAZ7OehAhAD1gwD9S30fwsTvWDL/MQHkNfbh5dY9AtXmUKJOwjWBJJNJfnON
	 SDTQ3uIhHMxWdVlp002KRIgpLmjepJlgi99PqgCYZkt1rcgzTuT45VD6/9qXEfM4hs
	 VD7ACD2KCdI0T9XGC/KO1FHdFg56CINB4FfJvOyr/3RJxWZ1m+8FcDdQ3KqIhVWIAV
	 X3FqdNWUqjSFYehswBVf9JV9+EgtEryE8ycAzu03Tr+JjUxYK+kzQEyn0t54dCJ7Tr
	 NYf8DnTRg/iY4kF1Duzl3KFwI1Rz/tlF/758Cgz0neMesU7HAEBuUFFSEeFt+Zqx1p
	 3SpWmAbwfxgEw==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id EBA7538068C0;
	Tue,  1 Dec 2026 12:00:05 +0000 (UTC)
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: <20261123221310.4045513-1-acassen@corp.free.fr>
X-Cc: saeedm@nvidia.com, leon@kernel.org, tariqt@nvidia.com, mbloch@nvidia.com,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, horms@kernel.org, moshe@nvidia.com,
 kliteyn@nvidia.com, vdogaru@nvidia.com, netdev@vger.kernel.org,
 linux-rdma@vger.kernel.org