bisecting cause commit starting from c50524ec4e3ad97d7d963268abd859c6413fbeb4 building syzkaller on f115ae985a399ddce060f448097b8068450a8f48 testing commit c50524ec4e3ad97d7d963268abd859c6413fbeb4 with gcc (GCC) 10.2.1 20210217 kernel signature: ae7af10983521c531f5bd60d0d2ffb1c3c1aa95f12bb3e26fdda86a924d45552 run #0: basic kernel testing failed: possible deadlock in fs_reclaim_acquire run #1: basic kernel testing failed: BUG: sleeping function called from invalid context in stack_depot_save run #2: crashed: possible deadlock in __unix_dgram_recvmsg run #3: crashed: possible deadlock in __unix_dgram_recvmsg run #4: crashed: possible deadlock in __unix_dgram_recvmsg run #5: crashed: possible deadlock in __unix_dgram_recvmsg run #6: crashed: possible deadlock in __unix_dgram_recvmsg run #7: crashed: possible deadlock in __unix_dgram_recvmsg run #8: crashed: possible deadlock in __unix_dgram_recvmsg run #9: crashed: possible deadlock in __unix_dgram_recvmsg run #10: crashed: possible deadlock in __unix_dgram_recvmsg run #11: crashed: possible deadlock in __unix_dgram_recvmsg run #12: crashed: possible deadlock in __unix_dgram_recvmsg run #13: crashed: INFO: task hung in __unix_dgram_recvmsg run #14: crashed: INFO: task hung in __unix_dgram_recvmsg run #15: crashed: INFO: task hung in __unix_dgram_recvmsg run #16: crashed: INFO: task hung in __unix_dgram_recvmsg run #17: crashed: INFO: task hung in __unix_dgram_recvmsg run #18: crashed: INFO: task hung in __unix_dgram_recvmsg run #19: crashed: INFO: task hung in __unix_dgram_recvmsg testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 with gcc (GCC) 10.2.1 20210217 kernel signature: 70206661ef661e18d4e7ce88d8d12243889878d8678127aa71ba34b034fd78a0 all runs: OK # git bisect start c50524ec4e3ad97d7d963268abd859c6413fbeb4 62fb9874f5da54fdb243003b386128037319b219 Bisecting: 2685 revisions left to test after this (roughly 11 steps) [df04fbe8680bfe07f3d7487eccff9f768bb02533] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid testing commit df04fbe8680bfe07f3d7487eccff9f768bb02533 with gcc (GCC) 10.2.1 20210217 kernel signature: 72464de8440223eebbf648f70239f7d27b5a2c61e4f8ada8f2b34107e5b303ab run #0: basic kernel testing failed: possible deadlock in fs_reclaim_acquire run #1: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK reproducer seems to be flaky # git bisect bad df04fbe8680bfe07f3d7487eccff9f768bb02533 Bisecting: 1237 revisions left to test after this (roughly 11 steps) [31e798fd6f0ff0acdc49c1a358b581730936a09a] Merge tag 'media/v5.14-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media testing commit 31e798fd6f0ff0acdc49c1a358b581730936a09a with gcc (GCC) 10.2.1 20210217 kernel signature: 8bacb13b78e9ef651da4f015d18b1e545aa4566db363c77c717d859cc88b8784 all runs: OK # git bisect good 31e798fd6f0ff0acdc49c1a358b581730936a09a Bisecting: 599 revisions left to test after this (roughly 9 steps) [3563f55ce65462063543dfa6a8d8c7fbfb9d7772] Merge tag 'pm-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm testing commit 3563f55ce65462063543dfa6a8d8c7fbfb9d7772 with gcc (GCC) 10.2.1 20210217 kernel signature: 553ac38d6663080138779e8fe39bac086560450711e6b6db108839002e073e89 run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 3563f55ce65462063543dfa6a8d8c7fbfb9d7772 Bisecting: 348 revisions left to test after this (roughly 8 steps) [122fa8c588316aacafe7e5a393bb3e875eaf5b25] Merge tag 'for-5.14-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux testing commit 122fa8c588316aacafe7e5a393bb3e875eaf5b25 with gcc (GCC) 10.2.1 20210217 kernel signature: 91f6f9a05d4f0d336a97431092790db429d8b0f00d6095a07489814ee9fde08b all runs: OK # git bisect good 122fa8c588316aacafe7e5a393bb3e875eaf5b25 Bisecting: 176 revisions left to test after this (roughly 8 steps) [c54b245d011855ea91c5beff07f1db74143ce614] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace testing commit c54b245d011855ea91c5beff07f1db74143ce614 with gcc (GCC) 10.2.1 20210217 kernel signature: 374865f21e68f2052ff836b6685b450847b16f20dd1bbf51ca9d653f93b6921e all runs: OK # git bisect good c54b245d011855ea91c5beff07f1db74143ce614 Bisecting: 101 revisions left to test after this (roughly 7 steps) [21edf50948728f55b685ad95f196ba46196eb767] Merge tag 'irq-core-2021-06-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 21edf50948728f55b685ad95f196ba46196eb767 with gcc (GCC) 10.2.1 20210217 kernel signature: f83e9cbc2cab82fa0042be44e6f4e0c3f6e3e963c49a71ac159ab80a4135733b run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 21edf50948728f55b685ad95f196ba46196eb767 Bisecting: 36 revisions left to test after this (roughly 5 steps) [c64638d5091a5630d0f5f5ab7001bdee1ad194f2] Merge branch irq/generic_handle_domain_irq-core into irq/irqchip-next testing commit c64638d5091a5630d0f5f5ab7001bdee1ad194f2 with gcc (GCC) 10.2.1 20210217 kernel signature: 93c2034620363c1065e425f77614652c130a4f9382d7b0c7fe4a0569cfd5233f all runs: OK # git bisect good c64638d5091a5630d0f5f5ab7001bdee1ad194f2 Bisecting: 20 revisions left to test after this (roughly 4 steps) [94f2be50badfa88e96033e77621c6711d58f84d3] Merge branch 'printk-rework' into for-linus testing commit 94f2be50badfa88e96033e77621c6711d58f84d3 with gcc (GCC) 10.2.1 20210217 kernel signature: 978829c4c0c319ca280cac3e52ae0274ecdfd7a7571748bb04a64e0725dd1452 all runs: OK # git bisect good 94f2be50badfa88e96033e77621c6711d58f84d3 Bisecting: 10 revisions left to test after this (roughly 3 steps) [e563592c3e4296780e5a184a917b8b86e126f0b3] Merge tag 'printk-for-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux testing commit e563592c3e4296780e5a184a917b8b86e126f0b3 with gcc (GCC) 10.2.1 20210217 kernel signature: 17e90026dd73f0d5b0bb059037698276106963e2e3473f4f5036fc64c2baa1bc all runs: OK # git bisect good e563592c3e4296780e5a184a917b8b86e126f0b3 Bisecting: 4 revisions left to test after this (roughly 3 steps) [3d2ce675aba7e2425710e23268579a5d76c7e725] Merge tag 'irqchip-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms into irq/core testing commit 3d2ce675aba7e2425710e23268579a5d76c7e725 with gcc (GCC) 10.2.1 20210217 kernel signature: d4b78c637988cf93da5c45fcfd9fa045fcc6c84ec93b9ea357d17b8f67a20e3a all runs: OK # git bisect good 3d2ce675aba7e2425710e23268579a5d76c7e725 Bisecting: 2 revisions left to test after this (roughly 1 step) [371fb85457c857eeac1611d3661ee8e637f6548c] Merge tag 'smp-core-2021-06-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip testing commit 371fb85457c857eeac1611d3661ee8e637f6548c with gcc (GCC) 10.2.1 20210217 kernel signature: e05648540e9313f445af57038b6763afaf892529c0915beaa146295c2eda0f5d run #0: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #1: crashed: BUG: sleeping function called from invalid context in lock_sock_nested run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK run #10: OK run #11: OK run #12: OK run #13: OK run #14: OK run #15: OK run #16: OK run #17: OK run #18: OK run #19: OK # git bisect bad 371fb85457c857eeac1611d3661ee8e637f6548c Bisecting: 0 revisions left to test after this (roughly 0 steps) [130708331bc6b03a3c3a78599333faddfebbd0f3] cpu/hotplug: Simplify access to percpu cpuhp_state testing commit 130708331bc6b03a3c3a78599333faddfebbd0f3 with gcc (GCC) 10.2.1 20210217 kernel signature: 48c976cd981331c31fbf07993cd4db8cecdaea17f4dd31ff199b3a52c66f5509 all runs: OK # git bisect good 130708331bc6b03a3c3a78599333faddfebbd0f3 371fb85457c857eeac1611d3661ee8e637f6548c is the first bad commit commit 371fb85457c857eeac1611d3661ee8e637f6548c Merge: e563592c3e42 130708331bc6 Author: Linus Torvalds Date: Tue Jun 29 12:21:21 2021 -0700 Merge tag 'smp-core-2021-06-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull CPU hotplug cleanup from Thomas Gleixner: "A simple cleanup for the CPU hotplug code to avoid per_cpu_ptr() reevaluation" * tag 'smp-core-2021-06-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: cpu/hotplug: Simplify access to percpu cpuhp_state kernel/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reproducer flagged being flaky revisions tested: 14, total time: 3h45m5.471108857s (build: 1h36m55.186852755s, test: 2h5m57.931521956s) first bad commit: 371fb85457c857eeac1611d3661ee8e637f6548c Merge tag 'smp-core-2021-06-29' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip recipients (to): ["torvalds@linux-foundation.org"] recipients (cc): [] crash: BUG: sleeping function called from invalid context in lock_sock_nested BUG: sleeping function called from invalid context at net/core/sock.c:3064 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 8841, name: syz-executor.4 1 lock held by syz-executor.4/8841: #0: ffffffff8c1ecfc0 (hci_sk_list.lock){++++}-{2:2}, at: hci_sock_dev_event+0x374/0x5c0 net/bluetooth/hci_sock.c:763 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 0 PID: 8841 Comm: syz-executor.4 Not tainted 5.13.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x5a/0x7e lib/dump_stack.c:96 ___might_sleep.cold+0x1f1/0x237 kernel/sched/core.c:9153 lock_sock_nested+0x1e/0xf0 net/core/sock.c:3064 lock_sock include/net/sock.h:1610 [inline] hci_sock_dev_event+0x3ea/0x5c0 net/bluetooth/hci_sock.c:765 hci_unregister_dev+0x29b/0xfb0 net/bluetooth/hci_core.c:4013 vhci_release+0x62/0xd0 drivers/bluetooth/hci_vhci.c:340 __fput+0x209/0x870 fs/file_table.c:280 task_work_run+0xc0/0x160 kernel/task_work.c:164 exit_task_work include/linux/task_work.h:32 [inline] do_exit+0x9fe/0x24e0 kernel/exit.c:825 do_group_exit+0xe7/0x290 kernel/exit.c:922 __do_sys_exit_group kernel/exit.c:933 [inline] __se_sys_exit_group kernel/exit.c:931 [inline] __x64_sys_exit_group+0x35/0x40 kernel/exit.c:931 do_syscall_64+0x31/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665d9 Code: Unable to access opcode bytes at RIP 0x4665af. RSP: 002b:00007fffdc34d278 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007fffdc34da38 RCX: 00000000004665d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 0000000000000000 R08: 0000000000000025 R09: 00007fffdc34da38 R10: 00000000ffffffff R11: 0000000000000246 R12: 00000000004bef54 R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000400538 ======================================================