------------[ cut here ]------------ Trying to write to read-only block-device loop1 (partno 0) WARNING: CPU: 0 PID: 14500 at block/blk-core.c:705 bio_check_ro block/blk-core.c:705 [inline] WARNING: CPU: 0 PID: 14500 at block/blk-core.c:705 submit_bio_checks+0x1577/0x18d0 block/blk-core.c:833 Modules linked in: CPU: 0 PID: 14500 Comm: syz-executor.1 Not tainted 5.10.56 #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+0x1577/0x18d0 block/blk-core.c:833 Code: 03 00 00 45 8b a4 24 64 05 00 00 48 89 ef 48 8d 74 24 50 e8 6b 36 fe ff 48 c7 c7 a0 51 3a 84 48 89 c6 44 89 e2 e8 18 ca d3 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:ffff888050ebf130 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff1100a1d7e2c RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff812930d3 RDI: ffffed100a1d7e18 RBP: ffff8880518dcd00 R08: 0000000000000001 R09: ffff88806ce2facf R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff8880471b8000 R14: ffff8880518dcd10 R15: ffff8880518dcd08 FS: 00007fa727645700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3a4f51f130 CR3: 0000000050eea000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: submit_bio_noacct+0x7a/0xce0 block/blk-core.c:1045 submit_bio+0xf3/0x4e0 block/blk-core.c:1130 submit_bh_wbc.constprop.0+0x580/0x770 fs/buffer.c:3054 submit_bh fs/buffer.c:3060 [inline] __sync_dirty_buffer+0x16a/0x3f0 fs/buffer.c:3155 __fat_write_inode+0x7ca/0x990 fs/fat/inode.c:898 fat_write_inode+0x8f/0x180 fs/fat/inode.c:914 write_inode fs/fs-writeback.c:1326 [inline] __writeback_single_inode+0x943/0xd90 fs/fs-writeback.c:1524 writeback_single_inode+0x2aa/0x560 fs/fs-writeback.c:1578 sync_inode fs/fs-writeback.c:2589 [inline] sync_inode_metadata+0xbf/0x100 fs/fs-writeback.c:2609 __generic_file_fsync+0x15f/0x1f0 fs/libfs.c:1087 fat_file_fsync+0x73/0x200 fs/fat/file.c:190 vfs_fsync_range+0x13d/0x230 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+0x476/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+0x71d/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+0x57b/0x10f0 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:00007fa727645188 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: 00007ffdc64f5faf R14: 00007fa727645300 R15: 0000000000022000 irq event stamp: 2843 hardirqs last enabled at (2855): [] console_unlock+0x929/0xb30 kernel/printk/printk.c:2552 hardirqs last disabled at (2866): [] console_unlock+0x835/0xb30 kernel/printk/printk.c:2467 softirqs last enabled at (2380): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (2371): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace e5f6879058da4022 ]---