------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 0 PID: 8046 at block/blk-core.c:803 bio_check_ro block/blk-core.c:800 [inline] WARNING: CPU: 0 PID: 8046 at block/blk-core.c:803 generic_make_request_checks+0x636/0x1540 block/blk-core.c:901 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 8046 Comm: syz-executor278 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+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:174 [inline] do_error_trap+0xd7/0x440 arch/x86/kernel/traps.c:267 do_invalid_op+0x36/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+0x636/0x1540 block/blk-core.c:901 Code: 5c 05 00 00 4c 89 f8 48 c1 e8 03 8a 04 08 84 c0 0f 85 f8 0e 00 00 41 8b 17 48 c7 c7 61 59 61 88 4c 89 f6 31 c0 e8 8a 3c 0f fe <0f> 0b e9 2d fc ff ff e8 ee 22 3d fe c6 05 14 ac a3 05 01 48 c7 c7 RSP: 0018:ffff888093f6f450 EFLAGS: 00010246 RAX: 300ac1facb3df500 RBX: 0000000000000001 RCX: ffff8880a41be5c0 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff888093f6f510 R08: ffffffff815deeb4 R09: ffffed1015d465d8 R10: ffffed1015d465d8 R11: 0000000000000000 R12: 1ffff110135e5c41 R13: ffff88809af2e208 R14: ffff888093f6f4b0 R15: ffff8880a304b55c generic_make_request+0x33/0x980 block/blk-core.c:1020 submit_bio+0x26b/0x540 block/blk-core.c:1192 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:2060 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:1889 blkdev_put+0x2c8/0x3b0 fs/block_dev.c:1958 blkdev_close+0x7b/0xa0 fs/block_dev.c:1965 __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 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0x5cc/0x20f0 kernel/exit.c:797 do_group_exit+0x15c/0x2b0 kernel/exit.c:895 __do_sys_exit_group+0x17/0x20 kernel/exit.c:906 __se_sys_exit_group+0x14/0x20 kernel/exit.c:904 __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:904 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x442c38 Code: Bad RIP value. RSP: 002b:00007ffdd6d02e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 0000000000442c38 RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000 RBP: 00000000004c2548 R08: 00000000000000e7 R09: ffffffffffffffd0 R10: 00000000004002e0 R11: 0000000000000246 R12: 0000000000000001 R13: 00000000006d41a0 R14: 0000000000000000 R15: 0000000000000000 Kernel Offset: disabled Rebooting in 86400 seconds..