[lvc-project] [PATCH net] xsk: fix an integer overflow in xp_create_and_assign_umem()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Thu Mar 20 01:00:32 MSK 2025


Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni at redhat.com>:

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





More information about the lvc-project mailing list