Subject: Re: [PATCH net] igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU

From: [email-masked]
Date: Tue, 05 Sep 2023 18:01:39 +0000

Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <[email-masked]>:

On Tue,  5 Sep 2023 04:23:38 +0000 you wrote:
> This is a follow up of commit 915d975b2ffa ("net: deal with integer
> overflows in kmalloc_reserve()") based on David Laight feedback.
> 
> Back in 2010, I failed to realize malicious users could set dev->mtu
> to arbitrary values. This mtu has been since limited to 0x7fffffff but
> regardless of how big dev->mtu is, it makes no sense for igmpv3_newpack()
> to allocate more than IP_MAX_MTU and risk various skb fields overflows.
> 
> [...]

Here is the summary with links:
  - [net] igmp: limit igmpv3_newpack() packet size to IP_MAX_MTU
    https://git.kernel.org/netdev/net/c/c3b704d4a4a2

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html