bisecting fixing commit since 7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf building syzkaller on 510951950dc0ee69cfdaf746061d3dbe31b49fd8 testing commit 7cc2a8ea104820dd9e702202621e8fd4d9f6c8cf with gcc (GCC) 8.4.1 20210217 kernel signature: 1a1d2595ef8b42cb606e33e16b65cfdcc5769cddd33209112c5bdb2507607901 all runs: crashed: WARNING in generic_make_request_checks testing current HEAD c2131f7e73c9e9365613e323d65c7b9e5b910f56 testing commit c2131f7e73c9e9365613e323d65c7b9e5b910f56 with gcc (GCC) 10.2.1 20210217 kernel signature: 69b626968dcbb6a25e9243ea2eb12e9bbb19f8bcc0693786345336b76ac5e5d3 all runs: crashed: WARNING in submit_bio_checks revisions tested: 2, total time: 18m42.36701127s (build: 11m27.838195761s, test: 6m28.163039233s) the crash still happens on HEAD commit msg: Merge tag 'gfs2-v5.13-rc2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 crash: WARNING in submit_bio_checks ------------[ cut here ]------------ Trying to write to read-only block-device nullb0 (partno 0) WARNING: CPU: 1 PID: 7354 at block/blk-core.c:704 bio_check_ro block/blk-core.c:704 [inline] WARNING: CPU: 1 PID: 7354 at block/blk-core.c:704 submit_bio_checks+0x7de/0x1680 block/blk-core.c:817 Modules linked in: CPU: 1 PID: 7354 Comm: syz-executor.2 Not tainted 5.13.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:bio_check_ro block/blk-core.c:704 [inline] RIP: 0010:submit_bio_checks+0x7de/0x1680 block/blk-core.c:817 Code: b6 90 e0 05 00 00 48 8d 74 24 58 4c 89 ff 89 54 24 08 e8 15 76 fe ff 8b 54 24 08 48 c7 c7 00 68 11 88 48 89 c6 e8 7d 77 04 04 <0f> 0b e9 22 fb ff ff 48 b8 00 00 00 00 00 fc ff df 48 8b 14 24 48 RSP: 0018:ffffc90000337158 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff92000066e32 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff88134620 RDI: fffff52000066e1d RBP: ffff88810d183020 R08: 0000000000000001 R09: ffff8881f6530dc7 R10: ffffed103eca61b8 R11: 7420676e69797254 R12: ffff888112ec1510 R13: ffff88810d183524 R14: ffff88810ccd0000 R15: ffff888112ec1500 FS: 0000000000000000(0000) GS:ffff8881f6500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f8cc25e0010 CR3: 00000001013f0005 CR4: 00000000001706e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: submit_bio_noacct+0x79/0xdb0 block/blk-core.c:1032 submit_bio+0xdf/0x4b0 block/blk-core.c:1118 submit_bh_wbc+0x4e9/0x6a0 fs/buffer.c:3075 __block_write_full_page+0x614/0xdd0 fs/buffer.c:1830 __writepage+0x58/0x140 mm/page-writeback.c:2311 write_cache_pages+0x52b/0xd00 mm/page-writeback.c:2246 generic_writepages mm/page-writeback.c:2337 [inline] generic_writepages+0xd7/0x140 mm/page-writeback.c:2326 do_writepages+0xca/0x240 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0x247/0x320 mm/filemap.c:413 filemap_write_and_wait_range mm/filemap.c:686 [inline] filemap_write_and_wait_range+0x4b/0xa0 mm/filemap.c:680 filemap_write_and_wait include/linux/fs.h:2892 [inline] __sync_blockdev fs/block_dev.c:526 [inline] sync_blockdev fs/block_dev.c:535 [inline] __blkdev_put+0x55c/0x670 fs/block_dev.c:1567 blkdev_put+0x75/0x480 fs/block_dev.c:1636 blkdev_close+0x8b/0xd0 fs/block_dev.c:1644 __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+0xac8/0x25b0 kernel/exit.c:826 do_group_exit+0xe7/0x290 kernel/exit.c:923 get_signal+0x3c0/0x1b50 kernel/signal.c:2835 arch_do_signal_or_restart+0x2a8/0x1f80 arch/x86/kernel/signal.c:789 handle_signal_work kernel/entry/common.c:147 [inline] exit_to_user_mode_loop kernel/entry/common.c:171 [inline] exit_to_user_mode_prepare+0x202/0x280 kernel/entry/common.c:208 __syscall_exit_to_user_mode_work kernel/entry/common.c:290 [inline] syscall_exit_to_user_mode+0x40/0x80 kernel/entry/common.c:301 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:57 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x4645a9 Code: Unable to access opcode bytes at RIP 0x46457f. RSP: 002b:00007f66b4122218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: 0000000000000001 RBX: 000000000055bfa8 RCX: 00000000004645a9 RDX: 00000000000f4240 RSI: 0000000000000081 RDI: 000000000055bfac RBP: 000000000055bfa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000055bfac R13: 00007ffe370ace4f R14: 00007f66b4122300 R15: 0000000000022000 irq event stamp: 7463 hardirqs last enabled at (7541): [] __raw_spin_unlock_irq include/linux/spinlock_api_smp.h:168 [inline] hardirqs last enabled at (7541): [] _raw_spin_unlock_irq+0x1f/0x80 kernel/locking/spinlock.c:199 hardirqs last disabled at (7648): [] __schedule+0x13e1/0x23d0 kernel/sched/core.c:5043 softirqs last enabled at (7674): [] invoke_softirq kernel/softirq.c:433 [inline] softirqs last enabled at (7674): [] __irq_exit_rcu kernel/softirq.c:637 [inline] softirqs last enabled at (7674): [] irq_exit_rcu+0x250/0x2a0 kernel/softirq.c:649 softirqs last disabled at (7687): [] invoke_softirq kernel/softirq.c:433 [inline] softirqs last disabled at (7687): [] __irq_exit_rcu kernel/softirq.c:637 [inline] softirqs last disabled at (7687): [] irq_exit_rcu+0x250/0x2a0 kernel/softirq.c:649 ---[ end trace 3f212ea14e80f82c ]---