[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <168189181889.29892.971792346285800712.git-patchwork-notify@kernel.org>
Date: Wed, 19 Apr 2023 08:10:18 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Seiji Nishikawa <snishika@...hat.com>
Cc: doshir@...are.com, netdev@...r.kernel.org
Subject: Re: [PATCH] net: vmxnet3: Fix NULL pointer dereference in
vmxnet3_rq_rx_complete()
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.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
Powered by blists - more mailing lists