EXT4-fs error (device loop4): ext4_orphan_get:1396: inode #15: comm syz-executor.4: casefold flag without casefold feature EXT4-fs error (device loop4): ext4_xattr_inode_iget:400: inode #12: comm syz-executor.4: casefold flag without casefold feature ------------[ cut here ]------------ Looking for class "&ea_inode->i_rwsem" with key ext4_fs_type, but found a different class "&type->i_mutex_dir_key" with the same key WARNING: CPU: 0 PID: 19220 at kernel/locking/lockdep.c:941 look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:938 Modules linked in: CPU: 0 PID: 19220 Comm: syz-executor.4 Not tainted 6.1.32-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:938 Code: 8b 16 48 c7 c0 20 91 14 90 48 39 c2 74 46 f6 05 13 16 bc 03 01 75 3d c6 05 0a 16 bc 03 01 48 c7 c7 40 f2 eb 8a e8 8e 3e cf f6 <0f> 0b eb 26 e8 85 ee ad f9 48 c7 c7 80 f1 eb 8a 89 de e8 a0 f1 fd RSP: 0018:ffffc9001668f230 EFLAGS: 00010046 RAX: 550a827a9a7f7b00 RBX: ffffffff8ffbc020 RCX: 0000000000040000 RDX: ffffc9000c4ba000 RSI: 0000000000025edb RDI: 0000000000025edc RBP: ffffc9001668f330 R08: ffffffff81524d7e R09: ffffed1017304f1c R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 1ffff92002cd1e54 R14: ffff888070460400 R15: ffffffff8d0da1d9 FS: 00007f783f9be700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0388aa020 CR3: 00000000732b1000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x100/0x990 kernel/locking/lockdep.c:1290 lockdep_init_map_type+0x376/0x8d0 kernel/locking/lockdep.c:4859 ext4_xattr_inode_set_class fs/ext4/xattr.c:126 [inline] ext4_xattr_inode_iget+0x2fa/0x5e0 fs/ext4/xattr.c:425 ext4_xattr_inode_dec_ref_all+0x1b1/0xec0 fs/ext4/xattr.c:1159 ext4_xattr_delete_inode+0xb08/0xce0 fs/ext4/xattr.c:2907 ext4_evict_inode+0xc77/0x1150 fs/ext4/inode.c:296 evict+0x2a4/0x620 fs/inode.c:664 ext4_orphan_cleanup+0xb70/0x1400 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5533 [inline] ext4_fill_super+0x83cf/0x8b20 fs/ext4/super.c:5661 get_tree_bdev+0x3fe/0x620 fs/super.c:1346 vfs_get_tree+0x88/0x270 fs/super.c:1553 do_new_mount+0x28b/0xae0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f783ec8d69a Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f783f9bdf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000044b RCX: 00007f783ec8d69a RDX: 0000000020000180 RSI: 00000000200000c0 RDI: 00007f783f9bdfe0 RBP: 00007f783f9be020 R08: 00007f783f9be020 R09: 0000000000800714 R10: 0000000000800714 R11: 0000000000000202 R12: 0000000020000180 R13: 00000000200000c0 R14: 00007f783f9bdfe0 R15: 0000000020000740