[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164732281010.21925.14083073406818964716.git-patchwork-notify@kernel.org>
Date: Tue, 15 Mar 2022 05:40:10 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
edumazet@...gle.com, syzkaller@...glegroups.com
Subject: Re: [PATCH net] net/packet: fix slab-out-of-bounds access in
packet_recvmsg()
Hello:
This patch was applied to netdev/net.git (master)
by Jakub Kicinski <kuba@...nel.org>:
On Sat, 12 Mar 2022 15:29:58 -0800 you wrote:
> From: Eric Dumazet <edumazet@...gle.com>
>
> syzbot found that when an AF_PACKET socket is using PACKET_COPY_THRESH
> and mmap operations, tpacket_rcv() is queueing skbs with
> garbage in skb->cb[], triggering a too big copy [1]
>
> Presumably, users of af_packet using mmap() already gets correct
> metadata from the mapped buffer, we can simply make sure
> to clear 12 bytes that might be copied to user space later.
>
> [...]
Here is the summary with links:
- [net] net/packet: fix slab-out-of-bounds access in packet_recvmsg()
https://git.kernel.org/netdev/net/c/c700525fcc06
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