EXT4-fs (loop0): VFS: Can't find ext4 filesystem FAULT_INJECTION: forcing a failure. name fail_usercopy, interval 1, probability 0, space 0, times 1 CPU: 1 PID: 7335 Comm: syz-executor.3 Not tainted 6.0.0-rc1-next-20220822 #1 BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1521 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 7335, name: syz-executor.3 preempt_count: 0, expected: 0 RCU nest depth: 0, expected: 0 no locks held by syz-executor.3/7335. irq event stamp: 246 hardirqs last enabled at (245): [] __up_console_sem+0x78/0x80 hardirqs last disabled at (246): [] dump_stack_lvl+0x2e/0xb3 softirqs last enabled at (240): [] __irq_exit_rcu+0x11b/0x180 softirqs last disabled at (219): [] __irq_exit_rcu+0x11b/0x180 loop5: detected capacity change from 0 to 512 CPU: 1 PID: 7335 Comm: syz-executor.3 Not tainted 6.0.0-rc1-next-20220822 #1 loop4: detected capacity change from 0 to 512 syz-executor.3[7335] cmdline: /syz-executor.3 exec Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: EXT4-fs error (device loop2): __ext4_fill_super:5244: inode #2: comm syz-executor.2: iget: root inode unallocated dump_stack_lvl+0x8b/0xb3 __might_resched.cold+0x222/0x26b down_read_killable+0x75/0x490 loop1: detected capacity change from 0 to 512 __access_remote_vm+0xac/0x6f0 loop6: detected capacity change from 0 to 512 EXT4-fs (loop2): get root inode failed EXT4-fs (loop2): mount failed get_mm_cmdline.part.0+0x214/0x600 EXT4-fs (loop4): ext4_check_descriptors: Inode table for group 0 not in group (block 0)! EXT4-fs (loop4): group descriptors corrupted! get_task_cmdline_kernel+0x1e9/0x230 dump_stack_print_cmdline.part.0+0x82/0x150 dump_stack_print_info+0x185/0x190 dump_stack_lvl+0x7f/0xb3 should_fail.cold+0x5/0xa EXT4-fs (loop1): ext4_check_descriptors: Block bitmap for group 0 not in group (block 0)! _copy_from_user+0x2a/0x170 EXT4-fs (loop1): group descriptors corrupted! __do_sys_memfd_create+0x103/0x4e0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f14ff10ab19 EXT4-fs (loop5): unsupported inode size: 0 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 EXT4-fs (loop5): blocksize: 1024 RSP: 002b:00007f14fc67ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f14ff10ab19 RDX: 0000000000000800 RSI: 0000000000000000 RDI: 00007f14ff1640fb RBP: 0000000000000001 R08: 0000000000000400 R09: ffffffffffffffff R10: 0000000000000001 R11: 0000000000000246 R12: 0000000008100000 R13: 0000000020000100 R14: 0000000000040000 R15: 0000000020012900 syz-executor.3[7335] cmdline: /syz-executor.3 exec Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org 04/01/2014 Call Trace: dump_stack_lvl+0x8b/0xb3 should_fail.cold+0x5/0xa _copy_from_user+0x2a/0x170 __do_sys_memfd_create+0x103/0x4e0 do_syscall_64+0x3b/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f14ff10ab19 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:00007f14fc67ff48 EFLAGS: 00000246 ORIG_RAX: 000000000000013f RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f14ff10ab19 RDX: 0000000000000800 RSI: 0000000000000000 RDI: 00007f14ff1640fb RBP: 0000000000000001 R08: 0000000000000400 R09: ffffffffffffffff R10: 0000000000000001 R11: 0000000000000246 R12: 0000000008100000 R13: 0000000020000100 R14: 0000000000040000 R15: 0000000020012900 EXT4-fs error (device loop6): __ext4_fill_super:5244: inode #2: comm syz-executor.6: iget: root inode unallocated EXT4-fs (loop6): get root inode failed EXT4-fs (loop6): mount failed loop7: detected capacity change from 0 to 512 loop4: detected capacity change from 0 to 512 loop1: detected capacity change from 0 to 512 EXT4-fs (loop4): ext4_check_descriptors: Inode table for group 0 not in group (block 0)! EXT4-fs (loop4): group descriptors corrupted! loop0: detected capacity change from 0 to 512 EXT4-fs (loop1): ext4_check_descriptors: Inode bitmap for group 0 not in group (block 0)! EXT4-fs (loop1): group descriptors corrupted! loop2: detected capacity change from 0 to 512 loop5: detected capacity change from 0 to 512 EXT4-fs error (device loop0): __ext4_fill_super:5244: inode #2: comm syz-executor.0: iget: root inode unallocated EXT4-fs (loop0): get root inode failed EXT4-fs (loop0): mount failed loop6: detected capacity change from 0 to 512 EXT4-fs error (device loop2): __ext4_fill_super:5244: inode #2: comm syz-executor.2: iget: root inode unallocated EXT4-fs (loop2): get root inode failed EXT4-fs (loop2): mount failed EXT4-fs error (device loop5): __ext4_fill_super:5244: inode #2: comm syz-executor.5: iget: root inode unallocated EXT4-fs (loop5): get root inode failed EXT4-fs (loop5): mount failed EXT4-fs error (device loop6): __ext4_fill_super:5244: inode #2: comm syz-executor.6: iget: root inode unallocated EXT4-fs (loop6): get root inode failed EXT4-fs (loop6): mount failed ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff c3 inc %ebx 2: 66 2e 0f 1f 84 00 00 nopw %cs:0x0(%rax,%rax,1) 9: 00 00 00 c: 0f 1f 40 00 nopl 0x0(%rax) 10: 48 89 f8 mov %rdi,%rax 13: 48 89 f7 mov %rsi,%rdi 16: 48 89 d6 mov %rdx,%rsi 19: 48 89 ca mov %rcx,%rdx 1c: 4d 89 c2 mov %r8,%r10 1f: 4d 89 c8 mov %r9,%r8 22: 4c 8b 4c 24 08 mov 0x8(%rsp),%r9 27: 0f 05 syscall * 29: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 2f: 73 01 jae 0x32 31: c3 retq 32: 48 c7 c1 bc ff ff ff mov $0xffffffffffffffbc,%rcx 39: f7 d8 neg %eax 3b: 64 89 01 mov %eax,%fs:(%rcx) 3e: 48 rex.W