------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 1 PID: 17939 at block/blk-core.c:797 bio_check_ro block/blk-core.c:797 [inline] WARNING: CPU: 1 PID: 17939 at block/blk-core.c:797 generic_make_request_checks+0x1d5c/0x2210 block/blk-core.c:902 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 17939 Comm: syz-executor.0 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+0x197/0x210 lib/dump_stack.c:118 panic+0x2e3/0x75c kernel/panic.c:221 __warn.cold+0x2f/0x35 kernel/panic.c:582 report_bug+0x289/0x300 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:179 [inline] fixup_bug arch/x86/kernel/traps.c:174 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272 do_invalid_op+0x37/0x50 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+0x1d5c/0x2210 block/blk-core.c:902 Code: 00 00 44 8b ab 3c 05 00 00 48 8d b5 78 ff ff ff 4c 89 f7 e8 c6 87 05 00 48 c7 c7 60 18 e5 87 48 89 c6 44 89 ea e8 1c f9 13 fe <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 RSP: 0018:ffff88805b39f310 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8880a39e7000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815cf7d6 RDI: ffffed100b673e54 RBP: ffff88805b39f410 R08: ffff88809a4c4480 R09: ffffed1015d26159 R10: ffffed1015d26158 R11: ffff8880ae930ac7 R12: ffff888096f95c88 R13: 0000000000000000 R14: ffff888096f95c80 R15: ffff8880a3aef0b8 generic_make_request+0x8f/0xb50 block/blk-core.c:1018 submit_bio+0x113/0x600 block/blk-core.c:1190 submit_bh_wbc+0x6b6/0x900 fs/buffer.c:3095 __block_write_full_page+0x7fe/0x11b0 fs/buffer.c:1767 block_write_full_page+0x21f/0x270 fs/buffer.c:2953 blkdev_writepage+0x25/0x30 fs/block_dev.c:609 __writepage+0x66/0x110 mm/page-writeback.c:2303 write_cache_pages+0x80c/0x13f0 mm/page-writeback.c:2238 generic_writepages mm/page-writeback.c:2329 [inline] generic_writepages+0xed/0x160 mm/page-writeback.c:2318 blkdev_writepages+0x1e/0x30 fs/block_dev.c:2031 do_writepages+0xfa/0x2a0 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x2bc/0x3b0 mm/filemap.c:421 __filemap_fdatawrite mm/filemap.c:429 [inline] filemap_fdatawrite mm/filemap.c:434 [inline] filemap_write_and_wait mm/filemap.c:640 [inline] filemap_write_and_wait+0xf8/0x1e0 mm/filemap.c:635 __sync_blockdev fs/block_dev.c:491 [inline] sync_blockdev fs/block_dev.c:500 [inline] __blkdev_put+0x204/0x810 fs/block_dev.c:1860 blkdev_put+0x98/0x560 fs/block_dev.c:1929 blkdev_close+0x8b/0xb0 fs/block_dev.c:1936 __fput+0x2ff/0x890 fs/file_table.c:280 ____fput+0x16/0x20 fs/file_table.c:313 task_work_run+0x145/0x1c0 kernel/task_work.c:113 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop+0x316/0x380 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:194 [inline] syscall_return_slowpath arch/x86/entry/common.c:274 [inline] do_syscall_64+0x65f/0x760 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:0000000000a6fbf0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00000000004141d1 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 0000000000000001 R08: ffffffff8100a693 R09: 00000000a2143bee R10: 0000000000a6fcd0 R11: 0000000000000293 R12: 000000000075bf20 R13: 0000000000061b44 R14: 00000000007618b0 R15: 000000000075bf2c Kernel Offset: disabled Rebooting in 86400 seconds..