From: patchwork-bot+netdevbpf@kernel.org
To: yangchenyuan <chenyuan0y@gmail.com>
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, u.kleine-koenig@baylibre.com,
paul@crapouillou.net, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, zijie98@gmail.com
Subject: Re: [PATCH net v2] net: davicom: fix UAF in dm9000_drv_remove
Date: Mon, 27 Jan 2025 23:10:43 +0000 [thread overview]
Message-ID: <173801944349.3253418.2728026169564738945.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20250123214213.623518-1-chenyuan0y@gmail.com>
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Thu, 23 Jan 2025 15:42:13 -0600 you wrote:
> This bug is detected by our static analysis tool.
>
> dm is netdev private data and it cannot be
> used after free_netdev() call. Using dm after free_netdev()
> can cause UAF bug. Fix it by moving free_netdev() at the end of the
> function.
>
> [...]
Here is the summary with links:
- [net,v2] net: davicom: fix UAF in dm9000_drv_remove
https://git.kernel.org/netdev/net/c/19e65c45a150
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-01-27 23:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-23 21:42 [PATCH net v2] net: davicom: fix UAF in dm9000_drv_remove Chenyuan Yang
2025-01-27 23:10 ` 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=173801944349.3253418.2728026169564738945.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=chenyuan0y@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=paul@crapouillou.net \
--cc=u.kleine-koenig@baylibre.com \
--cc=zijie98@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).