Re: [PATCH net] ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()

2018-03-09 Thread David Miller
From: Stefan Schmidt Date: Thu, 8 Mar 2018 17:21:49 +0100 > Did you miss this or would you prefer if I do a pull request for > this single patch? Either way would be fine with me. Sorry, this escaped me. Applied and queued up for -stable, thanks.

Re: [PATCH net] ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()

2018-03-08 Thread Stefan Schmidt
Hello Dave. On 03/06/2018 01:56 PM, Stefan Schmidt wrote: > Hello. > > > On 03/05/2018 05:51 PM, Eric Dumazet wrote: >> From: Eric Dumazet >> >> A tun device type can trivially be set to arbitrary value using >> TUNSETLINK ioctl(). >> >> Therefore, lowpan_device_event()

Re: [PATCH net] ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()

2018-03-06 Thread Stefan Schmidt
Hello. On 03/05/2018 05:51 PM, Eric Dumazet wrote: > From: Eric Dumazet > > A tun device type can trivially be set to arbitrary value using > TUNSETLINK ioctl(). > > Therefore, lowpan_device_event() must really check that ieee802154_ptr > is not NULL. > > Fixes:

Re: [PATCH net] ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()

2018-03-05 Thread David Miller
From: Eric Dumazet Date: Mon, 05 Mar 2018 08:51:03 -0800 > From: Eric Dumazet > > A tun device type can trivially be set to arbitrary value using > TUNSETLINK ioctl(). > > Therefore, lowpan_device_event() must really check that ieee802154_ptr > is

[PATCH net] ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()

2018-03-05 Thread Eric Dumazet
From: Eric Dumazet A tun device type can trivially be set to arbitrary value using TUNSETLINK ioctl(). Therefore, lowpan_device_event() must really check that ieee802154_ptr is not NULL. Fixes: 2c88b5283f60d ("ieee802154: 6lowpan: remove check on null") Signed-off-by: Eric