------------[ 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: 5447 at kernel/locking/lockdep.c:941 look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 Modules linked in: CPU: 1 PID: 5447 Comm: syz-executor.2 Not tainted 6.1.32-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/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 : ffff800021166fb0 x29: ffff800021166fb0 x28: dfff800000000000 x27: 0000000100000000 x26: ffff8000195e37e0 x25: ffff8000195e3000 x24: ffff0000c9f88000 x23: ffff800015511cc0 x22: 0000000000000000 x21: ffff8000159311f9 x20: ffff00010baf4030 x19: ffff800018221640 x18: ffff800021166b60 x17: 0000000000000000 x16: ffff8000121090f4 x15: 0000000000000000 x14: 0000000000000002 x13: 0a79656b20656d61 x12: 0000000000040000 x11: 000000000003ffff x10: ffff800020b2f000 x9 : a2eaa4a136ec3b00 x8 : a2eaa4a136ec3b00 x7 : 20656d6173206568 x6 : ffff800008342284 x5 : 0000000000000000 x4 : 0000000000000001 x3 : ffff8000085879f4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:938 register_lock_class+0x90/0x6a8 kernel/locking/lockdep.c:1290 lockdep_init_map_type+0x358/0x7d4 kernel/locking/lockdep.c:4859 ext4_xattr_inode_set_class fs/ext4/xattr.c:126 [inline] ext4_xattr_inode_iget+0x278/0x4b8 fs/ext4/xattr.c:425 ext4_xattr_inode_dec_ref_all+0x18c/0xd38 fs/ext4/xattr.c:1159 ext4_xattr_delete_inode+0x938/0xad4 fs/ext4/xattr.c:2907 ext4_evict_inode+0xd10/0x12cc fs/ext4/inode.c:296 evict+0x260/0x68c fs/inode.c:664 iput_final fs/inode.c:1747 [inline] iput+0x7c0/0x8a4 fs/inode.c:1773 ext4_process_orphan+0x244/0x2b8 fs/ext4/orphan.c:360 ext4_orphan_cleanup+0x974/0x1134 fs/ext4/orphan.c:474 __ext4_fill_super fs/ext4/super.c:5533 [inline] ext4_fill_super+0x6f70/0x75d0 fs/ext4/super.c:5661 get_tree_bdev+0x360/0x54c fs/super.c:1346 ext4_get_tree+0x28/0x38 fs/ext4/super.c:5691 vfs_get_tree+0x90/0x274 fs/super.c:1553 do_new_mount+0x25c/0x8c4 fs/namespace.c:3040 path_mount+0x590/0xe58 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3568 __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/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 4351 hardirqs last enabled at (4351): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (4351): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000 hardirqs last disabled at (4350): [] __schedule+0x2a4/0x1c98 kernel/sched/core.c:6453 softirqs last enabled at (4324): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (4324): [] __do_softirq+0xc14/0xea0 kernel/softirq.c:600 softirqs last disabled at (4313): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:79 ---[ end trace 0000000000000000 ]--- ======================================================