bisecting fixing commit since 53fff24aaf01dcb09cbfabbe060f42db8e61ab01 building syzkaller on cca8798699baeeccbf80af23d234ac19a5d667aa testing commit 53fff24aaf01dcb09cbfabbe060f42db8e61ab01 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: 8b8064dfe07c08f613e0f3e0bf9106c0b6f54a61ba628c752f4e5174d2baee32 all runs: crashed: possible deadlock in __sock_release testing current HEAD a89b48fe9308d976d9dcb2112e264d647f7efce4 testing commit a89b48fe9308d976d9dcb2112e264d647f7efce4 compiler: gcc version 8.4.1 20210217 (GCC) kernel signature: aca1d066b6eba7dec9964916ada07fc6eb37deb48059160eb63697bfb0e20ce5 run #0: OK run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #7: OK run #8: OK run #9: OK reproducer seems to be flaky Reproducer flagged being flaky revisions tested: 2, total time: 29m48.69885481s (build: 16m42.796895519s, test: 12m37.208240696s) the crash still happens on HEAD commit msg: Linux 4.19.199 crash: BUG: sleeping function called from invalid context in lock_sock_nested IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 BUG: sleeping function called from invalid context at net/core/sock.c:2863 in_atomic(): 1, irqs_disabled(): 0, pid: 8063, name: syz-executor.4 1 lock held by syz-executor.4/8063: #0: 0000000003ab48e4 (hci_sk_list.lock){++++}, at: hci_sock_dev_event+0x361/0x5e0 net/bluetooth/hci_sock.c:756 Preemption disabled at: [] hci_sock_dev_event+0x361/0x5e0 net/bluetooth/hci_sock.c:756 CPU: 0 PID: 8063 Comm: syz-executor.4 Not tainted 4.19.199-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/0x226 lib/dump_stack.c:118 ___might_sleep.cold.15+0x1f1/0x265 kernel/sched/core.c:6192 __might_sleep+0x95/0x190 kernel/sched/core.c:6145 lock_sock_nested+0x24/0x100 net/core/sock.c:2863 lock_sock include/net/sock.h:1510 [inline] hci_sock_dev_event+0x3e4/0x5e0 net/bluetooth/hci_sock.c:758 hci_unregister_dev+0x20b/0x890 net/bluetooth/hci_core.c:3292 vhci_release+0x6b/0xe0 drivers/bluetooth/hci_vhci.c:354 __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 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xa6a/0x2d90 kernel/exit.c:870 do_group_exit+0xf8/0x2c0 kernel/exit.c:967 get_signal+0x30b/0x1970 kernel/signal.c:2589 do_signal+0x87/0x1870 arch/x86/kernel/signal.c:799 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:0x465889 Code: Bad RIP value. RSP: 002b:00007f36b4554188 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: fffffffffffffffc RBX: 000000000055bfa8 RCX: 0000000000465889 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000040000000 RBP: 00000000004af68d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055bfa8 R13: 00007fff12994f8f R14: 00007f36b4554300 R15: 0000000000022000 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21