------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 0 PID: 15689 at block/blk-core.c:800 bio_check_ro block/blk-core.c:797 [inline] WARNING: CPU: 0 PID: 15689 at block/blk-core.c:800 generic_make_request_checks+0x633/0x1a60 block/blk-core.c:902 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 15689 Comm: syz-executor.5 Not tainted 5.4.0-rc7+ #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:179 [inline] do_error_trap+0xd7/0x440 arch/x86/kernel/traps.c:272 do_invalid_op+0x36/0x40 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+0x633/0x1a60 block/blk-core.c:902 Code: 3c 05 00 00 4c 89 f8 48 c1 e8 03 8a 04 08 84 c0 0f 85 17 14 00 00 41 8b 17 48 c7 c7 73 98 40 88 4c 89 f6 31 c0 e8 0d 5d 14 fe <0f> 0b e9 35 fc ff ff e8 41 c6 41 fe c6 05 36 56 89 05 01 48 c7 c7 RSP: 0018:ffff888056dcf540 EFLAGS: 00010246 RAX: 24d8b909d8272400 RBX: 0000000000000001 RCX: 0000000000040000 RDX: ffffc900109a2000 RSI: 000000000001d06d RDI: 000000000001d06e RBP: ffff888056dcf600 R08: ffffffff815cc074 R09: ffffed1015d46120 R10: ffffed1015d46120 R11: 0000000000000000 R12: ffff88809c521588 R13: 1ffff110138a42b1 R14: ffff888056dcf5a0 R15: ffff8880a368453c generic_make_request+0x33/0x980 block/blk-core.c:1018 submit_bio+0x26b/0x540 block/blk-core.c:1190 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:2031 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] fsync_bdev+0x8e/0xb0 fs/block_dev.c:517 blkdev_flushbuf block/ioctl.c:437 [inline] blkdev_ioctl+0x197b/0x2980 block/ioctl.c:522 block_ioctl+0xbd/0x100 fs/block_dev.c:1954 do_vfs_ioctl+0x744/0x1730 fs/ioctl.c:46 ksys_ioctl fs/ioctl.c:713 [inline] __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0xe3/0x120 fs/ioctl.c:718 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45a639 Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f4983d7bc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 000000000045a639 RDX: ffffffffffffffff RSI: 0000000000001261 RDI: 000000000000000a RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4983d7c6d4 R13: 00000000004c410f R14: 00000000004d84a8 R15: 00000000ffffffff Kernel Offset: disabled Rebooting in 86400 seconds..