loop7: detected capacity change from 0 to 545 EXT4-fs error (device loop7): __ext4_fill_super:5311: inode #2: comm syz-executor.7: iget: root inode unallocated ------------[ cut here ]------------ EXT4-fs (loop7): get root inode failed WARNING: CPU: 1 PID: 15844 at drivers/scsi/scsi_lib.c:1024 scsi_alloc_sgtables+0x9aa/0xbb0 EXT4-fs (loop7): mount failed Modules linked in: CPU: 1 PID: 15844 Comm: syz-executor.1 Not tainted 5.17.0-next-20220330 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 RIP: 0010:scsi_alloc_sgtables+0x9aa/0xbb0 Code: 48 c1 e8 03 80 3c 10 00 0f 85 57 01 00 00 48 c7 c0 00 00 00 80 48 2b 05 24 82 39 02 48 89 04 24 e9 66 fd ff ff e8 66 06 8c fe <0f> 0b 41 bc 0a 00 00 00 e9 83 fa ff ff 41 bc 09 00 00 00 e9 78 fa RSP: 0018:ffff888042a4f578 EFLAGS: 00010212 RAX: 00000000000003f8 RBX: ffff88800f3203c8 RCX: ffffc90010a00000 RDX: 0000000000040000 RSI: ffffffff82b7b04a RDI: 0000000000000003 RBP: 0000000000000000 R08: 0000000000000004 R09: 0000000000000000 R10: ffffffff82b7afdd R11: 0000000000000000 R12: ffff88800f3202dc R13: ffff888009518000 R14: ffff88800f3202c0 R15: 0000000000000001 FS: 00007fb18ade7700(0000) GS:ffff88806cf00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2df21000 CR3: 0000000045398000 CR4: 0000000000350ee0 Call Trace: scsi_queue_rq+0x26dc/0x31f0 blk_mq_dispatch_rq_list+0x6c2/0x21d0 __blk_mq_sched_dispatch_requests+0x206/0x3d0 blk_mq_sched_dispatch_requests+0x101/0x180 __blk_mq_run_hw_queue+0xff/0x350 __blk_mq_delay_run_hw_queue+0x58a/0x670 blk_mq_run_hw_queue+0x321/0x4a0 blk_mq_sched_insert_request+0x2e5/0x3e0 blk_execute_rq+0xcc/0x340 sg_io+0x675/0xfe0 scsi_ioctl+0x52b/0x1540 sr_block_ioctl+0x1cb/0x210 blkdev_ioctl+0x356/0x7f0 __x64_sys_ioctl+0x196/0x210 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7fb18d871b19 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:00007fb18ade7188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fb18d984f60 RCX: 00007fb18d871b19 RDX: 00000000200003c0 RSI: 0000000000002285 RDI: 0000000000000003 RBP: 00007fb18d8cbf6d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc1b67042f R14: 00007fb18ade7300 R15: 0000000000022000 irq event stamp: 1421 hardirqs last enabled at (1431): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (1440): [] __up_console_sem+0x5d/0x80 softirqs last enabled at (1204): [] __irq_exit_rcu+0x113/0x170 softirqs last disabled at (1103): [] __irq_exit_rcu+0x113/0x170 ---[ end trace 0000000000000000 ]--- EXT4-fs error (device loop6): __ext4_fill_super:5311: inode #2: comm syz-executor.6: iget: root inode unallocated EXT4-fs (loop6): get root inode failed EXT4-fs (loop6): mount failed loop6: detected capacity change from 0 to 545 EXT4-fs (loop6): mounted filesystem without journal. Quota mode: writeback. ext4 filesystem being mounted at /syzkaller-testdir256867583/syzkaller.k0JFc1/451/file0 supports timestamps until 2038 (0x7fffffff) loop7: detected capacity change from 0 to 545 EXT4-fs error (device loop7): __ext4_fill_super:5311: inode #2: comm syz-executor.7: iget: root inode unallocated EXT4-fs (loop7): get root inode failed EXT4-fs (loop7): mount failed loop6: detected capacity change from 0 to 545 EXT4-fs (loop6): mounted filesystem without journal. Quota mode: writeback. ext4 filesystem being mounted at /syzkaller-testdir256867583/syzkaller.k0JFc1/452/file0 supports timestamps until 2038 (0x7fffffff) EXT4-fs warning (device loop5): ext4_multi_mount_protect:330: MMP startup interrupted, failing mount I/O error, dev loop5, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0