------------[ cut here ]------------ Trying to write to read-only block-device loop1 (partno 0) WARNING: CPU: 1 PID: 4527 at block/blk-core.c:705 bio_check_ro block/blk-core.c:705 [inline] WARNING: CPU: 1 PID: 4527 at block/blk-core.c:705 submit_bio_checks+0x1511/0x1850 block/blk-core.c:833 Modules linked in: CPU: 1 PID: 4527 Comm: syz-executor.1 Not tainted 5.10.60 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:bio_check_ro block/blk-core.c:705 [inline] RIP: 0010:submit_bio_checks+0x1511/0x1850 block/blk-core.c:833 Code: 02 00 00 45 8b a4 24 a4 05 00 00 48 89 ef 48 8d 74 24 50 e8 f1 41 fe ff 48 c7 c7 40 5a 3a 84 48 89 c6 44 89 e2 e8 8e 85 e7 01 <0f> 0b 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 80 3c 02 RSP: 0018:ffff8880431b7298 EFLAGS: 00010286 RAX: 0000000000000000 RBX: 1ffff11008636e59 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff812912c3 RDI: ffffed1008636e45 RBP: ffff88800c814900 R08: 0000000000000001 R09: ffff88806cf2fb4f R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88800d828c10 R14: ffff88800c814910 R15: ffff88800c814908 FS: 00007f14ed9f8700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000014a53ad CR3: 0000000036038000 CR4: 0000000000350ee0 Call Trace: submit_bio_noacct+0x7e/0xcf0 block/blk-core.c:1045 submit_bio+0x2f3/0x4e0 block/blk-core.c:1130 submit_bh_wbc.constprop.0+0x57f/0x770 fs/buffer.c:3054 submit_bh fs/buffer.c:3060 [inline] write_dirty_buffer fs/buffer.c:3128 [inline] write_dirty_buffer+0xcb/0x180 fs/buffer.c:3119 fsync_buffers_list fs/buffer.c:730 [inline] sync_mapping_buffers+0x416/0xd50 fs/buffer.c:548 fat_file_fsync+0x137/0x200 fs/fat/file.c:194 vfs_fsync_range+0x13d/0x220 fs/sync.c:200 generic_write_sync include/linux/fs.h:2739 [inline] generic_file_write_iter+0x195/0x220 mm/filemap.c:3498 call_write_iter include/linux/fs.h:1903 [inline] do_iter_readv_writev+0x471/0x750 fs/read_write.c:740 do_iter_write+0x18d/0x670 fs/read_write.c:866 vfs_iter_write+0x70/0xa0 fs/read_write.c:907 iter_file_splice_write+0x720/0xbe0 fs/splice.c:686 do_splice_from fs/splice.c:764 [inline] direct_splice_actor+0x10f/0x170 fs/splice.c:933 splice_direct_to_actor+0x387/0x980 fs/splice.c:888 do_splice_direct+0x1c4/0x290 fs/splice.c:976 generic_copy_file_range fs/read_write.c:1386 [inline] do_copy_file_range fs/read_write.c:1409 [inline] vfs_copy_file_range+0x572/0x10d0 fs/read_write.c:1516 __do_sys_copy_file_range+0x176/0x410 fs/read_write.c:1569 do_syscall_64+0x33/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x466609 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f14ed9f8188 EFLAGS: 00000246 ORIG_RAX: 0000000000000146 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 0000000000466609 RDX: 0000000000000003 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00000000004bfcb9 R08: 000000000200f5ef R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007fff44a0540f R14: 00007f14ed9f8300 R15: 0000000000022000 irq event stamp: 5951 hardirqs last enabled at (5959): [] console_unlock+0x926/0xb30 kernel/printk/printk.c:2552 hardirqs last disabled at (5968): [] console_unlock+0x832/0xb30 kernel/printk/printk.c:2467 softirqs last enabled at (5292): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (5237): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace b61bcaf42ea1a3a6 ]---