------------[ cut here ]------------
generic_make_request: Trying to write to read-only block-device loop2 (partno 0)
WARNING: CPU: 1 PID: 7770 at block/blk-core.c:801 bio_check_ro block/blk-core.c:801 [inline]
WARNING: CPU: 1 PID: 7770 at block/blk-core.c:801 generic_make_request_checks+0x1c2f/0x2090 block/blk-core.c:906
Kernel panic - not syncing: panic_on_warn set ...
CPU: 1 PID: 7770 Comm: syz-executor.5 Not tainted 5.1.0-rc5-next-20190416 #26
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+0x172/0x1f0 lib/dump_stack.c:113
 panic+0x2cb/0x72b kernel/panic.c:214
 __warn.cold+0x20/0x46 kernel/panic.c:576
 report_bug+0x263/0x2b0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 fixup_bug arch/x86/kernel/traps.c:174 [inline]
 do_error_trap+0x11b/0x200 arch/x86/kernel/traps.c:272
 do_invalid_op+0x37/0x50 arch/x86/kernel/traps.c:291
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:972
RIP: 0010:bio_check_ro block/blk-core.c:801 [inline]
RIP: 0010:generic_make_request_checks+0x1c2f/0x2090 block/blk-core.c:906
Code: 00 00 44 8b ab b4 04 00 00 48 8d b5 78 ff ff ff 4c 89 ff e8 a3 86 05 00 48 c7 c7 e0 9d a0 87 48 89 c6 44 89 ea e8 8f e2 22 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:ffff888089596c90 EFLAGS: 00010282
RAX: 0000000000000000 RBX: ffff8880a3dd6e80 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff815af6b6 RDI: ffffed10112b2d84
RBP: ffff888089596d90 R08: ffff888089a00540 R09: ffffed1015d25019
R10: ffffed1015d25018 R11: ffff8880ae9280c7 R12: ffff8880837e0c88
R13: 0000000000000000 R14: 0000000000000001 R15: ffff8880837e0c80
 generic_make_request+0x24c/0x12d0 block/blk-core.c:1032
 submit_bio+0xba/0x480 block/blk-core.c:1197
 submit_bh_wbc+0x5f7/0x7f0 fs/buffer.c:3135
 __block_write_full_page+0x771/0x1020 fs/buffer.c:1803
 block_write_full_page+0x21f/0x270 fs/buffer.c:2993
 blkdev_writepage+0x25/0x30 fs/block_dev.c:621
 __writepage+0x67/0xe0 mm/page-writeback.c:2300
 write_cache_pages+0x8af/0x1560 mm/page-writeback.c:2235
 generic_writepages mm/page-writeback.c:2326 [inline]
 generic_writepages+0xed/0x160 mm/page-writeback.c:2315
 blkdev_writepages+0x1e/0x30 fs/block_dev.c:2005
 do_writepages+0xfc/0x2a0 mm/page-writeback.c:2341
 __filemap_fdatawrite_range+0x26d/0x340 mm/filemap.c:418
 file_write_and_wait_range+0x9a/0x100 mm/filemap.c:754
 blkdev_fsync+0x6c/0xd0 fs/block_dev.c:678
 vfs_fsync_range+0x144/0x230 fs/sync.c:197
 generic_write_sync include/linux/fs.h:2796 [inline]
 blkdev_write_iter fs/block_dev.c:1966 [inline]
 blkdev_write_iter+0x350/0x440 fs/block_dev.c:1941
 call_write_iter include/linux/fs.h:1866 [inline]
 do_iter_readv_writev+0x5e1/0x8e0 fs/read_write.c:681
 do_iter_write fs/read_write.c:957 [inline]
 do_iter_write+0x184/0x610 fs/read_write.c:938
 vfs_iter_write+0x77/0xb0 fs/read_write.c:970
 iter_file_splice_write+0x662/0xbe0 fs/splice.c:745
 do_splice_from fs/splice.c:847 [inline]
 direct_splice_actor+0x126/0x1a0 fs/splice.c:1019
 splice_direct_to_actor+0x369/0x970 fs/splice.c:974
 do_splice_direct+0x1da/0x2a0 fs/splice.c:1062
 do_sendfile+0x597/0xd00 fs/read_write.c:1443
 __do_sys_sendfile64 fs/read_write.c:1504 [inline]
 __se_sys_sendfile64 fs/read_write.c:1490 [inline]
 __x64_sys_sendfile64+0x1dd/0x220 fs/read_write.c:1490
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x458c29
Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fcdac1dfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 0000000000458c29
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0020000102000007 R11: 0000000000000246 R12: 00007fcdac1e06d4
R13: 00000000004c5e10 R14: 00000000004da5c8 R15: 00000000ffffffff
Kernel Offset: disabled
Rebooting in 86400 seconds..