bisecting fixing commit since 961f830af0658ef5ef8a7708786d634a6115f16b building syzkaller on 01975a06cb1a7b426ae17985374f2fff3ec38b62 testing commit 961f830af0658ef5ef8a7708786d634a6115f16b with gcc (GCC) 8.1.0 kernel signature: 64fdd1431576067fa2657a9f1df06d0c935eb71074adbc5102ebd927c2481c7c all runs: crashed: INFO: trying to register non-static key in skb_dequeue testing current HEAD c37da90efff5f183bea6ae4c2af33571f61fe317 testing commit c37da90efff5f183bea6ae4c2af33571f61fe317 with gcc (GCC) 8.1.0 kernel signature: b3d031d46d60f966a3bdd61d6743be8c5ad243f8c0655f54d3d3d0670e7a5fcb all runs: crashed: INFO: trying to register non-static key in skb_dequeue revisions tested: 2, total time: 29m16.134416915s (build: 21m48.975758s, test: 5m55.517162805s) the crash still happens on HEAD commit msg: Linux 4.19.143 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 INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 0 PID: 8025 Comm: syz-executor.0 Not tainted 4.19.143-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+0x17c/0x22a lib/dump_stack.c:118 assign_lock_key kernel/locking/lockdep.c:727 [inline] register_lock_class+0x1905/0x1b10 kernel/locking/lockdep.c:753 __lock_acquire+0x1a0/0x47c0 kernel/locking/lockdep.c:3303 lock_acquire+0x180/0x3a0 kernel/locking/lockdep.c:3907 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline] _raw_spin_lock_irqsave+0x99/0xd0 kernel/locking/spinlock.c:152 skb_dequeue+0x1e/0x1a0 net/core/skbuff.c:2819 skb_queue_purge+0x1a/0x30 net/core/skbuff.c:2857 l2cap_chan_del+0x510/0x7b0 net/bluetooth/l2cap_core.c:634 l2cap_chan_close+0x35b/0x830 net/bluetooth/l2cap_core.c:754 l2cap_sock_shutdown+0x858/0xc20 net/bluetooth/l2cap_sock.c:1159 l2cap_sock_release+0x5a/0x170 net/bluetooth/l2cap_sock.c:1201 __sock_release+0xc2/0x290 net/socket.c:579 sock_close+0x10/0x20 net/socket.c:1140 __fput+0x249/0x7f0 fs/file_table.c:278 ____fput+0x9/0x10 fs/file_table.c:309 task_work_run+0x108/0x180 kernel/task_work.c:113 get_signal+0x1359/0x1970 kernel/signal.c:2399 do_signal+0x87/0x1860 arch/x86/kernel/signal.c:821 exit_to_usermode_loop+0x159/0x1e0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x413/0x4e0 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45ce69 Code: 2d b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 fb b5 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fdee9093c78 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: 00007fff3c9e09cf R14: 00007fdee90949c0 R15: 000000000118bfcc Bluetooth: hci0: command 0x0409 tx timeout Bluetooth: hci1: command 0x0409 tx timeout Bluetooth: hci2: command 0x0409 tx timeout Bluetooth: hci4: command 0x0409 tx timeout Bluetooth: hci5: command 0x0409 tx timeout Bluetooth: hci3: command 0x0409 tx timeout Bluetooth: hci0: command 0x041b tx timeout Bluetooth: hci1: command 0x041b tx timeout Bluetooth: hci2: command 0x041b tx timeout Bluetooth: hci3: command 0x041b tx timeout Bluetooth: hci5: command 0x041b tx timeout Bluetooth: hci4: command 0x041b tx timeout Bluetooth: hci0: command 0x040f tx timeout Bluetooth: hci1: command 0x040f tx timeout Bluetooth: hci2: command 0x040f tx timeout Bluetooth: hci5: command 0x040f tx timeout Bluetooth: hci4: command 0x040f tx timeout Bluetooth: hci3: command 0x040f tx timeout Bluetooth: hci0: command 0x0419 tx timeout Bluetooth: hci1: command 0x0419 tx timeout Bluetooth: hci2: command 0x0419 tx timeout Bluetooth: hci3: command 0x0419 tx timeout Bluetooth: hci4: command 0x0419 tx timeout Bluetooth: hci5: command 0x0419 tx timeout