------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 0 PID: 9558 at block/blk-core.c:800 bio_check_ro block/blk-core.c:800 [inline] WARNING: CPU: 0 PID: 9558 at block/blk-core.c:800 generic_make_request_checks+0x1c78/0x2190 block/blk-core.c:901 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 9558 Comm: syz-executor865 Not tainted 5.4.0-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/0x3e kernel/panic.c:582 report_bug+0x289/0x300 lib/bug.c:195 fixup_bug arch/x86/kernel/traps.c:174 [inline] fixup_bug arch/x86/kernel/traps.c:169 [inline] do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:267 do_invalid_op+0x37/0x50 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+0x1c78/0x2190 block/blk-core.c:901 Code: 00 00 44 8b ab 5c 05 00 00 48 8d b5 78 ff ff ff 4c 89 ff e8 5a 94 05 00 48 c7 c7 c0 47 05 88 48 89 c6 44 89 ea e8 a7 e4 0e 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:ffff888084c971c0 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff8880a3483000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815dc196 RDI: ffffed1010992e2a RBP: ffff888084c972c0 R08: ffff8880a461e340 R09: fffffbfff1532e1e R10: fffffbfff1532e1d R11: ffffffff8a9970ef R12: ffff88808e87cf08 R13: 0000000000000000 R14: 0000000000000001 R15: ffff88808e87cf00 generic_make_request+0x8f/0xb50 block/blk-core.c:1020 submit_bio+0x113/0x600 block/blk-core.c:1192 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:2060 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:1889 blkdev_put+0x98/0x560 fs/block_dev.c:1958 blkdev_close+0x8b/0xb0 fs/block_dev.c:1965 __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 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x8e7/0x2e00 kernel/exit.c:797 do_group_exit+0x135/0x360 kernel/exit.c:895 __do_sys_exit_group kernel/exit.c:906 [inline] __se_sys_exit_group kernel/exit.c:904 [inline] __x64_sys_exit_group+0x44/0x50 kernel/exit.c:904 do_syscall_64+0xfa/0x790 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x442cc8 Code: 00 00 ea dc 40 00 00 00 00 00 ea dc 40 00 00 00 00 00 ea dc 40 00 00 00 00 00 ea dc 40 00 00 00 00 00 ea dc 40 00 00 00 00 00 dc 40 00 00 00 00 00 b0 de 40 00 00 00 00 00 c8 de 40 00 00 00 RSP: 002b:00007fff5be05b88 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442cc8 RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00000000004c2da8 R08: 00000000000000e7 R09: ffffffffffffffd0 R10: 6c616b7a79732f2e R11: 0000000000000246 R12: 0000000000000001 R13: 00000000006d51a0 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..