syzbot


INFO: trying to register non-static key in ieee802154_del_device

Status: upstream: reported C repro on 2021/04/06 14:28
Reported-by: syzbot+3c9c4d16cae728daca6b@syzkaller.appspotmail.com
First crash: 1127d, last: 433d
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_del_device C error 18 495d 1108d 0/1 upstream: reported C repro on 2021/04/25 12:42
Fix bisection attempts (16)
Created Duration User Patch Repo Result
2023/03/01 19:30 37m bisect fix linux-4.14.y job log (0) log
2023/01/26 07:45 23m bisect fix linux-4.14.y job log (0) log
2022/11/17 13:30 23m bisect fix linux-4.14.y job log (0) log
2022/10/18 13:03 27m bisect fix linux-4.14.y job log (0) log
2022/05/17 20:04 28m bisect fix linux-4.14.y job log (0) log
2022/03/10 04:58 29m bisect fix linux-4.14.y job log (0) log
2022/02/08 03:59 28m bisect fix linux-4.14.y job log (0) log
2022/01/09 03:22 25m bisect fix linux-4.14.y job log (0) log
2021/12/10 02:57 24m bisect fix linux-4.14.y job log (0) log
2021/11/10 02:31 26m bisect fix linux-4.14.y job log (0) log
2021/10/11 02:05 25m bisect fix linux-4.14.y job log (0) log
2021/09/11 01:40 25m bisect fix linux-4.14.y job log (0) log
2021/08/12 01:15 24m bisect fix linux-4.14.y job log (0) log
2021/07/13 00:53 21m bisect fix linux-4.14.y job log (0) log
2021/06/13 00:27 26m bisect fix linux-4.14.y job log (0) log
2021/05/06 15:42 30m bisect fix linux-4.14.y job log (0) log

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: 7978 Comm: syz-executor244 Not tainted 4.14.232-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_del_device+0x3f/0x70 net/mac802154/cfg.c:418
 rdev_del_device net/ieee802154/rdev-ops.h:299 [inline]
 nl802154_del_llsec_dev+0x21f/0x2e0 net/ieee802154/nl802154.c:1816
 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:0x43fd19
RSP: 002b:00007ffc59da19b8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004004a0 RCX: 000000000043fd19

Crashes (20):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/05/14 00:16 linux-4.14.y 7d7d1c0ab3eb ecb594cb .config console log report syz C ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2021/04/06 15:33 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_del_device
2023/01/29 05:12 linux-4.14.y 3949d1610004 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/09/15 05:15 linux-4.14.y 65640c873dcf b884348d .config console log report info [disk image] [vmlinux] ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/09/11 23:45 linux-4.14.y 65640c873dcf 356d8217 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/08/14 02:05 linux-4.14.y b641242202ed 8dfcaa3d .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/08/07 22:18 linux-4.14.y b641242202ed 88e3a122 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/08/05 01:47 linux-4.14.y b641242202ed 1c9013ac .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/07/22 20:47 linux-4.14.y 9c3bf9cf362f 22343af4 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/07/07 10:45 linux-4.14.y ed2e96e11936 bff65f44 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/07/03 07:02 linux-4.14.y ed2e96e11936 1434eec0 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/06/10 16:43 linux-4.14.y b8f3be299d51 0d5abf15 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/04/17 20:03 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/04/17 10:36 linux-4.14.y 74766a973637 8bcc32a6 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/04/11 13:46 linux-4.14.y 74766a973637 e22c3da3 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/04/11 05:07 linux-4.14.y 74766a973637 e22c3da3 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/03/27 01:58 linux-4.14.y 004bfaafc45c 89bc8608 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2022/03/11 11:49 linux-4.14.y c9fcc1545c3b 9e8eaa75 .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2021/05/14 00:27 linux-4.14.y 7d7d1c0ab3eb ecb594cb .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
2021/04/06 14:27 linux-4.14.y bd634aa64163 6a81331a .config console log report info ci2-linux-4-14 INFO: trying to register non-static key in ieee802154_del_device
* Struck through repros no longer work on HEAD.