🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #22626

Re: [PATCH net] net: dsa: felix: fix NULL pointer dereference in felix_port_enable()

#22626
From: patchwork-bot+netdevbpf
Date: Wed, 25 Nov 2026 15:30
24 lines
8656 bytes
Hello:

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

On Thu, 19 Nov 2026 10:07:10 +0000 you wrote:
> DSA registers the user ports in dsa_tree_setup_ports() before it sets
> conduit->dsa_ptr in dsa_tree_setup_conduit(). On teardown, it clears
> conduit->dsa_ptr in dsa_tree_teardown_conduit() before
> dsa_tree_teardown_ports() removes the user ports. RTNL is not held
> across either pair of steps, so user space can open a user port while
> conduit->dsa_ptr is NULL.
> 
> [...]

Here is the summary with links:
  - [net] net: dsa: felix: fix NULL pointer dereference in felix_port_enable()
    https://git.kernel.org/netdev/net/c/469b61e4be88

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179562061426.619539.1681509079424527727.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371479-linux-kernel-netdev=dewy.ru
References: <20261119100710.129379-1-aristo.chen@canonical.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-371479-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: dsa: felix: fix NULL pointer dereference in
 felix_port_enable()
Date: Wed, 25 Nov 2026 15:30:14 +0000
Organization: Usenet Network
Message-ID: <179562061426.619539.1681509079424527727.git-patchwork-notify@kernel.org>
References: <20261119100710.129379-1-aristo.chen@canonical.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="242263"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:NgfGzcQHYq41xbalaAdyOgChUdI= sha256:24Nz1yIgc9xJa7IUspLRFdpaOUAyEM2diHyOuJmtSno=
	sha1:EW899IbrCT3ij2X8IZcOQMJVJ+s= sha256:g4xEvpW4/fQ6vUWPlL4DmX1MnCMJBjErWj/QpJwKueQ=
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 9176B125E7B; Wed, 25 Nov 2026 18:30:35 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[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 astfYflXYn0S;
	Wed, 25 Nov 2026 18:30:30 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-371479-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 5270F125E77; Wed, 25 Nov 2026 18:30:21 +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 A1A363B5CA; Wed, 25 Nov 2026 15:30:17 +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=1795620616;
	b=eJDFz6UInH0rza4CbCXoTr6c2euiBS3C7c/TiZtbjpDbXJ1xpGH7JEW7f8Ax4U2fVQfb
	 Q9thGrN9A7Qr2QJUeVGRvMu1r0MCaZIoruMDst2YtZQMwEehR2x1oUp38jCjP8beAwz+N
	 eRz4l7oA1AoRxGx4FXJzst9HRpQT4ONBz9u9crAuqO01mMVEfK0TOaS4Jfjs0Kbz1lmx+
	 UDRbqe/b6zOZb+IYIU2hxDkn3kXSmiktUScwAMEZzSytHoDZnMaf0Cgf7+NPda/XqZ4r7
	 xI4W5z+qqe+HsO3z70uIyt2coDwQ9hhUdwC//v11Vycbw2pxtRuaHa34Wk8N0MhsXLg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795620616;
	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=YPoCqSchukPk/6/Q0GhtP4g/d4Rfs7HULyummTBWQ3o=;
	b=N7cDDVo/rvKv4chvv6GCClydCk3Uy6kGpUf6QjC4iQdlXEITdJt1VGxuVqHuN8ENmhPq
	 p7OmtoYgnFSUzRNMKmltO9Iyw+2/YF8pf8VbnbRjm9YMruReB8GVBF9XeMx7KO3Vcb133
	 jQVu1Eh4aWNluVuXCv3Pw2MoHbJ+GuA5b5/0M1L2HRzpQBOUzSN7XMWXEg6lI582acHH1
	 pQndqFNMjIHwvEC96Q9dsNJsumsgK+y4uRr/L8ofz6f7fKQWS6rRj+uViiB8g3cq5OzRY
	 9NV77IU2g0RfGel1c/mgg+KAlxqNLL12mkhCxrH+qmki/239S6qhoE/WOiBp61NilBg==
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=dkObNx2z;
	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 8C31C606A32A;
	Wed, 25 Nov 2026 15:30:16 +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=dkObNx2z
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=1795620615;
	b=Lvv4edQ8Df1dBirGoD3EPcx5d1CSKdaA2ESjLQ3roO6uM2PNmbs0A6fGCU7Sk99z/hK8
	 S9XebOkkU8wAYvzESDbnaPaB8kploeq2l9KB6aXPUaCoaksKqZx0uaSA0JrOkaEJUFxh+
	 5ruRPINigovPd4dgVzJRBVnHrBdCY98C4kvSupkSAY/6d7uUZYe6jkrCVNMw4jTgBVeQX
	 Do9OC6Qfgn6yusEHKShpJIpZmPwUJa4YvxF2PzlbAL0YNBjHbM/n05iH/1WvADxl9XnsV
	 Q4VRtJKiv5B6RgORyEzgpmaoRBaS9ZXtBCCJ6mTQjzBEIgNApTghKAVOx0LbmyqCSaA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1795620615;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=YPoCqSchukPk/6/Q0GhtP4g/d4Rfs7HULyummTBWQ3o=;
	b=bTm2BXUUOgxlmQ5QUqFuKjVVOVcsJE6yLPsbGE02OIzdHNjN/9Sjm/p/9jJ/K+xgBLcK
	 oJrH+EJFFRpHPshb/ERspXCLktvwq3Jius9IQp7yQyaTL7XstNvUz1d1P+WdBsh2JyTP9
	 IbhhmEwMfLIaQfcgSJ6+rPDjaH/vgtZ2laUsv3EmrbqbMbVmaNrj5EOtq1oxDyIsGhRs9
	 Ze+pT+CKbb2hFdHAbJK4ny2WOKrvpR2lhGh09DtTbz1n6PoD+3d4NpkpK41djojustamg
	 aWMRRdk39cfE0gqkB8YDyLxQnwzlC5ha8955fICb/4huiTiNDQhMidViwPYEkN3lYIA==
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=dkObNx2z;
	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 AC044606A327;
	Wed, 25 Nov 2026 15:30:15 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 700DC1F000D3;
	Wed, 25 Nov 2026 15:30:15 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1795620615;
	bh=YPoCqSchukPk/6/Q0GhtP4g/d4Rfs7HULyummTBWQ3o=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=dkObNx2zcPTd3f9rFQBRt5WG4mZDje4dmjArFxz5CcLHc90Gw9zeuBJF4r9hjQG4p
	 LN4Tgq9wIOHnNZ0QzVUOcaG+s138T24qQ7ezTsZ2Yja+ut7WPFvUngm8xj0ly0Vl8Z
	 cOQVJVTZBSsZieXaYbVBsEFDVpmJJZ/X9PGhFGQD/qUDk7/M2CpOCbwQN7MIemo2Sm
	 TVMfpKCHVQh1PDFPNKJQ8HV4/C6SXRFzm2Z7Nu0YiSOoIu5myNjCEIitESKr8oizLc
	 PlwaoVs8w3iOmdg78956KfMeV2c+OtJ2cuDkytTdMAeamdQgWsw6puT/OEmsVFSbY/
	 T5XEEM0eIUBrA==
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 67C1A3808209;
	Wed, 25 Nov 2026 15:30:15 +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: <20261119100710.129379-1-aristo.chen@canonical.com>
X-Cc: vladimir.oltean@nxp.com, UNGLinuxDriver@microchip.com, andrew@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org