Re: [PATCH net] net: wwan: mhi_wwan_mbim: fix dangling links on registration failure

From: patchwork-bot+netdevbpf

Date: Tue Nov 17 2026 - 07:30:10 EST


Hello:

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

On Wed, 11 Nov 2026 19:32:13 +0800 you wrote:
> mhi_mbim_newlink() adds the link to mbim->link_list before calling
> register_netdevice(). If registration fails, the caller frees the
> netdev without removing the link, leaving a dangling list entry that
> RCU readers such as mhi_mbim_rx() can access after free.
>
> Register the netdev before adding the link to the list so that failed
> registrations do not publish a link.
>
> [...]

Here is the summary with links:
- [net] net: wwan: mhi_wwan_mbim: fix dangling links on registration failure
https://git.kernel.org/netdev/net-next/c/500da33276f5

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html