diff options
author | Alexander Aring <aahringo@redhat.com> | 2021-02-28 10:18:03 -0500 |
---|---|---|
committer | Stefan Schmidt <stefan@datenfreihafen.org> | 2021-03-02 22:29:06 +0100 |
commit | 6f7f657f24405f426212c09260bf7fe8a52cef33 (patch) | |
tree | b07df7413cdd247c344a17392d1a59338b8a9cb9 /lib/nmi_backtrace.c | |
parent | 27c746869e1a135dffc2f2a80715bb7aa00445b4 (diff) | |
download | linux-stable-6f7f657f24405f426212c09260bf7fe8a52cef33.tar.gz linux-stable-6f7f657f24405f426212c09260bf7fe8a52cef33.tar.bz2 linux-stable-6f7f657f24405f426212c09260bf7fe8a52cef33.zip |
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>
Diffstat (limited to 'lib/nmi_backtrace.c')
0 files changed, 0 insertions, 0 deletions