------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 0 PID: 1401 at block/blk-core.c:800 bio_check_ro block/blk-core.c:797 [inline] WARNING: CPU: 0 PID: 1401 at block/blk-core.c:800 generic_make_request_checks+0x633/0x1a60 block/blk-core.c:902 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 1401 Comm: syz-executor.1 Not tainted 5.4.0-rc8-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+0x1fb/0x318 lib/dump_stack.c:118 panic+0x264/0x7a9 kernel/panic.c:221 __warn+0x20e/0x210 kernel/panic.c:582 report_bug+0x1b6/0x2f0 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:179 [inline] do_error_trap+0xd7/0x440 arch/x86/kernel/traps.c:272 do_invalid_op+0x36/0x40 arch/x86/kernel/traps.c:291 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1028 RIP: 0010:bio_check_ro block/blk-core.c:797 [inline] RIP: 0010:generic_make_request_checks+0x633/0x1a60 block/blk-core.c:902 Code: 3c 05 00 00 4c 89 f8 48 c1 e8 03 8a 04 08 84 c0 0f 85 17 14 00 00 41 8b 17 48 c7 c7 73 98 40 88 4c 89 f6 31 c0 e8 8d 5c 14 fe <0f> 0b e9 35 fc ff ff e8 41 c6 41 fe c6 05 b6 55 89 05 01 48 c7 c7 RSP: 0018:ffff88804ff87510 EFLAGS: 00010246 RAX: 51efbcd15da46600 RBX: 0000000000000001 RCX: ffff888051ed4640 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff88804ff875d0 R08: ffffffff815cc0f4 R09: fffffbfff12bc2a6 R10: fffffbfff12bc2a6 R11: 0000000000000000 R12: ffff888098547b88 R13: 1ffff110130a8f71 R14: ffff88804ff87570 R15: ffff8880a372753c generic_make_request+0x33/0x980 block/blk-core.c:1018 submit_bio+0x26b/0x540 block/blk-core.c:1190 submit_bh_wbc+0x619/0x700 fs/buffer.c:3095 __block_write_full_page+0x943/0x1070 fs/buffer.c:1767 block_write_full_page+0x1a4/0x220 include/linux/highmem.h:102 blkdev_writepage+0x24/0x30 fs/block_dev.c:609 __writepage+0x63/0xd0 mm/page-writeback.c:2303 write_cache_pages+0x94a/0xe70 mm/page-writeback.c:2238 generic_writepages+0x93/0xd0 mm/page-writeback.c:2329 blkdev_writepages+0x1d/0x30 fs/block_dev.c:2031 do_writepages+0xfb/0x1f0 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x2c2/0x360 mm/filemap.c:421 __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_fdatawrite mm/filemap.c:434 [inline] filemap_write_and_wait+0xca/0x160 mm/filemap.c:640 __sync_blockdev fs/block_dev.c:491 [inline] sync_blockdev fs/block_dev.c:500 [inline] __blkdev_put+0x1a2/0x6d0 fs/block_dev.c:1860 blkdev_put+0x2c8/0x3b0 fs/block_dev.c:1929 blkdev_close+0x7b/0xa0 fs/block_dev.c:1936 __fput+0x2e4/0x740 fs/file_table.c:280 ____fput+0x15/0x20 fs/file_table.c:313 task_work_run+0x17e/0x1b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:163 [inline] prepare_exit_to_usermode+0x459/0x580 arch/x86/entry/common.c:194 syscall_return_slowpath+0x113/0x4a0 arch/x86/entry/common.c:274 do_syscall_64+0x11f/0x1c0 arch/x86/entry/common.c:300 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4141d1 Code: 75 14 b8 03 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 04 1b 00 00 c3 48 83 ec 08 e8 0a fc ff ff 48 89 04 24 b8 03 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 53 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01 RSP: 002b:00007ffc40706ad0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000009 RCX: 00000000004141d1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000008 RBP: 0000000000000001 R08: 000000002cf05866 R09: 000000002cf0586a R10: 00007ffc40706bb0 R11: 0000000000000293 R12: 000000000075bf20 R13: 00000000000806a2 R14: 0000000000761d58 R15: 000000000075bf2c Kernel Offset: disabled Rebooting in 86400 seconds..