[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 02 Feb 2023 06:20:16 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Heng Qi <hengqi@...ux.alibaba.com>
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org, mst@...hat.com,
jasowang@...hat.com, pabeni@...hat.com, kuba@...nel.org,
john.fastabend@...il.com, davem@...emloft.net,
daniel@...earbox.net, ast@...nel.org, edumazet@...gle.com,
xuanzhuo@...ux.alibaba.com
Subject: Re: [PATCH net-next v2] virtio-net: fix possible unsigned integer
overflow
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Tue, 31 Jan 2023 16:50:04 +0800 you wrote:
> When the single-buffer xdp is loaded and after xdp_linearize_page()
> is called, *num_buf becomes 0 and (*num_buf - 1) may overflow into
> a large integer in virtnet_build_xdp_buff_mrg(), resulting in
> unexpected packet dropping.
>
> Fixes: ef75cb51f139 ("virtio-net: build xdp_buff with multi buffers")
> Signed-off-by: Heng Qi <hengqi@...ux.alibaba.com>
> Reviewed-by: Xuan Zhuo <xuanzhuo@...ux.alibaba.com>
> Signed-off-by: Michael S. Tsirkin <mst@...hat.com>
>
> [...]
Here is the summary with links:
- [net-next,v2] virtio-net: fix possible unsigned integer overflow
https://git.kernel.org/netdev/net-next/c/981f14d42a7f
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