[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<175323540664.1021632.5111013951274010808.git-patchwork-notify@kernel.org>
Date: Wed, 23 Jul 2025 01:50:06 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Marc Kleine-Budde <mkl@...gutronix.de>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
linux-can@...r.kernel.org, kernel@...gutronix.de, andrey.lalaev@...il.com
Subject: Re: [PATCH net] can: netlink: can_changelink(): fix NULL pointer
deref of
struct can_priv::do_set_mode
Hello:
This patch was applied to netdev/net.git (main)
by Marc Kleine-Budde <mkl@...gutronix.de>:
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
Powered by blists - more mailing lists