syzbot


INFO: trying to register non-static key in ieee802154_del_devkey

Status: auto-closed as invalid on 2022/02/02 07:03
Reported-by: syzbot+0631a126750192d64a55@syzkaller.appspotmail.com
First crash: 980d, last: 934d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: trying to register non-static key in ieee802154_del_devkey (2) 5 449d 559d 0/1 upstream: reported on 2022/10/15 08:12
linux-4.14 INFO: trying to register non-static key in ieee802154_del_devkey C error 12 528d 784d 0/1 upstream: reported C repro on 2022/03/04 01:33

Sample crash report:
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 0 PID: 6317 Comm: syz-executor.4 Not tainted 4.19.208-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 assign_lock_key kernel/locking/lockdep.c:728 [inline]
 register_lock_class+0xe82/0x11c0 kernel/locking/lockdep.c:754
 __lock_acquire+0x17d/0x3ff0 kernel/locking/lockdep.c:3304
 lock_acquire+0x170/0x3c0 kernel/locking/lockdep.c:3908
 __mutex_lock_common kernel/locking/mutex.c:937 [inline]
 __mutex_lock+0xd7/0x1190 kernel/locking/mutex.c:1078
 ieee802154_del_devkey+0x44/0x80 net/mac802154/cfg.c:450
 rdev_del_devkey net/ieee802154/rdev-ops.h:316 [inline]
 nl802154_del_llsec_devkey+0x28a/0x380 net/ieee802154/nl802154.c:1994
 genl_family_rcv_msg+0x642/0xc40 net/netlink/genetlink.c:602
 genl_rcv_msg+0xbf/0x160 net/netlink/genetlink.c:627
 netlink_rcv_skb+0x160/0x440 net/netlink/af_netlink.c:2457
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1346
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1911
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:661
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2227
 __sys_sendmsg net/socket.c:2265 [inline]
 __do_sys_sendmsg net/socket.c:2274 [inline]
 __se_sys_sendmsg net/socket.c:2272 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2272
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f1487a1f8d9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1484f96188 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1487b23f60 RCX: 00007f1487a1f8d9
RDX: 0000000020040000 RSI: 00000000200001c0 RDI: 0000000000000004
RBP: 00007f1487a79cb4 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc7953776f R14: 00007f1484f96300 R15: 0000000000022000
nla_parse: 12 callbacks suppressed
netlink: 16 bytes leftover after parsing attributes in process `syz-executor.0'.
netlink: 16 bytes leftover after parsing attributes in process `syz-executor.0'.
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'.
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'.
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'.
netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'.
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'.
netlink: 8 bytes leftover after parsing attributes in process `syz-executor.0'.
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'.
netlink: 20 bytes leftover after parsing attributes in process `syz-executor.0'.
nla_parse: 30 callbacks suppressed
netlink: 12 bytes leftover after parsing attributes in process `syz-executor.1'.

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/05 07:03 linux-4.19.y c2276d585654 ce697b49 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_devkey
2021/08/20 02:00 linux-4.19.y 59456c9cc40c e2da378b .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_devkey
* Struck through repros no longer work on HEAD.