------------[ cut here ]------------ Looking for class "&sb->s_type->i_mutex_key" with key ntfs_fs_type, but found a different class "&type->i_mutex_dir_key" with the same key WARNING: CPU: 1 PID: 10530 at kernel/locking/lockdep.c:943 look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:940 Modules linked in: CPU: 1 PID: 10530 Comm: syz-executor.0 Not tainted 6.5.0-rc7-syzkaller-00071-gfe4469582053 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:940 lr : look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:940 sp : ffff800097387600 x29: ffff800097387600 x28: dfff800000000000 x27: ffff700012e70f44 x26: ffff8000924986e0 x25: ffff800092498000 x24: 0000000000000000 x23: ffff700012e70efc x22: 0000000000000000 x21: ffff80008e5e4cd9 x20: ffff0000e98983a0 x19: ffff8000910f1a50 x18: 0000000000000000 x17: 0000000000000000 x16: ffff80008a572e30 x15: 0000000000000001 x14: 1fffe0003683f22a x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000000 x10: 0000000000000000 x9 : 90605164bf99cc00 x8 : 90605164bf99cc00 x7 : 0000000000000001 x6 : 0000000000000001 x5 : ffff800097386ef8 x4 : ffff80008e17f000 x3 : ffff8000805a25e4 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: look_up_lock_class+0xec/0x158 kernel/locking/lockdep.c:940 register_lock_class+0x8c/0x6ac kernel/locking/lockdep.c:1292 __lock_acquire+0x184/0x75e8 kernel/locking/lockdep.c:5021 lock_acquire+0x23c/0x71c kernel/locking/lockdep.c:5761 down_write_nested+0x58/0xcc kernel/locking/rwsem.c:1689 inode_lock_nested include/linux/fs.h:806 [inline] filename_create+0x204/0x468 fs/namei.c:3886 do_mkdirat+0xac/0x610 fs/namei.c:4132 __do_sys_mkdirat fs/namei.c:4155 [inline] __se_sys_mkdirat fs/namei.c:4153 [inline] __arm64_sys_mkdirat+0x90/0xa8 fs/namei.c:4153 __invoke_syscall arch/arm64/kernel/syscall.c:37 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:51 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:136 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:155 el0_svc+0x58/0x16c arch/arm64/kernel/entry-common.c:678 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:696 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 irq event stamp: 45 hardirqs last enabled at (45): [] seqcount_lockdep_reader_access+0x80/0x100 include/linux/seqlock.h:104 hardirqs last disabled at (44): [] seqcount_lockdep_reader_access+0x40/0x100 include/linux/seqlock.h:101 softirqs last enabled at (8): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (6): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---