------------[ cut here ]------------ generic_make_request: Trying to write to read-only block-device loop0 (partno 0) WARNING: CPU: 0 PID: 19375 at block/blk-core.c:852 bio_check_ro block/blk-core.c:852 [inline] WARNING: CPU: 0 PID: 19375 at block/blk-core.c:852 generic_make_request_checks+0x1cb0/0x21c0 block/blk-core.c:988 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 19375 Comm: syz-executor.3 Not tainted 5.8.0-rc7-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+0x18f/0x20d lib/dump_stack.c:118 panic+0x2e3/0x75c kernel/panic.c:231 __warn.cold+0x20/0x45 kernel/panic.c:600 report_bug+0x1bd/0x210 lib/bug.c:198 handle_bug+0x38/0x90 arch/x86/kernel/traps.c:235 exc_invalid_op+0x13/0x40 arch/x86/kernel/traps.c:255 asm_exc_invalid_op+0x12/0x20 arch/x86/include/asm/idtentry.h:540 RIP: 0010:bio_check_ro block/blk-core.c:852 [inline] RIP: 0010:generic_make_request_checks+0x1cb0/0x21c0 block/blk-core.c:988 Code: 1a 05 00 00 44 8b ab ac 05 00 00 48 8d 74 24 70 48 89 ef e8 92 0f fe ff 48 c7 c7 a0 9b 91 88 48 89 c6 44 89 ea e8 52 77 c2 fd <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 80 3c 02 RSP: 0018:ffffc90002517478 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff8880a2214000 RCX: 0000000000000000 RDX: ffff888096126280 RSI: ffffffff815d4ef7 RDI: fffff520004a2e81 RBP: ffff8880a1c8bcc0 R08: 0000000000000001 R09: ffff8880ae6318e7 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a1c8bcc8 R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880a2051040 generic_make_request+0x89/0xc00 block/blk-core.c:1112 submit_bio+0x263/0x5b0 block/blk-core.c:1275 submit_bh_wbc+0x68d/0x8e0 fs/buffer.c:3073 __block_write_full_page+0x837/0x12e0 fs/buffer.c:1811 block_write_full_page+0x214/0x270 fs/buffer.c:2997 __writepage+0x60/0x170 mm/page-writeback.c:2313 write_cache_pages+0x736/0x11b0 mm/page-writeback.c:2248 generic_writepages mm/page-writeback.c:2339 [inline] generic_writepages+0xe2/0x150 mm/page-writeback.c:2328 do_writepages+0xec/0x290 mm/page-writeback.c:2354 __filemap_fdatawrite_range+0x2a1/0x380 mm/filemap.c:421 filemap_write_and_wait_range mm/filemap.c:654 [inline] filemap_write_and_wait_range+0xe1/0x1c0 mm/filemap.c:648 filemap_write_and_wait include/linux/fs.h:2765 [inline] __sync_blockdev fs/block_dev.c:490 [inline] sync_blockdev fs/block_dev.c:499 [inline] __blkdev_put+0x69a/0x890 fs/block_dev.c:1886 blkdev_close+0x8c/0xb0 fs/block_dev.c:1970 __fput+0x33c/0x880 fs/file_table.c:281 task_work_run+0xdd/0x190 kernel/task_work.c:135 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_usermode_loop arch/x86/entry/common.c:239 [inline] __prepare_exit_to_usermode+0x1e9/0x1f0 arch/x86/entry/common.c:269 do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:393 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x415ee1 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:00007ffd3f61a250 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 0000000000415ee1 RDX: 0000000000000000 RSI: 00000000000003c3 RDI: 0000000000000004 RBP: 0000000000000001 R08: 00000000633403c3 R09: 00000000633403c7 R10: 00007ffd3f61a340 R11: 0000000000000293 R12: 000000000078c900 R13: 000000000078c900 R14: ffffffffffffffff R15: 000000000078bfac Kernel Offset: disabled Rebooting in 86400 seconds..