Re: [PATCH net] net: stricter validation of untrusted gso packets

2020-05-06 Thread David Miller
From: Willem de Bruijn Date: Mon, 4 May 2020 12:48:54 -0400 > From: Willem de Bruijn > > Syzkaller again found a path to a kernel crash through bad gso input: > a packet with transport header extending beyond skb_headlen(skb). > > Tighten validation at kernel entry: > > - Verify that the tra

[PATCH net] net: stricter validation of untrusted gso packets

2020-05-04 Thread Willem de Bruijn
From: Willem de Bruijn Syzkaller again found a path to a kernel crash through bad gso input: a packet with transport header extending beyond skb_headlen(skb). Tighten validation at kernel entry: - Verify that the transport header lies within the linear section. To avoid pulling linux/tcp.h