bisecting cause commit starting from 372b2891c15acbf7b90d948b08ac174bde77102c building syzkaller on b599f2fcc734e2183016a340d4f6fc2891d8e41f testing commit 372b2891c15acbf7b90d948b08ac174bde77102c compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 95919479c27fc1763d201da4da9c07b2e7c351a208e152e8a032d79da82d2794 all runs: crashed: general protection fault in do_blk_trace_setup 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 372b2891c15acbf7b90d948b08ac174bde77102c 62fb9874f5da54fdb243003b386128037319b219 Bisecting: 12997 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: BUG: sleeping function called from invalid context in stack_depot_save 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: BUG: sleeping function called from invalid context in stack_depot_save run #6: boot failed: BUG: sleeping function called from invalid context in stack_depot_save run #7: boot failed: possible deadlock in fs_reclaim_acquire 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: 12997 revisions left to test after this (roughly 14 steps) [4dd0f63b51c24afd2f34afbae2e728cf00c390e6] media: hevc: Add fields and flags for hevc PPS testing commit 4dd0f63b51c24afd2f34afbae2e728cf00c390e6 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 7bfe25942a0f42406ee231ae492ad29d9c7b2bfe0a67e02e39d9c576e21689ad all runs: OK # git bisect good 4dd0f63b51c24afd2f34afbae2e728cf00c390e6 Bisecting: 12997 revisions left to test after this (roughly 14 steps) [30f11dda2d25edcaae5ad34c4b953df4b2ba4faf] Bluetooth: hci_h5: btrtl: Maintain flow control if wakeup is enabled testing commit 30f11dda2d25edcaae5ad34c4b953df4b2ba4faf compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: d6af955d7b0b42d8ffce6676667336b444992a1343b92b7cd4269740b6399727 all runs: OK # git bisect good 30f11dda2d25edcaae5ad34c4b953df4b2ba4faf Bisecting: 5537 revisions left to test after this (roughly 13 steps) [358d1c5431f3bc697244ed4270ff8052e734de97] Merge remote-tracking branch 'net-next/master' testing commit 358d1c5431f3bc697244ed4270ff8052e734de97 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: d1af657915f4fe3ed61dfd3f789a39f3c55467576357430d994c08215c391ce0 all runs: OK # git bisect good 358d1c5431f3bc697244ed4270ff8052e734de97 Bisecting: 2865 revisions left to test after this (roughly 12 steps) [69f9d8c552a46c44e64a94a7aeb29cdeb7784b83] Merge remote-tracking branch 'spi/for-next' testing commit 69f9d8c552a46c44e64a94a7aeb29cdeb7784b83 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 0e4c6bcc98c9598e59ee0595cd5ed64f97c0c9ac3cdae1c0e1919e554950b426 all runs: crashed: general protection fault in do_blk_trace_setup # git bisect bad 69f9d8c552a46c44e64a94a7aeb29cdeb7784b83 Bisecting: 1263 revisions left to test after this (roughly 10 steps) [c01f8143dc96286a52c782dcf0608c2cbdbe3f71] Merge remote-tracking branch 'drm/drm-next' testing commit c01f8143dc96286a52c782dcf0608c2cbdbe3f71 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 6cd0baeb9fbfb7807bd42069259d0a344b34ffa35a57ae44975d2930bac2b936 all runs: OK # git bisect good c01f8143dc96286a52c782dcf0608c2cbdbe3f71 Bisecting: 697 revisions left to test after this (roughly 9 steps) [899689f4c202523e6abc9788e5aac21e3d2ce3eb] Merge remote-tracking branch 'input/next' testing commit 899689f4c202523e6abc9788e5aac21e3d2ce3eb compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 71feffb14e6f5b010bcb27a93d06b2b47dd2e281a68f0a270a5f760379594a68 all runs: OK # git bisect good 899689f4c202523e6abc9788e5aac21e3d2ce3eb Bisecting: 349 revisions left to test after this (roughly 9 steps) [6d1eeba228c2a2e948050773d99fbe68e83e104a] Merge remote-tracking branch 'mfd/for-mfd-next' testing commit 6d1eeba228c2a2e948050773d99fbe68e83e104a compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 05f18f22efe488d58e571394fa28ac759e7a0f25f94b081de2d092a90bdd925b all runs: crashed: general protection fault in do_blk_trace_setup # git bisect bad 6d1eeba228c2a2e948050773d99fbe68e83e104a Bisecting: 184 revisions left to test after this (roughly 8 steps) [a85e409100f51ea5d4a3b3929daee28082d14a20] Merge branch 'for-5.15/libata' into for-next testing commit a85e409100f51ea5d4a3b3929daee28082d14a20 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: aa937ea172a20e6f5f4e718ec0152d3923c85932c6ab04eb2990e941fef9e61e all runs: crashed: general protection fault in do_blk_trace_setup # git bisect bad a85e409100f51ea5d4a3b3929daee28082d14a20 Bisecting: 81 revisions left to test after this (roughly 6 steps) [25d84545beaae8e9427bbd25feff309363cd0a58] ubd: use bvec_virt testing commit 25d84545beaae8e9427bbd25feff309363cd0a58 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 5b6f15e43728f1c80a8b9f75df4fb210226fab06bf02332d431f37d8088e09a5 all runs: OK # git bisect good 25d84545beaae8e9427bbd25feff309363cd0a58 Bisecting: 46 revisions left to test after this (roughly 5 steps) [4040a44a97d30426c75cb3921bf99ecbb532f52f] Merge branch 'for-5.15/block' into for-next testing commit 4040a44a97d30426c75cb3921bf99ecbb532f52f compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 1c78e576b3d60ec3ebf011c9887dda0d5a669a0e152b0bccd0d9617ac2485eec all runs: crashed: general protection fault in do_blk_trace_setup # git bisect bad 4040a44a97d30426c75cb3921bf99ecbb532f52f Bisecting: 16 revisions left to test after this (roughly 4 steps) [4dcc4874deb41a11ece9c6e8858385235463c1ac] block: cleanup the lockdep handling in *alloc_disk testing commit 4dcc4874deb41a11ece9c6e8858385235463c1ac compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 3b97720783db211f697ca5179c016ef4c602a78672a26e25bfa23b3f471d8309 all runs: crashed: general protection fault in do_blk_trace_setup # git bisect bad 4dcc4874deb41a11ece9c6e8858385235463c1ac Bisecting: 8 revisions left to test after this (roughly 3 steps) [25bca50e523cbe96c0207fbb92f22ff2bc28e9aa] block: improve ioprio class description comment testing commit 25bca50e523cbe96c0207fbb92f22ff2bc28e9aa compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 47b0553f261894213958dba66d873125659b70fd2fc41e9cf22711bba4656aa7 all runs: OK # git bisect good 25bca50e523cbe96c0207fbb92f22ff2bc28e9aa Bisecting: 3 revisions left to test after this (roughly 2 steps) [759e0fd4b67766c96b33a114bba0c7d7521fecd0] block: add back the bd_holder_dir reference in bd_link_disk_holder testing commit 759e0fd4b67766c96b33a114bba0c7d7521fecd0 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: ebdfc3b304b9d64f61407ab803e06d5ea316d95822e34f0254e44cd4e77c808a all runs: OK # git bisect good 759e0fd4b67766c96b33a114bba0c7d7521fecd0 Bisecting: 1 revision left to test after this (roughly 1 step) [45938335d0a9773d65a82a7ca722bb76e4b997a8] st: do not allocate a gendisk testing commit 45938335d0a9773d65a82a7ca722bb76e4b997a8 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: 67e5b48af2cfd6aead171343c4699a8a5b5cf5fb588ec2eb79b8d18573eb082b 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 45938335d0a9773d65a82a7ca722bb76e4b997a8 Bisecting: 0 revisions left to test after this (roughly 0 steps) [5f432cceb3e9de5223fa50d882c4a43cab39a3ee] nvme: use blk_mq_alloc_disk testing commit 5f432cceb3e9de5223fa50d882c4a43cab39a3ee compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.1 kernel signature: cecf43e7b48d084574a2f59f80e78aedb839dfc8556ff7f1c6d5852690b00640 all runs: OK # git bisect good 5f432cceb3e9de5223fa50d882c4a43cab39a3ee 45938335d0a9773d65a82a7ca722bb76e4b997a8 is the first bad commit commit 45938335d0a9773d65a82a7ca722bb76e4b997a8 Author: Christoph Hellwig Date: Mon Aug 16 15:19:03 2021 +0200 st: do not allocate a gendisk st is a character driver and thus does not need to allocate a gendisk, which is only used for file system-like block layer I/O on block devices. Signed-off-by: Christoph Hellwig Link: https://lore.kernel.org/r/20210816131910.615153-3-hch@lst.de Signed-off-by: Jens Axboe drivers/scsi/st.c | 49 ++++++++++++------------------------------------- drivers/scsi/st.h | 2 +- 2 files changed, 13 insertions(+), 38 deletions(-) culprit signature: 67e5b48af2cfd6aead171343c4699a8a5b5cf5fb588ec2eb79b8d18573eb082b parent signature: cecf43e7b48d084574a2f59f80e78aedb839dfc8556ff7f1c6d5852690b00640 Reproducer flagged being flaky revisions tested: 18, total time: 4h9m46.192737667s (build: 2h0m43.893494094s, test: 2h6m36.360139997s) first bad commit: 45938335d0a9773d65a82a7ca722bb76e4b997a8 st: do not allocate a gendisk recipients (to): ["Kai.Makisara@kolumbus.fi" "axboe@kernel.dk" "hch@lst.de" "jejb@linux.ibm.com" "linux-scsi@vger.kernel.org" "martin.petersen@oracle.com"] 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:3161 in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 8859, name: syz-executor.5 INFO: lockdep is turned off. Preemption disabled at: [<0000000000000000>] 0x0 CPU: 1 PID: 8859 Comm: syz-executor.5 Not tainted 5.14.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:105 ___might_sleep.cold+0x1f1/0x237 kernel/sched/core.c:9154 lock_sock_nested+0x1e/0xf0 net/core/sock.c:3161 lock_sock include/net/sock.h:1613 [inline] hci_sock_dev_event+0x3ea/0x5c0 net/bluetooth/hci_sock.c:765 hci_unregister_dev+0x29b/0xfb0 net/bluetooth/hci_core.c:4033 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_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4665e9 Code: Unable to access opcode bytes at RIP 0x4665bf. RSP: 002b:00007ffd76d4cb68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 00007ffd76d4d328 RCX: 00000000004665e9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000043 RBP: 0000000000000000 R08: 0000000000000025 R09: 00007ffd76d4d328 R10: 00000000ffffffff R11: 0000000000000246 R12: 00000000004bef74 R13: 0000000000000010 R14: 0000000000000000 R15: 0000000000400538