Re: [PATCH net] ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
From: patchwork-bot+netdevbpf
Date: Fri Sep 09 2022 - 07:50:22 EST
Hello:
This patch was applied to netdev/net.git (master)
by David S. Miller <davem@xxxxxxxxxxxxx>:
On Wed, 7 Sep 2022 18:12:04 +0800 you wrote:
> If an AF_PACKET socket is used to send packets through ipvlan and the
> default xmit function of the AF_PACKET socket is changed from
> dev_queue_xmit() to packet_direct_xmit() via setsockopt() with the option
> name of PACKET_QDISC_BYPASS, the skb->mac_header may not be reset and
> remains as the initial value of 65535, this may trigger slab-out-of-bounds
> bugs as following:
>
> [...]
Here is the summary with links:
- [net] ipvlan: Fix out-of-bound bugs caused by unset skb->mac_header
https://git.kernel.org/netdev/net/c/81225b2ea161
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html