Thread (4 messages) 4 messages, 2 authors, 2018-03-30

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

From: David Miller <davem@davemloft.net>
Date: 2018-03-30 16:49:59

From: Toshiaki Makita <redacted>
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 packets
without ethernet headers, and tun can produce such packets.
I also checked vlan_insert_inner_tag() and found a similar bug.

This series fixes these problems.

[1] https://marc.info/?l=linux-netdev&m=152221753920510&w=2
Series applied, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help