Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 8 Sep 2021 13:42:09 +0200 you wrote:
If the sendmsg() call in vhost_tx_batch() fails, both the 'batched_xdp'
and 'done_idx' indexes are left unchanged. If such failure happens
when batched_xdp == VHOST_NET_BATCH, the next call to
vhost_net_build_xdp() will access and write memory outside the xdp
buffers area.
Since sendmsg() can only error with EBADFD, this change addresses the
issue explicitly freeing the XDP buffers batch on error.
[...]
Here is the summary with links:
- vhost_net: fix OoB on sendmsg() failure.
https://git.kernel.org/netdev/net/c/3c4cea8fa7f7
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html