On Mon, Mar 26, 2018 at 8:08 AM, Eric Dumazet wrote:
> skb mac header is not necessarily set at the time skb_network_protocol()
> is called. Use skb->data instead.
>
> BUG: KASAN: slab-out-of-bounds in skb_network_protocol+0x46b/0x4b0
> net/core/dev.c:2739
> Read of size 2 at addr 8801b3097a0
From: Eric Dumazet
Date: Mon, 26 Mar 2018 08:08:07 -0700
> skb mac header is not necessarily set at the time skb_network_protocol()
> is called. Use skb->data instead.
>
> BUG: KASAN: slab-out-of-bounds in skb_network_protocol+0x46b/0x4b0
> net/core/dev.c:2739
> Read of size 2 at addr 8801b
skb mac header is not necessarily set at the time skb_network_protocol()
is called. Use skb->data instead.
BUG: KASAN: slab-out-of-bounds in skb_network_protocol+0x46b/0x4b0
net/core/dev.c:2739
Read of size 2 at addr 8801b3097a0b by task syz-executor5/14242
CPU: 1 PID: 14242 Comm: syz-execut