From: patchwork-bot+netdevbpf@kernel.org
To: Seiji Nishikawa <snishika@redhat.com>
Cc: doshir@vmware.com, netdev@vger.kernel.org
Subject: Re: [PATCH] net: vmxnet3: Fix NULL pointer dereference in vmxnet3_rq_rx_complete()
Date: Wed, 19 Apr 2023 08:10:18 +0000 [thread overview]
Message-ID: <168189181889.29892.971792346285800712.git-patchwork-notify@kernel.org> (raw)
In-Reply-To: <20230417122127.178549-1-snishika@redhat.com>
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@davemloft.net>:
On Mon, 17 Apr 2023 21:21:27 +0900 you wrote:
> When vmxnet3_rq_create() fails to allocate rq->data_ring.base due to page
> allocation failure, subsequent call to vmxnet3_rq_rx_complete() can result in
> NULL pointer dereference.
>
> To fix this bug, check not only that rxDataRingUsed is true but also that
> adapter->rxdataring_enabled is true before calling memcpy() in
> vmxnet3_rq_rx_complete().
>
> [...]
Here is the summary with links:
- net: vmxnet3: Fix NULL pointer dereference in vmxnet3_rq_rx_complete()
https://git.kernel.org/netdev/net/c/6f4833383e85
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:[~2023-04-19 8:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-17 12:21 [PATCH] net: vmxnet3: Fix NULL pointer dereference in vmxnet3_rq_rx_complete() Seiji Nishikawa
2023-04-19 8: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=168189181889.29892.971792346285800712.git-patchwork-notify@kernel.org \
--to=patchwork-bot+netdevbpf@kernel.org \
--cc=doshir@vmware.com \
--cc=netdev@vger.kernel.org \
--cc=snishika@redhat.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).