🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3781

Re: [PATCH net v2] net: mlx5e: Fix use-after-free of the MACsec xarray entry on RX SC deletion

#3781
From: patchwork-bot+netdevbpf
Date: Fri, 16 Oct 2026 01:00
25 lines
6418 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 10 Oct 2026 11:21:15 +0800 you wrote:
> In macsec_del_rxsc_ctx(), the RX secure channel is torn down with:
> 
> 	list_del_rcu(&rx_sc->rx_sc_list_element);
> 	xa_erase(&macsec->sc_xarray, rx_sc->sc_xarray_element->fs_id);
> 	dst_release(&rx_sc->md_dst->dst);
> 	kfree(rx_sc->sc_xarray_element);
> 	kfree_rcu_mightsleep(rx_sc);
> 
> [...]

Here is the summary with links:
  - [net,v2] net: mlx5e: Fix use-after-free of the MACsec xarray entry on RX SC deletion
    https://git.kernel.org/netdev/net-next/c/ad17ad50b8dc

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179211241152.4182913.11538884926508718217.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347026-linux-kernel-netdev=dewy.ru
References: <20261010032115.93545-1-18983559317@163.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-347026-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] net: mlx5e: Fix use-after-free of the MACsec
 xarray
 entry on RX SC deletion
Date: Fri, 16 Oct 2026 01:00:11 +0000
Organization: Usenet Network
Message-ID: <179211241152.4182913.11538884926508718217.git-patchwork-notify@kernel.org>
References: <20261010032115.93545-1-18983559317@163.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2656681"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:nYVFuQruHE8GTRk1JrLUH4rwqPg= sha256:nptLnL9WE8iXQ1KASYahpao+jl7GnvARLtXItmSvsn4=
	sha1:BpKRl4YXhp9pYgnBujqrGO4l8ho= sha256:aBQ9NSk2EwDPKnkt7HpKbFEAhAkhWuAEmjrfWBXS9fA=
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 8E6A0110413; Fri, 16 Oct 2026 04:01:22 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.74
X-Spam-Status: No, score=-3.74 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.24, 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 OOUl75iNEQ_k;
	Fri, 16 Oct 2026 04:01:19 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-347026-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id A12B911041A; Fri, 16 Oct 2026 04:01:11 +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 72BCF60BA03; Fri, 16 Oct 2026 01:00:33 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B6D0633508E;
	Fri, 16 Oct 2026 01:00:14 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HJGPyUBy"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(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 ABE85329E4B;
	Fri, 16 Oct 2026 01:00:13 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792112414; cv=none; b=r2blD5sCP/LzKyaX1ImWeogBLBLD5BTwQoJaYvVBTau5Tvb/LrgDBMIBLzH+6HjtPCdHcR3cCS7UiGxwiAvJkZz//IlbFPEompG+DEEkulvS68juAMBY8vuF7PbsQ3HQSejNTyQ2sOx+y2sv+EVwSfksX6qYUWcf6QfgkO/mFtw=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792112414; c=relaxed/simple;
	bh=M+lF2V+s3RKHalZpr1IoxQdWhIlxVnAXPXp4a++Kbh8=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=jjaOVpzWxUvpL7SQolE/zCWfFSgC0jpsWwkDjmjXUn7UIpgfl5HPlqeViVhcEgYdZw+2vNTQv+EWlKQGTsrZOAor8hwbRwkAZ5RyHX5RrS6hKfoREoxnHWgikDMuPlWKKVxfQq0IsfVTTubzSR/CttwVAR4wPqNEu49v5oSUAKA=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HJGPyUBy; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 055D21F000C4;
	Fri, 16 Oct 2026 01:00:13 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792112413;
	bh=SWGYEoC8BjEi5kwYZ2SLu9ZWtC7sTOWuH/6Ow7Wiuys=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=HJGPyUBy4E7Ma4Q8ROLT1g9OW6iLLZAL+DqFSHErCq5VvpRtXFxJPHukE4FfsLWJW
	 emN1GDwqIPj8b/r8KEMxTdd6E2YIjObchBg1RiA3EXeI5PakbGH42DLoPm+IOPvKSJ
	 YyUMgMNWSm63IFHumlsAc+3/F6+Z7jkTen1C7VlwbiMY0r6/xHeMRyZp9Mm9oRaRkC
	 fF+J3ohM4xF2k45Jz2i8WieXOs8SLX87jiJDjfxZtHqjsS9RMkxA2PTeIJ/HgTtiNo
	 JYJkFZKOgNB+MIioOSKEB3bwdWWerSuUUdJBaPSpMCB+sDWE4OmxI1dnlXmten/rtK
	 hUILpu9qa4hDw==
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 F15AD3808209;
	Fri, 16 Oct 2026 01:00:12 +0000 (UTC)
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: <20261010032115.93545-1-18983559317@163.com>
X-Cc: borisp@nvidia.com, saeedm@nvidia.com, leon@kernel.org, tariqt@nvidia.com,
 mbloch@nvidia.com, andrew+netdev@lunn.ch, davem@davemloft.net,
 edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, sd@queasysnail.net,
 netdev@vger.kernel.org, linux-rdma@vger.kernel.org,
 linux-kernel@vger.kernel.org