------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 0 PID: 22523 at block/blk-core.c:803 bio_check_ro block/blk-core.c:800 [inline] WARNING: CPU: 0 PID: 22523 at block/blk-core.c:803 generic_make_request_checks+0x638/0x1540 block/blk-core.c:904 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 22523 Comm: blkid Not tainted 5.6.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:77 [inline] dump_stack+0x1e9/0x30e lib/dump_stack.c:118 panic+0x264/0x7a0 kernel/panic.c:221 __warn+0x209/0x210 kernel/panic.c:582 report_bug+0x1ac/0x2d0 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0xca/0x1c0 arch/x86/kernel/traps.c:267 do_invalid_op+0x32/0x40 arch/x86/kernel/traps.c:286 invalid_op+0x23/0x30 arch/x86/entry/entry_64.S:1027 RIP: 0010:bio_check_ro block/blk-core.c:800 [inline] RIP: 0010:generic_make_request_checks+0x638/0x1540 block/blk-core.c:904 Code: 5c 05 00 00 4c 89 f8 48 c1 e8 03 8a 04 08 84 c0 0f 85 ef 0e 00 00 41 8b 17 48 c7 c7 01 bd d0 88 4c 89 f6 31 c0 e8 d8 f7 c6 fd <0f> 0b e9 2d fc ff ff e8 bc 22 f4 fd c6 05 f8 2d c5 05 01 48 c7 c7 RSP: 0018:ffffc90004637760 EFLAGS: 00010246 RAX: 97571023fcad4e00 RBX: 0000000000000001 RCX: ffff88807bd30280 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc90004637820 R08: ffffffff815e16c6 R09: ffffed1015d06618 R10: ffffed1015d06618 R11: 0000000000000000 R12: 1ffff110132116a1 R13: ffff88809908b508 R14: ffffc900046377c0 R15: ffff8880a1aca55c generic_make_request+0x33/0x980 block/blk-core.c:1023 submit_bio+0x26b/0x540 block/blk-core.c:1195 __block_write_full_page+0x946/0x1080 fs/buffer.c:1807 __writepage+0x60/0xd0 mm/page-writeback.c:2303 write_cache_pages+0x8bb/0xda0 mm/page-writeback.c:2238 generic_writepages+0x8f/0xd0 mm/page-writeback.c:2329 do_writepages+0xda/0x1f0 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x2a5/0x350 mm/filemap.c:421 filemap_write_and_wait_range+0xca/0x160 mm/filemap.c:654 filemap_write_and_wait include/linux/fs.h:2762 [inline] __sync_blockdev fs/block_dev.c:491 [inline] sync_blockdev fs/block_dev.c:500 [inline] __blkdev_put+0x1ae/0x6f0 fs/block_dev.c:1889 blkdev_close+0x77/0xa0 fs/block_dev.c:1965 __fput+0x2d8/0x730 fs/file_table.c:280 task_work_run+0x176/0x1b0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:164 [inline] prepare_exit_to_usermode+0x48e/0x600 arch/x86/entry/common.c:195 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7fede49d62b0 Code: 40 75 0b 31 c0 48 83 c4 08 e9 0c ff ff ff 48 8d 3d c5 32 08 00 e8 c0 07 02 00 83 3d 45 a3 2b 00 00 75 10 b8 03 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ce 8a 01 00 48 89 04 24 RSP: 002b:00007ffffe6d9ea8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007fede49d62b0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000028 R09: 0000000001680000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000945030 R13: 0000000000000000 R14: 0000000000000003 R15: 0000000000000005 Kernel Offset: disabled Rebooting in 86400 seconds..