Hello:
This patch was applied to netdev/net.git (main)
by Marc Kleine-Budde [off-list ref]:
On Tue, 22 Jul 2025 12:58:32 +0200 you wrote:
Andrei Lalaev reported a NULL pointer deref when a CAN device is
restarted from Bus Off and the driver does not implement the struct
can_priv::do_set_mode callback.
There are 2 code path that call struct can_priv::do_set_mode:
- directly by a manual restart from the user space, via
can_changelink()
- delayed automatic restart after bus off (deactivated by default)
[...]
Here is the summary with links:
- [net] can: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode
https://git.kernel.org/netdev/net/c/c1f3f9797c1f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html