summaryrefslogtreecommitdiff
path: root/net/sctp/inqueue.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-03-05 19:51:03 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-09 19:19:26 +0300
commitca0edb131bdf1e6beaeb2b8289fd6b374b74147d (patch)
treeb404754c663a0a14cae3a37355f4669f54efad0f /net/sctp/inqueue.c
parent9f62c15f28b0d1d746734666d88a79f08ba1e43e (diff)
downloadlinux-ca0edb131bdf1e6beaeb2b8289fd6b374b74147d.tar.xz
ieee802154: 6lowpan: fix possible NULL deref in lowpan_device_event()
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 Dumazet <edumazet@google.com> Cc: Alexander Aring <alex.aring@gmail.com> Cc: Stefan Schmidt <stefan@osg.samsung.com> Reported-by: syzbot <syzkaller@googlegroups.com> Acked-by: Stefan Schmidt <stefan@osg.samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/inqueue.c')
0 files changed, 0 insertions, 0 deletions