------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 1 PID: 8820 at block/blk-core.c:2180 bio_check_ro block/blk-core.c:2180 [inline] WARNING: CPU: 1 PID: 8820 at block/blk-core.c:2180 generic_make_request_checks+0x1e5d/0x2310 block/blk-core.c:2285 Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 8820 Comm: syz-executor885 Not tainted 4.19.108-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+0x188/0x20d lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x46 kernel/panic.c:541 report_bug+0x262/0x2a0 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1037 RIP: 0010:bio_check_ro block/blk-core.c:2180 [inline] RIP: 0010:generic_make_request_checks+0x1e5d/0x2310 block/blk-core.c:2285 Code: e3 03 00 00 45 8b b6 e4 04 00 00 48 8d 74 24 70 48 89 ef e8 25 31 06 00 48 c7 c7 e0 54 a9 87 48 89 c6 44 89 f2 e8 8e 1f fc fd <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c 02 RSP: 0018:ffff88808e3f7288 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8880a3e41000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8152d2f1 RDI: ffffed1011c7ee43 RBP: ffff8880a09b1080 R08: ffff88808924a440 R09: ffffed1015ce3ee3 R10: ffffed1015ce3ee2 R11: ffff8880ae71f717 R12: ffff8880a09b10b0 R13: ffff8880a09b1088 R14: 0000000000000000 R15: 0000000000000000 generic_make_request+0x24c/0x12d0 block/blk-core.c:2409 submit_bio+0xb1/0x430 block/blk-core.c:2573 submit_bh_wbc+0x5b0/0x760 fs/buffer.c:3095 __block_write_full_page+0x77a/0x1000 fs/buffer.c:1766 block_write_full_page+0x21a/0x270 fs/buffer.c:2956 __writepage+0x5e/0xe0 mm/page-writeback.c:2305 write_cache_pages+0x82d/0x1450 mm/page-writeback.c:2240 generic_writepages mm/page-writeback.c:2329 [inline] generic_writepages+0xe6/0x160 mm/page-writeback.c:2318 do_writepages+0xf3/0x2a0 mm/page-writeback.c:2344 __filemap_fdatawrite_range+0x27d/0x350 mm/filemap.c:446 __filemap_fdatawrite mm/filemap.c:454 [inline] filemap_fdatawrite mm/filemap.c:459 [inline] filemap_write_and_wait mm/filemap.c:640 [inline] filemap_write_and_wait+0x42/0xd0 mm/filemap.c:635 __sync_blockdev fs/block_dev.c:463 [inline] sync_blockdev fs/block_dev.c:472 [inline] set_blocksize+0x1e2/0x320 fs/block_dev.c:133 loop_set_fd drivers/block/loop.c:984 [inline] lo_ioctl+0x1069/0x20e0 drivers/block/loop.c:1553 __blkdev_driver_ioctl block/ioctl.c:303 [inline] blkdev_ioctl+0xbf7/0x1a1c block/ioctl.c:601 block_ioctl+0xe9/0x130 fs/block_dev.c:1894 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcda/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x44ac29 Code: e8 8c e7 ff ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 1b cc fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fbbf3099ce8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00000000006dcc68 RCX: 000000000044ac29 RDX: 0000000000000006 RSI: 0000000000004c00 RDI: 0000000000000005 RBP: 00000000006dcc60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc6c R13: 00007ffe6ee300bf R14: 00007fbbf309a9c0 R15: 00000000006dcc6c Kernel Offset: disabled Rebooting in 86400 seconds..