Re: [PATCH net 0/2] Fix vlan tag handling for vlan packets without ethernet headers

2018-03-30 Thread David Miller
From: Toshiaki Makita Date: Thu, 29 Mar 2018 19:05:28 +0900 > Eric Dumazet reported syzbot found a new bug which leads to underflow of > size argument of memmove(), causing crash[1]. This can be triggered by tun > devices. > > The underflow happened because skb_vlan_untag() did not expect vlan p

[PATCH net 0/2] Fix vlan tag handling for vlan packets without ethernet headers

2018-03-29 Thread Toshiaki Makita
Eric Dumazet reported syzbot found a new bug which leads to underflow of size argument of memmove(), causing crash[1]. This can be triggered by tun devices. The underflow happened because skb_vlan_untag() did not expect vlan packets without ethernet headers, and tun can produce such packets. I als