Re: [PATCH] bonding: reject IEEE 802.15.4 and 6LoWPAN devices in bond_enslave
From: patchwork-bot+netdevbpf
Date: Tue Nov 17 2026 - 06:50:30 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 12 Nov 2026 18:38:33 +0530 you wrote:
> When the first non-Ethernet slave is enslaved to a bond,
> bond_setup_by_slave() copies slave_dev->type to the bond device.
> However, the bonding driver does not set up subsystem-specific
> mid-layer contexts or private structures:
>
> 1. IEEE 802.15.4 routines (such as ieee802154_llsec_dump_table(),
> nl-phy.c, and socket callbacks) identify WPAN devices by dev->type
> alone and unconditionally dereference dev->ieee802154_ptr and
> dev->ml_priv (ieee802154_mlme_ops). Because bonding never allocates
> these, this results in a NULL pointer dereference.
>
> [...]
Here is the summary with links:
- bonding: reject IEEE 802.15.4 and 6LoWPAN devices in bond_enslave
https://git.kernel.org/netdev/net/c/297ae1590173
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html