EXT4-fs error (device loop0): ext4_xattr_inode_iget:436: inode #12: comm syz-executor.0: 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: 1 PID: 5415 at kernel/locking/lockdep.c:941 look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:938 Modules linked in: CPU: 1 PID: 5415 Comm: syz-executor.0 Not tainted 6.4.0-rc2-syzkaller-00002-g5f0839acb99f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:look_up_lock_class+0xc2/0x140 kernel/locking/lockdep.c:938 Code: 8b 16 48 c7 c0 60 81 1e 90 48 39 c2 74 46 f6 05 0f 77 92 03 01 75 3d c6 05 06 77 92 03 01 48 c7 c7 c0 ad ea 8a e8 0e 0a a4 f6 <0f> 0b eb 26 e8 d5 2d 81 f9 48 c7 c7 00 ad ea 8a 89 de e8 37 ca fd RSP: 0018:ffffc90004f1f090 EFLAGS: 00010046 RAX: ec813201e1b69c00 RBX: ffffffff9005b420 RCX: ffff888027905940 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90004f1f190 R08: ffffffff815301a2 R09: ffffed1017325163 R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001 R13: 1ffff920009e3e20 R14: ffff888077245e00 R15: ffffffff8d0df6f9 FS: 00007f3eb7db1700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe9e4fac3b0 CR3: 00000000783f3000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: register_lock_class+0x104/0x990 kernel/locking/lockdep.c:1290 lockdep_init_map_type+0x37a/0x8e0 kernel/locking/lockdep.c:4875 ext4_xattr_inode_set_class fs/ext4/xattr.c:124 [inline] ext4_xattr_inode_iget+0x1f1/0x490 fs/ext4/xattr.c:444 ext4_xattr_inode_get+0x164/0x430 fs/ext4/xattr.c:531 ext4_xattr_move_to_block fs/ext4/xattr.c:2620 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2722 [inline] ext4_expand_extra_isize_ea+0xf21/0x1ce0 fs/ext4/xattr.c:2814 __ext4_expand_extra_isize+0x2f7/0x3d0 fs/ext4/inode.c:5792 ext4_try_to_expand_extra_isize fs/ext4/inode.c:5835 [inline] __ext4_mark_inode_dirty+0x53e/0x870 fs/ext4/inode.c:5913 ext4_evict_inode+0x839/0xf20 fs/ext4/inode.c:251 evict+0x2a4/0x620 fs/inode.c:665 ext4_orphan_cleanup+0xb1e/0x13c0 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5556 [inline] ext4_fill_super+0x6392/0x6c60 fs/ext4/super.c:5672 get_tree_bdev+0x405/0x620 fs/super.c:1303 vfs_get_tree+0x8c/0x270 fs/super.c:1510 do_new_mount+0x28f/0xae0 fs/namespace.c:3039 do_mount fs/namespace.c:3382 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3568 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3eb708d69a 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:00007f3eb7db0f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000000043a RCX: 00007f3eb708d69a RDX: 0000000020000180 RSI: 00000000200000c0 RDI: 00007f3eb7db0fe0 RBP: 00007f3eb7db1020 R08: 00007f3eb7db1020 R09: 0000000000800700 R10: 0000000000800700 R11: 0000000000000246 R12: 0000000020000180 R13: 00000000200000c0 R14: 00007f3eb7db0fe0 R15: 0000000020000100