syzbot


INFO: trying to register non-static key in ieee802154_del_device

Status: upstream: reported C repro on 2021/04/25 12:42
Reported-by: syzbot+1ebed46ce232d822ab70@syzkaller.appspotmail.com
First crash: 1096d, last: 484d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 INFO: trying to register non-static key in ieee802154_del_device C 20 421d 1115d 0/1 upstream: reported C repro on 2021/04/06 14:28
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2021/12/27 08:12 11m bisect fix linux-4.19.y error job log (0)
2021/10/07 01:04 27m bisect fix linux-4.19.y job log (0) log
2021/08/19 18:58 28m bisect fix linux-4.19.y job log (0) log
2021/07/06 13:34 23m bisect fix linux-4.19.y job log (0) log
2021/05/25 13:46 25m bisect fix linux-4.19.y job log (0) log

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: 1 PID: 8102 Comm: syz-executor971 Not tainted 4.19.192-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:938 [inline]
 __mutex_lock+0xd7/0x1200 kernel/locking/mutex.c:1083
 ieee802154_del_device+0x3f/0x70 net/mac802154/cfg.c:418
 rdev_del_device net/ieee802154/rdev-ops.h:299 [inline]
 nl802154_del_llsec_dev+0x23d/0x320 net/ieee802154/nl802154.c:1816
 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:2455
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:638
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x4d5/0x690 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x6bb/0xc40 net/netlink/af_netlink.c:1909
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:632
 ___sys_sendmsg+0x7bb/0x8e0 net/socket.c:2115
 __sys_sendmsg net/socket.c:2153 [inline]
 __do_sys_sendmsg net/socket.c:2162 [inline]
 __se_sys_sendmsg net/socket.c:2160 [inline]
 __x64_sys_sendmsg+0x132/0x220 net/socket.c:2160
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x43fcb9
Code: 28 c3 e8 5a 14 00 00 66 2e 0f 1f 84 00 00 00 00 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd1f965348 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043fcb9
RDX: 0000000

Crashes (18):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/30 03:03 linux-4.19.y 6b7b0056defc 325a8dab .config console log report syz C ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2021/04/25 13:24 linux-4.19.y 2965db2e004c 36c88236 .config console log report syz C ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2022/12/29 00:17 linux-4.19.y 3f8a27f9e27b 44712fbc .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2022/12/13 16:51 linux-4.19.y 3f8a27f9e27b 67be1ae7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2022/11/05 05:54 linux-4.19.y 3f8a27f9e27b 6d752409 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2022/10/22 15:50 linux-4.19.y 3f8a27f9e27b c0b80a55 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2022/09/19 05:53 linux-4.19.y 3f8a27f9e27b dd9a85ff .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2022/09/08 10:49 linux-4.19.y 3f8a27f9e27b 435aeef7 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2022/06/28 06:22 linux-4.19.y 3f8a27f9e27b ef82eb2c .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2022/06/20 05:16 linux-4.19.y 3f8a27f9e27b 8f633d84 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2022/01/09 15:07 linux-4.19.y 3f8a27f9e27b 2ca0d385 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2021/11/27 08:11 linux-4.19.y 3f8a27f9e27b 63eeac02 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2021/11/11 05:20 linux-4.19.y 3f8a27f9e27b 75b04091 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2021/10/17 22:49 linux-4.19.y 3f8a27f9e27b 0c5d9412 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2021/09/07 01:04 linux-4.19.y b172b44fcb17 6ca60148 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2021/07/20 18:57 linux-4.19.y 4938296e03bd 1b201b48 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2021/06/06 13:34 linux-4.19.y 1722257b8ece 500c2339 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
2021/04/25 12:41 linux-4.19.y 2965db2e004c 36c88236 .config console log report info ci2-linux-4-19 INFO: trying to register non-static key in ieee802154_del_device
* Struck through repros no longer work on HEAD.