[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<168371162182.29703.5823026443850415461.git-patchwork-notify@kernel.org>
Date: Wed, 10 May 2023 09:40:21 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: t.feng <fengtao40@...wei.com>
Cc: netdev@...r.kernel.org, lucien.xin@...il.com, luwei32@...wei.com,
pabeni@...hat.com, kuba@...nel.org, edumazet@...gle.com, davem@...emloft.net,
yanan@...wei.com, fw@...len.de
Subject: Re: [PATCH V2] ipvlan:Fix out-of-bounds caused by unclear skb->cb
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Wed, 10 May 2023 11:50:44 +0800 you wrote:
> If skb enqueue the qdisc, fq_skb_cb(skb)->time_to_send is changed which
> is actually skb->cb, and IPCB(skb_in)->opt will be used in
> __ip_options_echo. It is possible that memcpy is out of bounds and lead
> to stack overflow.
> We should clear skb->cb before ip_local_out or ip6_local_out.
>
> v2:
> 1. clean the stack info
> 2. use IPCB/IP6CB instead of skb->cb
>
> [...]
Here is the summary with links:
- [V2] ipvlan:Fix out-of-bounds caused by unclear skb->cb
https://git.kernel.org/netdev/net/c/90cbed524743
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