Re: [PATCH net] ip: validate header length on virtual device xmit

2019-01-01 Thread David Miller
From: Willem de Bruijn Date: Sun, 30 Dec 2018 17:24:36 -0500 > From: Willem de Bruijn > > KMSAN detected read beyond end of buffer in vti and sit devices when > passing truncated packets with PF_PACKET. The issue affects additional > ip tunnel devices. > > Extend commit 76c0ddd8c3a6 ("ip6_tunn

[PATCH net] ip: validate header length on virtual device xmit

2018-12-30 Thread Willem de Bruijn
From: Willem de Bruijn KMSAN detected read beyond end of buffer in vti and sit devices when passing truncated packets with PF_PACKET. The issue affects additional ip tunnel devices. Extend commit 76c0ddd8c3a6 ("ip6_tunnel: be careful when accessing the inner header") and commit ccfec9e5cb2d ("ip