🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #20038

Re: [PATCH net] net: bgmac: Fix potential MDIO use-after-free during removal

#20038
From: patchwork-bot+netdevbpf
Date: Sat, 21 Nov 2026 00:40
24 lines
8500 bytes
Hello:

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

On Wed, 18 Nov 2026 22:18:23 +0800 you wrote:
> The BCMA remove callback destroys its MDIO bus before
> bgmac_enet_remove() disconnects the attached PHY. The PHY detach path
> still accesses that bus.
> 
> Remove the netdev and disconnect the PHY before unregistering the MDIO
> bus.
> 
> [...]

Here is the summary with links:
  - [net] net: bgmac: Fix potential MDIO use-after-free during removal
    https://git.kernel.org/netdev/net-next/c/f18a85d9dea6

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179522161452.860209.12072101505879493784.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368229-linux-kernel-netdev=dewy.ru
References: <20261118-324f82bd41-net-bgmac-0@mail.sdu.edu.cn>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!feeder2.feed.ams11.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.eu1.usenetexpress.com!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368229-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: bgmac: Fix potential MDIO use-after-free during removal
Date: Sat, 21 Nov 2026 00:40:14 +0000
Organization: Usenet Network
Message-ID: <179522161452.860209.12072101505879493784.git-patchwork-notify@kernel.org>
References: <20261118-324f82bd41-net-bgmac-0@mail.sdu.edu.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network; logging-data="3302421"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:1Ft2QPSB+57fFvLd95jWGATKGsk= sha256:wbY/YxAaLUtox59tdljjbGH5fjitjWdYCUwepGhrdYE= sha1:Ze8+H8o8/RjkT2ci/MGwwvHNeX4= sha256:wUVjnm+alL6gl69fl6Zrvh/49wGUsKh09Tn6DLifPX8=
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 490AD115AEF; Sat, 21 Nov 2026 03:40:40 +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 BfqX0LCNIAm1; Sat, 21 Nov 2026 03:40:36 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-368229-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 80B68115A68; Sat, 21 Nov 2026 03:40:28 +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 925CB60A5D; Sat, 21 Nov 2026 00:40:23 +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=1795221622; b=jWhOa/R6sw1XOgG6I2ZfA/SK9gS/qtPzKHdp9HoK7CwoG0VhXdrDAilfl5xg3f96Iutp lnihOFJcVokpO5P7okkkVAaAkVa0xGYKAIovps/9toVj0EtLCioFCiEpeFOcvEcDHwF5a E8fGurKBRh5Gftdg3A185sWIPJ4aGc9CQiCJ9qVedhg8khb7/pdeC30CqTHusDbMo/Gah ozLZXo3T0TNUfZdu44aeGJlor/UAWK5Z78pLIRBAgB9T7LuSiXcJMPXjdGd2a3ulzeBJw xRHDj6odI2OMPM/gY63BaLo/vKYVINjo985wz+shwGOiJ1eex/DuMamMeGt9KKzuvtw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795221622; 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=PJJlqGi3V350ibIqKqCAf9QXZXN1HZ9/vmZrioLMsRk=; b=xjBBAjabSC+0CHHN2FgS/Zjq8UdgP1ZiS0SKZjgDe+EoYdRaoC8JCCF1OwgBjd7DVrar HD1kdWPiLpAcBl23v1ND5K3fPstHMQW4ASnapYivm4TZvjr6AKH2oyqbnGPYJL1yYkZfY P+t6I14NL3kcUqwe2vwDYttBlHjvfU11boPo8bq0BanB4wjIMXeeFAmnMaa2SnX5pWzS/ YSK4TJVwalwoxBCj8bFVLYKKmvhxcf1QPAtrDB4vb+1Y01A5N4uFz2Tg7Y8ojYaSfELnJ pzC6RQNA6Be/WIaSeCyK9h9q68jNF461s6mbKjhF3Gdj9QlK29fITCN6vg3R66q3XzA==
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="Mc/ekKED"; 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 57F72606A689; Sat, 21 Nov 2026 00:40:22 +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=Mc/ekKED
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=1795221616; b=0Z72n+ehoceLx42zEAolxM46tnkmshAaG7bhsMkIbsRIt5QVCm1XfzyXqvDouPrfRKEz W8pUxqlWoKe+HirmTxSDolHptCAOpKiWzsAUP+byF6lSmd/xAemw+ImGEU39YDE0mRbOq gE9czBaAGoxdMfDXNeaVPnKin+opClVubAZh0NG72a6565lYO03nLLdyHkalrFlauU/U9 vSf7n/xKhZ+CJv1rRdxTdpQQhn7zjy625diQ1YMe9yt9g64Q40qaPlB9riUcZXZRKPciI nDexY9xzFbwe2b7kh/ad9QOUX83i2YOvLcQAUvsNWTyHcTF2NSOLiv4RDmryc/0SdFw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795221616; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=PJJlqGi3V350ibIqKqCAf9QXZXN1HZ9/vmZrioLMsRk=; b=fPZlTD4vctAOvD1GSlcvjylu32cFyLVECWA+s0tFuVrMqE1aLpj1/JjjVzmD8GUshODy ldj1wxmyWuHUNZpVX+PUlVznZYVwLYLNzH6JaqgnPdS/1p8SDtbbQ2wR1N2tfy4bQqFbz zlBCzLQwQC2mHBK1YMkXptcYD0Pyedu6yzkKVyqswSYFDdV0Ih7Mj6M4scesngJ0HnLck Jma7ZokbT8Dp7H0IbY2BPGXZY8m8Wa4sPMV7N2cBDUfBlu3LHOLBOU9crp4GhzHI7Twkz KoMOA/w0LReLmm9zfPbXsWxD/hdWgblBWuV6L6AmfMGuiSXGlYrFiE4B+OAn3Xmvs0w==
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="Mc/ekKED"; 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 73DA3606A6BC; Sat, 21 Nov 2026 00:40:16 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06A3D1F000F4; Sat, 21 Nov 2026 00:40:16 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1795221616; bh=PJJlqGi3V350ibIqKqCAf9QXZXN1HZ9/vmZrioLMsRk=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=Mc/ekKEDE+T1RCsWUH+bj5Tc3dVuSc9jLDGlcgncMAHCYuM4vLOElpdIwht/vxxyZ DBKhh1wu8sTtHjWGPgAwTUgEJg/H7Sj4KosgSh7Wr4WcGM6n+WQk+56Ilj1S12alGx 5PWQ9Hi+fUGz1ZHCNgDC0C1g/8WeWaLOsemt38WUawHaIDStCNeo03eNrNArqQITG1 XULuzcm/J8hkMt8bjcU0UN9vrBOrmGgyUhJKzdd506iqMhslJf/NoFaPlec9Ha+TzF GyLRaA2vj5iYzJ8rNG7sXpj3NF7/rhfPELds6IGsioH243JGu2Z4AtgRuuIMxbU2OC fHns0WGFCwlbg==
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 F146C380AA4D; Sat, 21 Nov 2026 00:40: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: <20261118-324f82bd41-net-bgmac-0@mail.sdu.edu.cn>
X-Cc: rafal@milecki.pl, bcm-kernel-feedback-list@broadcom.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org