Re: [PATCH net] xsk: fix an integer overflow in xp_create_and_assign_umem()
From: patchwork-bot+netdevbpf
Date: Wed Mar 19 2025 - 18:03:46 EST
Hello:
This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Thu, 13 Mar 2025 08:50:08 +0000 you wrote:
> Since the i and pool->chunk_size variables are of type 'u32',
> their product can wrap around and then be cast to 'u64'.
> This can lead to two different XDP buffers pointing to the same
> memory area.
>
> Found by InfoTeCS on behalf of Linux Verification Center
> (linuxtesting.org) with SVACE.
>
> [...]
Here is the summary with links:
- [net] xsk: fix an integer overflow in xp_create_and_assign_umem()
https://git.kernel.org/netdev/net/c/559847f56769
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html