EXT4-fs error (device loop0): ext4_xattr_inode_iget:436: inode #12: comm syz-executor329: 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: 5925 at kernel/locking/lockdep.c:941 look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 Modules linked in: CPU: 0 PID: 5925 Comm: syz-executor329 Not tainted 6.3.0-rc7-syzkaller-g14f8db1c0f9a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 lr : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 sp : ffff80001e4f6d50 x29: ffff80001e4f6d50 x28: dfff800000000000 x27: 0000000100000000 x26: ffff80001a0a7600 x25: ffff80001a0a7000 x24: ffff0000c41d3680 x23: ffff800015cbeeb8 x22: 0000000000000000 x21: ffff8000160dae79 x20: ffff0000deafca38 x19: ffff800018ce62c0 x18: 1fffe0003684a5b6 x17: 0000000000000000 x16: ffff80001236e294 x15: 0000000000000002 x14: 0000000000000000 x13: 0000000000000001 x12: 0000000000000001 x11: 0000000000000000 x10: 0000000000000000 x9 : 66fe3f0fc92a9f00 x8 : 66fe3f0fc92a9f00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff80001e4f6638 x4 : ffff800015e4ccc0 x3 : ffff800008584230 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 register_lock_class+0x8c/0x6a4 kernel/locking/lockdep.c:1290 lockdep_init_map_type+0x348/0x7b8 kernel/locking/lockdep.c:4859 ext4_xattr_inode_set_class fs/ext4/xattr.c:128 [inline] ext4_xattr_inode_iget+0x278/0x4b8 fs/ext4/xattr.c:461 ext4_xattr_inode_get+0x12c/0x37c fs/ext4/xattr.c:551 ext4_xattr_move_to_block fs/ext4/xattr.c:2641 [inline] ext4_xattr_make_inode_space fs/ext4/xattr.c:2743 [inline] ext4_expand_extra_isize_ea+0xbbc/0x16b4 fs/ext4/xattr.c:2835 __ext4_expand_extra_isize+0x290/0x348 fs/ext4/inode.c:5960 ext4_try_to_expand_extra_isize fs/ext4/inode.c:6003 [inline] __ext4_mark_inode_dirty+0x448/0x848 fs/ext4/inode.c:6081 ext4_evict_inode+0xb58/0x1254 fs/ext4/inode.c:279 evict+0x260/0x68c fs/inode.c:665 iput_final fs/inode.c:1748 [inline] iput+0x734/0x818 fs/inode.c:1774 ext4_process_orphan+0x244/0x2b8 fs/ext4/orphan.c:360 ext4_orphan_cleanup+0x968/0x1140 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5509 [inline] ext4_fill_super+0x644c/0x6a30 fs/ext4/super.c:5637 get_tree_bdev+0x360/0x54c fs/super.c:1303 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5668 vfs_get_tree+0x90/0x274 fs/super.c:1510 do_new_mount+0x25c/0x8c8 fs/namespace.c:3042 path_mount+0x590/0xe04 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3571 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x4c/0x15c arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 16287 hardirqs last enabled at (16287): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1378 [inline] hardirqs last enabled at (16287): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5065 hardirqs last disabled at (16286): [] __schedule+0x298/0x1e2c kernel/sched/core.c:6524 softirqs last enabled at (16254): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (16254): [] __do_softirq+0xac0/0xd54 kernel/softirq.c:600 softirqs last disabled at (16223): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80 ---[ end trace 0000000000000000 ]--- ======================================================