commit | 6f7f657f24405f426212c09260bf7fe8a52cef33 | [log] [tgz] |
---|---|---|
author | Alexander Aring <aahringo@redhat.com> | Sun Feb 28 10:18:03 2021 -0500 |
committer | Stefan Schmidt <stefan@datenfreihafen.org> | Tue Mar 02 22:29:06 2021 +0100 |
tree | b07df7413cdd247c344a17392d1a59338b8a9cb9 | |
parent | 27c746869e1a135dffc2f2a80715bb7aa00445b4 [diff] |
net: ieee802154: nl-mac: fix check on panid This patch fixes a null pointer derefence for panid handle by move the check for the netlink variable directly before accessing them. Reported-by: syzbot+d4c07de0144f6f63be3a@syzkaller.appspotmail.com Signed-off-by: Alexander Aring <aahringo@redhat.com> Link: https://lore.kernel.org/r/20210228151817.95700-4-aahringo@redhat.com Signed-off-by: Stefan Schmidt <stefan@datenfreihafen.org>