diff options
author | Eric Dumazet <edumazet@google.com> | 2021-06-21 20:02:44 +0200 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2021-06-22 21:26:59 +0200 |
commit | 0303b30375dff5351a79cc2c3c87dfa4fda29bed (patch) | |
tree | 13616047b9aa5f7a8f72daffe4b34083ffc95f30 /mm | |
parent | ieee802154: hwsim: Fix memory leak in hwsim_add_one (diff) | |
download | linux-0303b30375dff5351a79cc2c3c87dfa4fda29bed.tar.xz linux-0303b30375dff5351a79cc2c3c87dfa4fda29bed.zip |
ieee802154: hwsim: avoid possible crash in hwsim_del_edge_nl()
Both MAC802154_HWSIM_ATTR_RADIO_ID and MAC802154_HWSIM_ATTR_RADIO_EDGE
must be present to avoid a crash.
Fixes: f25da51fdc38 ("ieee802154: hwsim: add replacement for fakelb")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Alexander Aring <alex.aring@gmail.com>
Cc: Stefan Schmidt <stefan@datenfreihafen.org>
Reported-by: syzbot <syzkaller@googlegroups.com>
Acked-by: Alexander Aring <aahringo@redhat.com>
Link: https://lore.kernel.org/r/20210621180244.882076-1-eric.dumazet@gmail.com
Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions