🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #6339

Re: [PATCH net v2] tipc: fix use-after-free of broadcast reception link at node release

#6339
From: patchwork-bot+netdevbpf
Date: Thu, 22 Oct 2026 09:00
29 lines
9133 bytes
Hello:

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

On Mon, 19 Oct 2026 18:43:52 +0800 you wrote:
> When the last reference to a tipc_node is dropped, the node itself is
> deferred to the RCU callback tipc_node_free(), but the nested broadcast
> reception link, n->bc_entry.link, is kfree()d synchronously in
> tipc_node_kref_release(), before call_rcu(), and the pointer is never
> cleared.  Readers that obtained the node from node_list and then
> dereference bc_entry.link deep into the link (tipc_link_name() in
> tipc_nl_node_reset_link_stats(), bcl->name/stats in
> tipc_nl_add_bc_link() on the link dump path) therefore touch freed
> memory although the enclosing node stays alive for a full grace period.
> The sibling per-bearer links get "kfree + NULL" under the node write
> lock in tipc_node_clear_links(); the broadcast entry was missed.
> 
> [...]

Here is the summary with links:
  - [net,v2] tipc: fix use-after-free of broadcast reception link at node release
    https://git.kernel.org/netdev/net/c/473167593f42

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179265960428.1554666.5146003602746778440.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-350442-linux-kernel-netdev=dewy.ru
References: <20261019104352.488347-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-350442-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] tipc: fix use-after-free of broadcast reception
 link
 at node release
