syzbot


INFO: trying to register non-static key in ieee802154_get_llsec_params

Status: fixed on 2021/05/13 13:21
Reported-by: syzbot+5de917eca46e2de6d3ca@syzkaller.appspotmail.com
Fix commit: df9aa96b613d net: ieee802154: stop dump llsec params for monitors
First crash: 1420d, last: 1396d
Fix bisection: fixed by (bisect log) :
commit df9aa96b613d8f46b65fad2c9b2e01782c01ceaa
Author: Alexander Aring <aahringo@redhat.com>
Date: Mon Apr 5 00:30:54 2021 +0000

  net: ieee802154: stop dump llsec params for monitors

  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: trying to register non-static key in ieee802154_get_llsec_params 3 1402d 1439d 0/1 auto-closed as invalid on 2021/08/05 05:48

Sample crash report:
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 1 PID: 7974 Comm: syz-executor805 Not tainted 4.14.228-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 register_lock_class+0x32b/0x1320 kernel/locking/lockdep.c:768
 __lock_acquire+0x167/0x3f20 kernel/locking/lockdep.c:3378
 lock_acquire+0x170/0x3f0 kernel/locking/lockdep.c:3998
 __mutex_lock_common kernel/locking/mutex.c:756 [inline]
 __mutex_lock+0xc4/0x1310 kernel/locking/mutex.c:893
 ieee802154_get_llsec_params+0x3f/0x70 net/mac802154/cfg.c:327
 rdev_get_llsec_params net/ieee802154/rdev-ops.h:241 [inline]
 nl802154_get_llsec_params+0xb8/0x310 net/ieee802154/nl802154.c:761
 nl802154_send_iface+0x73b/0x8d0 net/ieee802154/nl802154.c:839
 nl802154_get_interface+0xeb/0x220 net/ieee802154/nl802154.c:905
 genl_family_rcv_msg+0x572/0xb20 net/netlink/genetlink.c:600
 genl_rcv_msg+0xaf/0x140 net/netlink/genetlink.c:625
 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:636
 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline]
 netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313
 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xb5/0x100 net/socket.c:656
 ___sys_sendmsg+0x6c8/0x800 net/socket.c:2062
 __sys_sendmsg+0xa3/0x120 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x27/0x40 net/socket.c:2103
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x440899
RSP: 002b:00007ffd2b781a68 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000000071ba RCX: 0000000000440899
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000005
RBP: 0000000000000000 R08: 00007ffd2b781c08 R09: 00007ffd2b781c08
R10: 00007ffd2b781c08 R11: 0000000000000246 R12: 00007ffd2b781a7c
R13: 431bde82d7b634db R14: 00000000004ae018 R15: 00000000004004a0

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/04/04 17:19 linux-4.14.y bd634aa64163 6a81331a .config console log report syz C ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_get_llsec_params
2021/03/20 11:41 linux-4.14.y cb83ddcd5332 e45f5621 .config console log report syz C ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_get_llsec_params
2021/04/13 01:58 linux-4.14.y 958e517f4e16 6a81331a .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_get_llsec_params
2021/04/07 17:56 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_get_llsec_params
2021/04/07 11:39 linux-4.14.y 0cc244011f40 6a81331a .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_get_llsec_params
2021/04/07 09:01 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_get_llsec_params
2021/03/25 11:47 linux-4.14.y 670d6552eda8 6a383ecf .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_get_llsec_params
2021/03/20 10:14 linux-4.14.y cb83ddcd5332 e45f5621 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_get_llsec_params
* Struck through repros no longer work on HEAD.