===================================== WARNING: bad unlock balance detected! syzkaller #0 Not tainted ------------------------------------- syz.5.674/8865 is trying to release lock (&ni->ni_lock) at: [] ni_unlock fs/ntfs3/ntfs_fs.h:1266 [inline] [] ntfs_readdir+0xac8/0xf00 fs/ntfs3/dir.c:625 but there are no more locks to release! other info that might help us debug this: locks held by syz.5.674/8865: 2, last CPU#0: #0: ffff88802b7e0470 (&f->f_pos_lock){+.+.}-{4:4}, at: fdget_pos+0x118/0x160 fs/file.c:1409 #1: ffff888069c16670 (&type->i_mutex_dir_key#8){++++}-{4:4}, at: iterate_dir+0x287/0x880 fs/readdir.c:106 stack backtrace: CPU: 0 UID: 0 PID: 8865 Comm: syz.5.674 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026 Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_unlock_imbalance_bug+0xdc/0xf0 kernel/locking/lockdep.c:5349 __lock_release kernel/locking/lockdep.c:5590 [inline] lock_release+0x252/0x3c0 kernel/locking/lockdep.c:5964 __mutex_unlock_slowpath+0x88/0x900 kernel/locking/mutex.c:989 ni_unlock fs/ntfs3/ntfs_fs.h:1266 [inline] ntfs_readdir+0xac8/0xf00 fs/ntfs3/dir.c:625 iterate_dir+0x3db/0x880 fs/readdir.c:114 __do_sys_getdents64 fs/readdir.c:404 [inline] __se_sys_getdents64+0xf1/0x280 fs/readdir.c:389 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f200fd9f559 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2010d4e028 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f2010025fa0 RCX: 00007f200fd9f559 RDX: 00000000000000dd RSI: 0000200000000fc0 RDI: 0000000000000004 RBP: 00007f200fe36b20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2010026038 R14: 00007f2010025fa0 R15: 00007ffc7061a708