Re: [PATCH net-next] ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()

2018-03-05 Thread Lorenzo Bianconi
> From: Lorenzo Bianconi > Date: Fri, 2 Mar 2018 11:53:06 +0100 > >> Fix the following slab-out-of-bounds kasan report in >> ndisc_fill_redirect_hdr_option when the incoming ipv6 packet is not >> linear and the accessed data are not in the linear data region of orig_skb > ... >> Reported-by: Jia

Re: [PATCH net-next] ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()

2018-03-02 Thread Eric Dumazet
On Fri, 2018-03-02 at 11:53 +0100, Lorenzo Bianconi wrote: > Fix the following slab-out-of-bounds kasan report in > ndisc_fill_redirect_hdr_option when the incoming ipv6 packet is not > linear and the accessed data are not in the linear data region of orig_skb > > Reported-by: Jianlin Shi > Revi

Re: [PATCH net-next] ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()

2018-03-02 Thread David Miller
From: Lorenzo Bianconi Date: Fri, 2 Mar 2018 11:53:06 +0100 > Fix the following slab-out-of-bounds kasan report in > ndisc_fill_redirect_hdr_option when the incoming ipv6 packet is not > linear and the accessed data are not in the linear data region of orig_skb ... > Reported-by: Jianlin Shi >

[PATCH net-next] ipv6: fix access to non-linear packet in ndisc_fill_redirect_hdr_option()

2018-03-02 Thread Lorenzo Bianconi
Fix the following slab-out-of-bounds kasan report in ndisc_fill_redirect_hdr_option when the incoming ipv6 packet is not linear and the accessed data are not in the linear data region of orig_skb [ 1503.122508] == [ 1503.122832] BUG: