diff options
author | Eric Dumazet <[email protected]> | 2018-03-05 08:51:03 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-03-09 11:19:26 -0500 |
commit | ca0edb131bdf1e6beaeb2b8289fd6b374b74147d (patch) | |
tree | b404754c663a0a14cae3a37355f4669f54efad0f /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9f62c15f28b0d1d746734666d88a79f08ba1e43e (diff) |
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 <[email protected]>
Cc: Alexander Aring <[email protected]>
Cc: Stefan Schmidt <[email protected]>
Reported-by: syzbot <[email protected]>
Acked-by: Stefan Schmidt <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions