Re: [PATCH net 1/2] net: lapbether: ignore ops-locked netdevs

[email protected] Fri, 08 Aug 2025 20:50:08 +0000
Newsgroups org.kernel.vger.linux-x25,org.kernel.vger.bpf,org.kernel.vger.linux-kernel,org.kernel.vger.netdev
Message-ID <175468620854.263488.4481510843319056617.git-patchwork-notify@kernel.org>
Hello:

This series was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

On Wed,  6 Aug 2025 14:37:25 -0700 you wrote:
> Syzkaller managed to trigger lock dependency in xsk_notify via
> register_netdevice. As discussed in [0], using register_netdevice
> in the notifiers is problematic so skip adding lapbeth for ops-locked
> devices.
> 
>        xsk_notifier+0xa4/0x280 net/xdp/xsk.c:1645
>        notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
>        call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
>        call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
>        call_netdevice_notifiers net/core/dev.c:2282 [inline]
>        unregister_netdevice_many_notify+0xf9d/0x2700 net/core/dev.c:12077
>        unregister_netdevice_many net/core/dev.c:12140 [inline]
>        unregister_netdevice_queue+0x305/0x3f0 net/core/dev.c:11984
>        register_netdevice+0x18f1/0x2270 net/core/dev.c:11149
>        lapbeth_new_device drivers/net/wan/lapbether.c:420 [inline]
>        lapbeth_device_event+0x5b1/0xbe0 drivers/net/wan/lapbether.c:462
>        notifier_call_chain+0xbc/0x410 kernel/notifier.c:85
>        call_netdevice_notifiers_info+0xbe/0x140 net/core/dev.c:2230
>        call_netdevice_notifiers_extack net/core/dev.c:2268 [inline]
>        call_netdevice_notifiers net/core/dev.c:2282 [inline]
>        __dev_notify_flags+0x12c/0x2e0 net/core/dev.c:9497
>        netif_change_flags+0x108/0x160 net/core/dev.c:9526
>        dev_change_flags+0xba/0x250 net/core/dev_api.c:68
>        devinet_ioctl+0x11d5/0x1f50 net/ipv4/devinet.c:1200
>        inet_ioctl+0x3a7/0x3f0 net/ipv4/af_inet.c:1001
> 
> [...]

Here is the summary with links:
  - [net,1/2] net: lapbether: ignore ops-locked netdevs
    https://git.kernel.org/netdev/net/c/53898ebabe84
  - [net,2/2] hamradio: ignore ops-locked netdevs
    https://git.kernel.org/netdev/net/c/c64237960819

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