Date: Thu, 22 Oct 2026 09:00:04 +0000
Organization: Usenet Network
Message-ID: <179265960428.1554666.5146003602746778440.git-patchwork-notify@kernel.org>
References: <20261019104352.488347-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="169904"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:x3EhUJuzrM+128HnN7AnQVK4ImQ= sha256:Ftdz58kveIscDy57a6X8MTbTAg4s7x0wgcoxDr22fxc=
	sha1:8fQT4n+qgAFi4qhgiEqHqD1PQHs= sha256:oqQvNHZQnJXwSZaIwX8Gl/KrXqdHKTYyjCBlEKnKSXM=
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 2E9EB1111EE; Thu, 22 Oct 2026 12:05:22 +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 pg-hWEYP4Sym;
	Thu, 22 Oct 2026 12:05:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-350442-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 E02CC1111E3; Thu, 22 Oct 2026 12:05:09 +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 74ABD3D484; Thu, 22 Oct 2026 09:00:12 +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=1792659612;
	b=igb3kynAKpTX/Ab1cKUSXydSFQBE3cJjRJWoApUbzxmWzDBvTaCrDbZrN2t8RMlmR8ZO
	 0/xxWDzPxLGgwTJdFk+7rRO5ufndd2U5KuIv9+208xXyRIpa7W+UsIEMDIBWUMZNaBCDw
	 AiVfsWwHYPWcf2CMwU0YefqJ5k1GzRObO3Yo0TSS51roDtldW/qMjrz/upPB5Ef/Rbn+m
	 O+i8gSkMH0V+H5PoaHU6/u7L//NJDl8ZnteB6Qc5X1/+hIEPPNIN2jnXLg1rRUnic+860
	 airahU6ahiqi1fDFxeUBs+cwJ6+aaIST4aJjRS7Hbwv9LXxxAIjMt0AbXkkx3t2laww==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792659612;
	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=eQpSgGW8hmJ+axSLStFyg9hyDgGk+StyNQpQhufvwu8=;
	b=vFZ803XJIjqWTjc0f25b5HbtHK6gEY21McAkGljgoqtZN/GC9iOubs0BGCjo8+5j/iKt
	 L3BtFa7ZSujqDL5/dD5UVMxl0wXbziENIxmdh9p48xx0fX06aZBoVGOTcXTK1LCMCXo9f
	 jwW6UPg7cfTdTJFwAOnPqSfa7hnqEAJpfUUgfFr4514ed5LYMHHKBvK5PlsoFsiOgolHX
	 6/Go6NkZExJeK+7HZNRLHeQmT47ICnJNJ0nOb3Ub8FuSzeXlowyptdsht2gSWfUUiBeq/
	 zsQ5fPKOJguY/arVGCaRtc7wkZTBFGxayrNQkQrjH7XiRXiBqNoGCh5CLgx4uBwu3YA==
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="JHVL/1OG";
	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 49D83606A323;
	Thu, 22 Oct 2026 09:00:12 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=JHVL/1OG
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=1792659606;
	b=CDa4VDrc1Q8qOnUICFhtxHBzlXU3YtXO4TD93n0xQ1LM0Fo5k2FhGt3Wbm8VgqK9HrZK
	 r1lnJNsFzI0ZFjm3DbVVvHR58n6usGeq+psCvDf5BO3Seno4lq7vLIyw7Jw7wPgo7xbup
	 I8F/XWktOnVKoeXXOdqOZrdrFjuGTap871VZSEP70nAl2vlpk1AG+sDl51rPUlcTbglrH
	 Unngw2HVhooLAvIkeKCnGYJe4Kc1PR0p5eA2dBpK0Z/dqW1+F9ggAEBDS7yAC7v+zEynj
	 hGT4cMO2T+y+sxIugo9cl5dbj0Cd17Fe0ETkebHgPrXN770XOhLrnE6cD3eswEOW1xw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1792659606;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=eQpSgGW8hmJ+axSLStFyg9hyDgGk+StyNQpQhufvwu8=;
	b=EsvzgDRImv5WDhbZvRqz0lb2E/K1vClhaqpNnt4lpwM7n6Jp4WECudZC40oqwEtRSyC0
	 aTJOgFO6xy5gt+tYk2+l9qnU1G19vRucHUzTO9HIrXJskG3H7WQxOfKnOa8G19SYtwt+M
	 kYHPK1xUA//kaT+pq6Ws8P4Xr+0EtIGfafwvyqa7SmzyO4maaAw6R0iA8kD4/fhDzL3Pb
	 8tnnY6qbqPMwsdGkIjIDzrQIwcL5qiPh2ldBi6HMKhJVYUjGMbNbKBfhNp4+kHtRaofBc
	 Zxlp+JACBz0tYnIYPfagZXfDQMkIaqcqkGBDWzmqHHKCfBci6sLfs8fMm3uWioZX+MQ==
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="JHVL/1OG";
	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 2C51C606A31A;
	Thu, 22 Oct 2026 09:00:05 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C00511F000C1;
	Thu, 22 Oct 2026 09:00:05 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792659605;
	bh=eQpSgGW8hmJ+axSLStFyg9hyDgGk+StyNQpQhufvwu8=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=JHVL/1OGcV/hX8f53uMYUCuPh8UxoUAuWZIMk00muJ14QkOsz2JxgMnJDf7egvtxA
	 919dbjZkh9RSVJI+oXx1W1gU+mPTHf75BT0VbARtZpm6vYhBhLmin8SOpPPDIns4rb
	 ep30zLrrSeXCnPYbcjevJ7XwwDx0Aw9skL6u1XfCoaXJG79XZ4V4z8jhBdmLhFwKEZ
	 FAbSBOXEqkyv8ew5/2f10c+DB1RFc9MyuQDeOpiFkOt/kBzSZ4paqa0f00Q1s7ULF4
	 O/KTahRn5oa9Bx9Z1hYFUpbPgw0U0eBsBH6dq4QeYISl4TNfL0ny4i5pmNEdXaTMIZ
	 7PbEuo/aXeCzA==
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 B448C380A97D;
	Thu, 22 Oct 2026 09: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: <20261019104352.488347-1-18983559317@163.com>
X-Cc: jmaloy@redhat.com, tung.quang.nguyen@est.tech, davem@davemloft.net,
 edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
 netdev@vger.kernel.org, tipc-discussion@lists.sourceforge.net,
 linux-kernel@vger.kernel.org