From: patchwork-bot+netdevbpf@kernel.org
To: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: netdev@vger.kernel.org, davem@davemloft.net, kuba@kernel.org,
linux-can@vger.kernel.org, kernel@pengutronix.de,
andrey.lalaev@gmail.com
Subject: Re: [PATCH net] can: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode
Date: Wed, 23 Jul 2025 01:50:06 +0000 [thread overview]
Message-ID: <175323540664.1021632.5111013951274010808.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250722110059.3664104-2-mkl@pengutronix.de>
Hello:
This patch was applied to netdev/net.git (main)
by Marc Kleine-Budde <mkl@pengutronix.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
prev parent reply other threads:[~2025-07-23 1:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-22 10:58 [PATCH net 0/1] pull-request: can 2025-07-22 Marc Kleine-Budde
2025-07-22 10:58 ` [PATCH net] can: netlink: can_changelink(): fix NULL pointer deref of struct can_priv::do_set_mode Marc Kleine-Budde
2025-07-23 1:50 ` patchwork-bot+netdevbpf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=175323540664.1021632.5111013951274010808.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrey.lalaev@gmail.com \
--cc=davem@davemloft.net \
--cc=kernel@pengutronix.de \
--cc=kuba@kernel.org \
--cc=linux-can@vger.kernel.org \
--cc=mkl@pengutronix.de \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.