[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170263802328.14267.8746591210986155914.git-patchwork-notify@kernel.org>
Date: Fri, 15 Dec 2023 11:00:23 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <edumazet@...gle.com>
Cc: davem@...emloft.net, kuba@...nel.org, pabeni@...hat.com, jhs@...atatu.com,
xiyou.wangcong@...il.com, jiri@...nulli.us, netdev@...r.kernel.org,
eric.dumazet@...il.com, syzkaller@...glegroups.com, aahringo@...hat.com
Subject: Re: [PATCH net] net: sched: ife: fix potential use-after-free
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Thu, 14 Dec 2023 11:30:38 +0000 you wrote:
> ife_decode() calls pskb_may_pull() two times, we need to reload
> ifehdr after the second one, or risk use-after-free as reported
> by syzbot:
>
> BUG: KASAN: slab-use-after-free in __ife_tlv_meta_valid net/ife/ife.c:108 [inline]
> BUG: KASAN: slab-use-after-free in ife_tlv_meta_decode+0x1d1/0x210 net/ife/ife.c:131
> Read of size 2 at addr ffff88802d7300a4 by task syz-executor.5/22323
>
> [...]
Here is the summary with links:
- [net] net: sched: ife: fix potential use-after-free
https://git.kernel.org/netdev/net/c/19391a2ca98b
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