------------[ cut here ]------------ Trying to write to read-only block-device loop7 (partno 0) WARNING: CPU: 0 PID: 6436 at block/blk-core.c:705 bio_check_ro block/blk-core.c:705 [inline] WARNING: CPU: 0 PID: 6436 at block/blk-core.c:705 submit_bio_checks+0x1577/0x18d0 block/blk-core.c:833 Modules linked in: CPU: 0 PID: 6436 Comm: syz-executor.7 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:ffff88800e227060 EFLAGS: 00010282 RAX: 0000000000000000 RBX: 1ffff11001c44e12 RCX: 0000000000000000 RDX: 0000000000040000 RSI: ffffffff812930d3 RDI: ffffed1001c44dfe RBP: ffff8880433db700 R08: 0000000000000001 R09: ffff88806ce2facf R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: ffff88800d5f3c50 R14: ffff8880433db710 R15: ffff8880433db708 FS: 00007f847a3df700(0000) GS:ffff88806ce00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d225000 CR3: 0000000015ada000 CR4: 0000000000350ef0 Call Trace: submit_bio_noacct+0x7a/0xce0 block/blk-core.c:1045 submit_bio+0xf3/0x4e0 block/blk-core.c:1130 dio_bio_submit fs/direct-io.c:443 [inline] do_blockdev_direct_IO+0x3876/0x43f0 fs/direct-io.c:1301 blockdev_direct_IO include/linux/fs.h:3041 [inline] fat_direct_IO+0x1d6/0x380 fs/fat/inode.c:288 generic_file_direct_write+0x20e/0x560 mm/filemap.c:3232 __generic_file_write_iter+0x231/0x5d0 mm/filemap.c:3419 generic_file_write_iter+0xd7/0x220 mm/filemap.c:3494 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 do_sendfile+0x54f/0x1040 fs/read_write.c:1257 __do_sys_sendfile64 fs/read_write.c:1318 [inline] __se_sys_sendfile64 fs/read_write.c:1304 [inline] __x64_sys_sendfile64+0x1cd/0x210 fs/read_write.c:1304 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:00007f847a3df188 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 000000000056c038 RCX: 0000000000466609 RDX: 0000000000000000 RSI: 0000000000000006 RDI: 0000000000000007 RBP: 00000000004bfcb9 R08: 0000000000000000 R09: 0000000000000000 R10: 000000007ffffff9 R11: 0000000000000246 R12: 000000000056c038 R13: 00007ffecc21791f R14: 00007f847a3df300 R15: 0000000000022000 irq event stamp: 3151 hardirqs last enabled at (3159): [] console_unlock+0x929/0xb30 kernel/printk/printk.c:2552 hardirqs last disabled at (3168): [] console_unlock+0x835/0xb30 kernel/printk/printk.c:2467 softirqs last enabled at (2342): [] asm_call_irq_on_stack+0x12/0x20 softirqs last disabled at (2279): [] asm_call_irq_on_stack+0x12/0x20 ---[ end trace 0399c3bc97039b25 ]--- EXT4-fs (loop7): ext4_check_descriptors: Inode bitmap for group 0 not in group (block 0)! EXT4-fs (loop7): group descriptors corrupted! EXT4-fs (loop7): ext4_check_descriptors: Inode bitmap for group 0 not in group (block 0)! EXT4-fs (loop7): group descriptors corrupted! EXT4-fs (loop7): ext4_check_descriptors: Inode bitmap for group 0 not in group (block 0)! EXT4-fs (loop7): group descriptors corrupted! EXT4-fs (loop7): ext4_check_descriptors: Inode bitmap for group 0 not in group (block 0)! EXT4-fs (loop7): group descriptors corrupted! EXT4-fs (loop7): ext4_check_descriptors: Inode bitmap for group 0 not in group (block 0)! EXT4-fs (loop7): group descriptors corrupted! audit: type=1326 audit(1629275769.005:12): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=6602 comm="syz-executor.6" exe="/syz-executor.6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x466609 code=0x0 audit: type=1326 audit(1629275769.809:13): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=6602 comm="syz-executor.6" exe="/syz-executor.6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x466609 code=0x0 FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) audit: type=1326 audit(1629275770.446:14): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=6657 comm="syz-executor.6" exe="/syz-executor.6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x466609 code=0x0 audit: type=1326 audit(1629275770.801:15): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=6667 comm="syz-executor.0" exe="/syz-executor.0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x466609 code=0x0 FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) audit: type=1326 audit(1629275771.966:16): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=6700 comm="syz-executor.6" exe="/syz-executor.6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x466609 code=0x0 FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) audit: type=1326 audit(1629275772.376:17): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=6720 comm="syz-executor.0" exe="/syz-executor.0" sig=31 arch=c000003e syscall=202 compat=0 ip=0x466609 code=0x0 EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop2): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) FAT-fs (loop3): Invalid FSINFO signature: 0x00000000, 0x00000000 (sector = 1) audit: type=1326 audit(1629275773.457:18): auid=0 uid=0 gid=0 ses=4 subj=system_u:system_r:kernel_t:s0 pid=6758 comm="syz-executor.6" exe="/syz-executor.6" sig=31 arch=c000003e syscall=202 compat=0 ip=0x466609 code=0x0 EXT4-fs (loop5): mounted filesystem without journal. Opts: ,errors=continue