bisecting fixing commit since 7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf building syzkaller on 510951950dc0ee69cfdaf746061d3dbe31b49fd8 testing commit 7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf with gcc (GCC) 8.1.0 kernel signature: 4757031ae0d4fc920242038948f4058b31638789cb86f7afb0380f16b3063533 all runs: crashed: WARNING in generic_make_request_checks testing current HEAD 59126901f200f5fc907153468b03c64e0081b6e6 testing commit 59126901f200f5fc907153468b03c64e0081b6e6 with gcc (GCC) 8.1.0 kernel signature: 2af924be338098f471305ed89273705b326c7ab0782025ee0c9461605ddc1d12 all runs: crashed: WARNING in submit_bio_checks revisions tested: 2, total time: 15m28.414613005s (build: 9m0.112339768s, test: 5m56.777092098s) the crash still happens on HEAD commit msg: Merge tag 'perf-tools-fixes-for-v5.9-2020-09-03' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux crash: WARNING in submit_bio_checks ------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 0 PID: 8213 at block/blk-core.c:859 bio_check_ro block/blk-core.c:857 [inline] WARNING: CPU: 0 PID: 8213 at block/blk-core.c:859 submit_bio_checks+0x46c/0x850 block/blk-core.c:985 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8213 Comm: syz-executor.0 Not tainted 5.9.0-rc3-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+0xa3/0xcc lib/dump_stack.c:118 panic+0x135/0x31a kernel/panic.c:231 __warn.cold.13+0x20/0x25 kernel/panic.c:600 report_bug+0xc0/0xf0 lib/bug.c:198 handle_bug+0x35/0x90 arch/x86/kernel/traps.c:234 exc_invalid_op+0x13/0x60 arch/x86/kernel/traps.c:254 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:536 RIP: 0010:bio_check_ro block/blk-core.c:857 [inline] RIP: 0010:submit_bio_checks+0x46c/0x850 block/blk-core.c:985 Code: a2 a4 05 00 00 48 8d 75 b0 48 89 df c6 05 9c 7c 97 02 01 e8 46 8b ff ff 48 c7 c7 e0 c9 f0 83 48 89 c6 44 89 e2 e8 af dd 55 ff <0f> 0b 48 8b 53 08 e9 c0 fd ff ff 80 3d fe 60 97 02 00 0f 85 08 fd RSP: 0018:ffffc90002c3f820 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88810ed0af00 RCX: 0000000000000001 RDX: 0000000080000001 RSI: ffffffff84016271 RDI: 00000000ffffffff RBP: ffffc90002c3f880 R08: 0000000000000001 R09: 0000000000000001 R10: ffff88810f702580 R11: a62c46a8c8f838ab R12: 0000000000000000 R13: ffffc90002c3fbf0 R14: 0000000000000001 R15: ffff888129792140 submit_bio_noacct+0x37/0x650 block/blk-core.c:1197 submit_bio+0x3e/0x190 block/blk-core.c:1282 submit_bh_wbc+0x168/0x190 fs/buffer.c:3070 __block_write_full_page+0x225/0x5a0 fs/buffer.c:1810 __writepage+0xe/0x60 mm/page-writeback.c:2311 write_cache_pages+0x22b/0x570 mm/page-writeback.c:2246 generic_writepages+0x54/0x90 mm/page-writeback.c:2337 do_writepages+0x39/0xe0 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0xc6/0x100 mm/filemap.c:422 filemap_write_and_wait_range+0x36/0x90 mm/filemap.c:655 sync_blockdev fs/block_dev.c:489 [inline] __blkdev_put+0x19e/0x220 fs/block_dev.c:1769 blkdev_close+0x1f/0x30 fs/block_dev.c:1853 __fput+0xaa/0x250 fs/file_table.c:281 task_work_run+0x68/0xb0 kernel/task_work.c:141 exit_task_work include/linux/task_work.h:25 [inline] do_exit+0x3e1/0xcc0 kernel/exit.c:806 do_group_exit+0x42/0xb0 kernel/exit.c:903 get_signal+0x176/0xcc0 kernel/signal.c:2757 arch_do_signal+0x2b/0x920 arch/x86/kernel/signal.c:811 exit_to_user_mode_loop kernel/entry/common.c:136 [inline] exit_to_user_mode_prepare+0x1c1/0x220 kernel/entry/common.c:167 syscall_exit_to_user_mode+0x7e/0x2e0 kernel/entry/common.c:242 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cba9 Code: Bad RIP value. RSP: 002b:00007f827e323cf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 000000000078bfa8 RCX: 000000000045cba9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000078bfac RBP: 000000000078bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000078bfac R13: 00007ffcfc47ae4f R14: 00007f827e3249c0 R15: 000000000078bfac Kernel Offset: disabled Rebooting in 86400 seconds..