Warning: Permanently added '10.128.10.63' (ECDSA) to the list of known hosts. executing program [ 52.021909][ T3497] loop0: detected capacity change from 0 to 4096 [ 52.048987][ T3497] ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) [ 52.093017][ T3497] [ 52.095378][ T3497] ============================================ [ 52.101536][ T3497] WARNING: possible recursive locking detected [ 52.107789][ T3497] 5.15.113-syzkaller #0 Not tainted [ 52.112975][ T3497] -------------------------------------------- [ 52.119111][ T3497] syz-executor175/3497 is trying to acquire lock: [ 52.125518][ T3497] ffff888072f01e80 (&ni->ni_lock/4){+.+.}-{3:3}, at: mi_read+0x2f2/0x560 [ 52.133968][ T3497] [ 52.133968][ T3497] but task is already holding lock: [ 52.141315][ T3497] ffff888072f06840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf5/0x1f0 [ 52.150001][ T3497] [ 52.150001][ T3497] other info that might help us debug this: [ 52.158041][ T3497] Possible unsafe locking scenario: [ 52.158041][ T3497] [ 52.165475][ T3497] CPU0 [ 52.168739][ T3497] ---- [ 52.172006][ T3497] lock(&ni->ni_lock/4); [ 52.176325][ T3497] lock(&ni->ni_lock/4); [ 52.180645][ T3497] [ 52.180645][ T3497] *** DEADLOCK *** [ 52.180645][ T3497] [ 52.188773][ T3497] May be due to missing lock nesting notation [ 52.188773][ T3497] [ 52.197073][ T3497] 2 locks held by syz-executor175/3497: [ 52.202615][ T3497] #0: ffff888072f06ae0 (&type->i_mutex_dir_key#6){++++}-{3:3}, at: lookup_slow+0x45/0x70 [ 52.212533][ T3497] #1: ffff888072f06840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf5/0x1f0 [ 52.221673][ T3497] [ 52.221673][ T3497] stack backtrace: [ 52.227544][ T3497] CPU: 0 PID: 3497 Comm: syz-executor175 Not tainted 5.15.113-syzkaller #0 [ 52.236120][ T3497] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 52.246167][ T3497] Call Trace: [ 52.249438][ T3497] [ 52.252357][ T3497] dump_stack_lvl+0x1e3/0x2cb [ 52.257114][ T3497] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 52.262736][ T3497] ? panic+0x84d/0x84d [ 52.266798][ T3497] validate_chain+0x46cf/0x58b0 [ 52.271637][ T3497] ? check_path+0x21/0x40 [ 52.275956][ T3497] ? lockdep_unlock+0x166/0x300 [ 52.280892][ T3497] ? lockdep_lock+0x2a0/0x2a0 [ 52.285663][ T3497] ? reacquire_held_locks+0x660/0x660 [ 52.291036][ T3497] ? validate_chain+0x13b7/0x58b0 [ 52.296056][ T3497] ? look_up_lock_class+0x77/0x120 [ 52.301160][ T3497] ? register_lock_class+0x100/0x9a0 [ 52.306438][ T3497] ? is_dynamic_key+0x1f0/0x1f0 [ 52.311279][ T3497] ? mark_lock+0x98/0x340 [ 52.315597][ T3497] __lock_acquire+0x1295/0x1ff0 [ 52.320445][ T3497] lock_acquire+0x1db/0x4f0 [ 52.324939][ T3497] ? mi_read+0x2f2/0x560 [ 52.329174][ T3497] ? read_lock_is_recursive+0x10/0x10 [ 52.334548][ T3497] ? __might_sleep+0xc0/0xc0 [ 52.339127][ T3497] ? ntfs_read_run_nb+0x356/0xe60 [ 52.344166][ T3497] __mutex_lock_common+0x1da/0x25a0 [ 52.349357][ T3497] ? mi_read+0x2f2/0x560 [ 52.353591][ T3497] ? mi_read+0x2f2/0x560 [ 52.357825][ T3497] ? mi_read+0x1c7/0x560 [ 52.362064][ T3497] ? mutex_lock_io_nested+0x60/0x60 [ 52.367253][ T3497] ? up_read+0x20/0x20 [ 52.371314][ T3497] mutex_lock_nested+0x17/0x20 [ 52.376068][ T3497] mi_read+0x2f2/0x560 [ 52.380131][ T3497] ntfs_iget5+0x45b/0x37f0 [ 52.384545][ T3497] ? indx_find+0x8a0/0xb60 [ 52.388954][ T3497] ? check_index_root+0x680/0x680 [ 52.393978][ T3497] ? dir_search_u+0x166/0x390 [ 52.398646][ T3497] dir_search_u+0x2f6/0x390 [ 52.403142][ T3497] ? ntfs_nls_to_utf16+0xc50/0xc50 [ 52.408245][ T3497] ? ntfs_utf16_to_nls+0x730/0x730 [ 52.413346][ T3497] ? rcu_is_watching+0x11/0xa0 [ 52.418100][ T3497] ? kmem_cache_alloc+0x128/0x280 [ 52.423112][ T3497] ntfs_lookup+0x102/0x1f0 [ 52.427521][ T3497] __lookup_slow+0x275/0x3d0 [ 52.432122][ T3497] ? lookup_one_len+0x2d0/0x2d0 [ 52.436965][ T3497] ? down_read+0x1b3/0x2e0 [ 52.441372][ T3497] lookup_slow+0x53/0x70 [ 52.445602][ T3497] walk_component+0x48c/0x610 [ 52.450271][ T3497] ? nd_alloc_stack+0xf0/0xf0 [ 52.454966][ T3497] ? handle_lookup_down+0x130/0x130 [ 52.460165][ T3497] path_lookupat+0x16f/0x450 [ 52.464747][ T3497] filename_lookup+0x230/0x5c0 [ 52.469501][ T3497] ? hashlen_string+0x110/0x110 [ 52.474348][ T3497] ? getname_flags+0x1ec/0x4e0 [ 52.479103][ T3497] user_path_at_empty+0x40/0x180 [ 52.484030][ T3497] path_setxattr+0xae/0x2a0 [ 52.488523][ T3497] ? simple_xattr_list_add+0xf0/0xf0 [ 52.493807][ T3497] ? syscall_enter_from_user_mode+0x2e/0x230 [ 52.499778][ T3497] __x64_sys_setxattr+0xb7/0xd0 [ 52.504620][ T3497] do_syscall_64+0x3d/0xb0 [ 52.509026][ T3497] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 52.514909][ T3497] RIP: 0033:0x7f4fa0bcf7b9 [ 52.519402][ T3497] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 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 c0 ff ff ff f7 d8 64 89 01 48 [ 52.538995][ T3497] RSP: 002b:00007ffc26c6eed8 EFLAGS: 00000246 ORIG_RAX: 00000000000000bc [ 52.547401][ T3497] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f4fa0bcf7b9 [ 52.555362][ T3497] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000180 [ 52.563322][ T3497] RBP: 00007f4fa0b8f050 R08: 0000000000000000 R09: 0000000000000000 [ 52.571306][ T3497] R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4fa0b8f0e0 [ 52.579266][ T3497] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 52.587239][ T3497] [