bisecting fixing commit since 14b58326976de6ef3998eefec1dd7f8b38b97a75 building syzkaller on 7adc7b652ac0426d2f2006dda89a021bb1747e7f testing commit 14b58326976de6ef3998eefec1dd7f8b38b97a75 with gcc (GCC) 8.1.0 kernel signature: d2266d0a3ca4ca65ad721fb0245285609c9232a564d703d2a9862ac292a16e48 all runs: crashed: INFO: trying to register non-static key in skb_dequeue testing current HEAD 2f166cdcf8a92fcf85524f2b5526cb28e16f0a60 testing commit 2f166cdcf8a92fcf85524f2b5526cb28e16f0a60 with gcc (GCC) 8.1.0 kernel signature: f30414a33ee71694958c59ea560a9e86fec88cf00e15f84d69957b7021b0564d all runs: crashed: INFO: trying to register non-static key in skb_dequeue revisions tested: 2, total time: 28m41.890313373s (build: 21m7.661006873s, test: 6m5.32353718s) the crash still happens on HEAD commit msg: Linux 4.14.196 crash: INFO: trying to register non-static key in skb_dequeue batman_adv: batadv0: Interface activated: batadv_slave_1 IPv6: ADDRCONF(NETDEV_CHANGE): batadv_slave_1: link becomes ready IPv6: ADDRCONF(NETDEV_CHANGE): veth1_to_batadv: link becomes ready Bluetooth: hci0 command 0x0409 tx timeout INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 7977 Comm: syz-executor.5 Not tainted 4.14.196-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+0x14b/0x1f1 lib/dump_stack.c:58 register_lock_class+0x3bd/0x19a0 kernel/locking/lockdep.c:768 __lock_acquire+0x18b/0x42d0 kernel/locking/lockdep.c:3378 lock_acquire+0x17e/0x3e0 kernel/locking/lockdep.c:3998 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x99/0xd0 kernel/locking/spinlock.c:160 skb_dequeue+0x1e/0x1a0 net/core/skbuff.c:2816 skb_queue_purge+0x1a/0x30 net/core/skbuff.c:2854 l2cap_chan_del+0x4c6/0x790 net/bluetooth/l2cap_core.c:634 l2cap_chan_close+0x338/0x7e0 net/bluetooth/l2cap_core.c:754 l2cap_sock_shutdown+0x7ab/0xbb0 net/bluetooth/l2cap_sock.c:1160 l2cap_sock_release+0x5a/0x170 net/bluetooth/l2cap_sock.c:1202 __sock_release+0xc2/0x2a0 net/socket.c:602 sock_close+0x10/0x20 net/socket.c:1139 __fput+0x232/0x740 fs/file_table.c:210 ____fput+0x9/0x10 fs/file_table.c:244 task_work_run+0xe5/0x170 kernel/task_work.c:113 get_signal+0x1460/0x1ab0 kernel/signal.c:2234 do_signal+0x7f/0x18b0 arch/x86/kernel/signal.c:814 exit_to_usermode_loop+0x11e/0x190 arch/x86/entry/common.c:160 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline] syscall_return_slowpath arch/x86/entry/common.c:270 [inline] do_syscall_64+0x416/0x5b0 arch/x86/entry/common.c:297 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45ce69 RSP: 002b:00007f8307f17c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002a RAX: fffffffffffffffc RBX: 0000000000002100 RCX: 000000000045ce69 RDX: 000000000000000e RSI: 0000000020000040 RDI: 0000000000000004 RBP: 000000000118c000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bfcc R13: 00007ffe835452af R14: 00007f8307f189c0 R15: 000000000118bfcc Bluetooth: hci1 command 0x0409 tx timeout Bluetooth: hci2 command 0x0409 tx timeout Bluetooth: hci4 command 0x0409 tx timeout Bluetooth: hci3 command 0x0409 tx timeout Bluetooth: hci5 command 0x0409 tx timeout Bluetooth: hci0 command 0x041b tx timeout Bluetooth: hci1 command 0x041b tx timeout Bluetooth: hci2 command 0x041b tx timeout Bluetooth: hci4 command 0x041b tx timeout Bluetooth: hci5 command 0x041b tx timeout Bluetooth: hci3 command 0x041b tx timeout Bluetooth: hci0 command 0x040f tx timeout Bluetooth: hci1 command 0x040f tx timeout Bluetooth: hci2 command 0x040f tx timeout Bluetooth: hci3 command 0x040f tx timeout Bluetooth: hci5 command 0x040f tx timeout Bluetooth: hci4 command 0x040f tx timeout Bluetooth: hci0 command 0x0419 tx timeout Bluetooth: hci1 command 0x0419 tx timeout Bluetooth: hci2 command 0x0419 tx timeout Bluetooth: hci4 command 0x0419 tx timeout Bluetooth: hci5 command 0x0419 tx timeout Bluetooth: hci3 command 0x0419 tx timeout