bisecting cause commit starting from 46debfec12b4e038b93c62a86bd78ae62f9ba4ea building syzkaller on b599f2fcc734e2183016a340d4f6fc2891d8e41f testing commit 46debfec12b4e038b93c62a86bd78ae62f9ba4ea compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 1f0886eef85cf9c7df8d236372dcdf29e40be9cce50205fa8a7e50c013255770 all runs: crashed: WARNING: The mand mount option has been deprecated and testing release v5.13 testing commit 62fb9874f5da54fdb243003b386128037319b219 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 1f8b5ca2928dd3db5ebf60db61a61b5183a343314a32a22ec81e6ec85b1f4a91 all runs: OK # git bisect start 46debfec12b4e038b93c62a86bd78ae62f9ba4ea 62fb9874f5da54fdb243003b386128037319b219 Bisecting: 12715 revisions left to test after this (roughly 14 steps) [a022f7d575bb68c35be0a9ea68860411dec652fe] Merge tag 'block-5.14-2021-07-08' of git://git.kernel.dk/linux-block testing commit a022f7d575bb68c35be0a9ea68860411dec652fe compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 9d7c357a82f3ae1c21dcf7b6549bdbd173c75bf8d676336d2f8a6cab76357961 run #0: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #1: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #2: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #3: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #4: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #5: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #6: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #7: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #8: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #9: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) # git bisect skip a022f7d575bb68c35be0a9ea68860411dec652fe Bisecting: 12715 revisions left to test after this (roughly 14 steps) [1b19b3f79063b202af3c8e1597320dee2f216756] Merge branch 'wan-cleanups' testing commit 1b19b3f79063b202af3c8e1597320dee2f216756 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: dd6562596c02603c5ef0cc327a410e774e8de1dff18635539fc09c5539ef9e17 all runs: OK # git bisect good 1b19b3f79063b202af3c8e1597320dee2f216756 Bisecting: 12635 revisions left to test after this (roughly 14 steps) [6e207b882159ed3e35a4cd4ff0fc155cce5e3cbc] Merge tag 'arm-soc-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc testing commit 6e207b882159ed3e35a4cd4ff0fc155cce5e3cbc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 1100f2f94fb7f8bbc5dfcd6f35ed1aaf91b6b1da11a18527232443bfa2150f45 run #0: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #1: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #2: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #3: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #4: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #5: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #6: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) run #7: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #8: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #9: boot failed: kernel panic: VFS: Unable to mount root fs on unknown-block(NUM,NUM) # git bisect skip 6e207b882159ed3e35a4cd4ff0fc155cce5e3cbc Bisecting: 12635 revisions left to test after this (roughly 14 steps) [44497fab681ba4ad439792eea6d118743f3e84d4] ACPI: sysfs: Sort headers alphabetically testing commit 44497fab681ba4ad439792eea6d118743f3e84d4 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 785d7dccf2f0794a449637f7adc29ab27070dc9b6be61cc732f8d0c36d17e6ab 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 reproducer seems to be flaky # git bisect bad 44497fab681ba4ad439792eea6d118743f3e84d4 Bisecting: 3 revisions left to test after this (roughly 2 steps) [bdd56d7d8931e842775d2e5b93d426a8d1940e33] ACPI: sysfs: Make sparse happy about address space in use testing commit bdd56d7d8931e842775d2e5b93d426a8d1940e33 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3b6b57181d7cc0d1e93aa978bf04db000bd7dad00af6bd6701bfc4b99ea658eb all runs: OK # git bisect good bdd56d7d8931e842775d2e5b93d426a8d1940e33 Bisecting: 1 revision left to test after this (roughly 1 step) [b272c05984679c855ff2d08c9d54957bdcfd9b3b] ACPI: sysfs: Unify pattern of memory allocations testing commit b272c05984679c855ff2d08c9d54957bdcfd9b3b compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 8e29fa80c52437f74e1b79d91c3dcfc39bb47b441c535ebbe0fc4bdd590493db all runs: OK # git bisect good b272c05984679c855ff2d08c9d54957bdcfd9b3b Bisecting: 0 revisions left to test after this (roughly 0 steps) [0023b28bdbb4cfd000da066d05b0743aa4f8732a] ACPI: sysfs: Refactor param_get_trace_state() to drop dead code testing commit 0023b28bdbb4cfd000da066d05b0743aa4f8732a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 785d7dccf2f0794a449637f7adc29ab27070dc9b6be61cc732f8d0c36d17e6ab all runs: OK # git bisect good 0023b28bdbb4cfd000da066d05b0743aa4f8732a 44497fab681ba4ad439792eea6d118743f3e84d4 is the first bad commit commit 44497fab681ba4ad439792eea6d118743f3e84d4 Author: Andy Shevchenko Date: Wed Jun 16 20:03:38 2021 +0300 ACPI: sysfs: Sort headers alphabetically For the sake of better maintenance, sort included headers alphabetically. Signed-off-by: Andy Shevchenko Signed-off-by: Rafael J. Wysocki drivers/acpi/sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) culprit signature: 785d7dccf2f0794a449637f7adc29ab27070dc9b6be61cc732f8d0c36d17e6ab parent signature: 785d7dccf2f0794a449637f7adc29ab27070dc9b6be61cc732f8d0c36d17e6ab Reproducer flagged being flaky revisions tested: 9, total time: 2h24m40.481397024s (build: 1h3m11.118949557s, test: 1h19m45.392547227s) first bad commit: 44497fab681ba4ad439792eea6d118743f3e84d4 ACPI: sysfs: Sort headers alphabetically recipients (to): ["andriy.shevchenko@linux.intel.com" "lenb@kernel.org" "linux-acpi@vger.kernel.org" "rafael.j.wysocki@intel.com" "rjw@rjwysocki.net"] recipients (cc): ["linux-kernel@vger.kernel.org"] 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: 8842, name: syz-executor.4 1 lock held by syz-executor.4/8842: #0: ffffffff8c1e55e0 (hci_sk_list.lock){++++}-{2:2}, at: hci_sock_dev_event+0x377/0x5d0 net/bluetooth/hci_sock.c:763 Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 PID: 8842 Comm: syz-executor.4 Not tainted 5.13.0-rc5-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+0xa5/0xe6 lib/dump_stack.c:120 ___might_sleep.cold+0x1f1/0x237 kernel/sched/core.c:8338 lock_sock_nested+0x1e/0xf0 net/core/sock.c:3064 lock_sock include/net/sock.h:1610 [inline] hci_sock_dev_event+0x3ed/0x5d0 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+0xa26/0x2500 kernel/exit.c:826 do_group_exit+0xe7/0x290 kernel/exit.c:923 __do_sys_exit_group kernel/exit.c:934 [inline] __se_sys_exit_group kernel/exit.c:932 [inline] __x64_sys_exit_group+0x35/0x40 kernel/exit.c:932 do_syscall_64+0x3a/0xb0 arch/x86/entry/common.c:47 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: Unable to access opcode bytes at RIP 0x4665bf. RSP: 002b:00007ffe40a58ee8 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007ffe40a596a8 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 0000000000000000 R08: 0000000000000025 R09: 00007ffe40a596a8 R10: 00000000ffffffff R11: 0000000000000246 R12: 00000000004bef74 R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000400538 ======================================================