Re: [PATCH net] ip: in cmsg IP(V6)_ORIGDSTADDR do not read beyond headlen

2018-07-22 Thread Willem de Bruijn
On Sun, Jul 22, 2018 at 9:43 PM Eric Dumazet wrote: > > > > On 07/22/2018 05:43 PM, Willem de Bruijn wrote: > > From: Willem de Bruijn > > > > Syzbot reported a read beyond the end of the skb head when returning > > IPV6_ORIGDSTADDR: > > > > BUG: KMSAN: kernel-infoleak in put_cmsg+0x5ef/0x860 n

Re: [PATCH net] ip: in cmsg IP(V6)_ORIGDSTADDR do not read beyond headlen

2018-07-22 Thread Eric Dumazet
On 07/22/2018 05:43 PM, Willem de Bruijn wrote: > From: Willem de Bruijn > > Syzbot reported a read beyond the end of the skb head when returning > IPV6_ORIGDSTADDR: > > BUG: KMSAN: kernel-infoleak in put_cmsg+0x5ef/0x860 net/core/scm.c:242 > CPU: 0 PID: 4501 Comm: syz-executor128 Not tai

[PATCH net] ip: in cmsg IP(V6)_ORIGDSTADDR do not read beyond headlen

2018-07-22 Thread Willem de Bruijn
From: Willem de Bruijn Syzbot reported a read beyond the end of the skb head when returning IPV6_ORIGDSTADDR: BUG: KMSAN: kernel-infoleak in put_cmsg+0x5ef/0x860 net/core/scm.c:242 CPU: 0 PID: 4501 Comm: syz-executor128 Not tainted 4.17.0+ #9 Hardware name: Google Google Compute Engine/Goo