Warning: Permanently added '10.128.15.209' (ED25519) to the list of known hosts. executing program [ 66.905146][ T4162] loop0: detected capacity change from 0 to 4096 [ 67.015895][ T4162] ntfs3: loop0: Mark volume as dirty due to NTFS errors [ 67.024699][ T4162] ntfs3: loop0: Failed to load $Extend. [ 67.042339][ T4162] [ 67.044673][ T4162] ============================================ [ 67.050805][ T4162] WARNING: possible recursive locking detected [ 67.056936][ T4162] 5.15.176-syzkaller #0 Not tainted [ 67.062127][ T4162] -------------------------------------------- [ 67.068258][ T4162] syz-executor169/4162 is trying to acquire lock: [ 67.074655][ T4162] ffff88806f4b0100 (&ni->ni_lock/5){+.+.}-{3:3}, at: mi_read+0x2dd/0x5a0 [ 67.083108][ T4162] [ 67.083108][ T4162] but task is already holding lock: [ 67.090456][ T4162] ffff888075754ac0 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_rename+0x710/0xd40 [ 67.099254][ T4162] [ 67.099254][ T4162] other info that might help us debug this: [ 67.107321][ T4162] Possible unsafe locking scenario: [ 67.107321][ T4162] [ 67.114762][ T4162] CPU0 [ 67.118044][ T4162] ---- [ 67.121314][ T4162] lock(&ni->ni_lock/5); [ 67.125644][ T4162] lock(&ni->ni_lock/5); [ 67.129966][ T4162] [ 67.129966][ T4162] *** DEADLOCK *** [ 67.129966][ T4162] [ 67.138100][ T4162] May be due to missing lock nesting notation [ 67.138100][ T4162] [ 67.146415][ T4162] 6 locks held by syz-executor169/4162: [ 67.151953][ T4162] #0: ffff88802aa50460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 67.161101][ T4162] #1: ffff888075754600 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_renameat2+0x67e/0x1700 [ 67.171544][ T4162] #2: ffff888075754d60 (&sb->s_type->i_mutex_key#15/4){+.+.}-{3:3}, at: vfs_rename+0x7e4/0x10f0 [ 67.182086][ T4162] #3: ffff888075754360 (&ni->ni_lock/6){+.+.}-{3:3}, at: ntfs_rename+0x6fa/0xd40 [ 67.191299][ T4162] #4: ffff888075754ac0 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_rename+0x710/0xd40 [ 67.200510][ T4162] #5: ffff88802aa52120 (&wnd->rw_lock/1){+.+.}-{3:3}, at: ntfs_look_free_mft+0x1e7/0xff0 [ 67.210440][ T4162] [ 67.210440][ T4162] stack backtrace: [ 67.216325][ T4162] CPU: 0 PID: 4162 Comm: syz-executor169 Not tainted 5.15.176-syzkaller #0 [ 67.224898][ T4162] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 67.234946][ T4162] Call Trace: [ 67.238213][ T4162] [ 67.241132][ T4162] dump_stack_lvl+0x1e3/0x2d0 [ 67.245806][ T4162] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 67.251441][ T4162] ? panic+0x860/0x860 [ 67.255523][ T4162] validate_chain+0x46d2/0x5930 [ 67.260366][ T4162] ? lockdep_lock+0x2a0/0x2a0 [ 67.265030][ T4162] ? reacquire_held_locks+0x660/0x660 [ 67.270390][ T4162] ? validate_chain+0x13bd/0x5930 [ 67.275404][ T4162] ? look_up_lock_class+0x77/0x120 [ 67.280511][ T4162] ? register_lock_class+0x100/0x9a0 [ 67.285790][ T4162] ? is_dynamic_key+0x1f0/0x1f0 [ 67.290631][ T4162] ? mark_lock+0x98/0x340 [ 67.294949][ T4162] __lock_acquire+0x1295/0x1ff0 [ 67.299790][ T4162] lock_acquire+0x1db/0x4f0 [ 67.304278][ T4162] ? mi_read+0x2dd/0x5a0 [ 67.308507][ T4162] ? read_lock_is_recursive+0x10/0x10 [ 67.313879][ T4162] ? __lock_acquire+0x1295/0x1ff0 [ 67.318892][ T4162] ? __might_sleep+0xc0/0xc0 [ 67.323470][ T4162] ? ntfs_read_run_nb+0x358/0xf60 [ 67.328488][ T4162] __mutex_lock_common+0x1da/0x25a0 [ 67.333700][ T4162] ? mi_read+0x2dd/0x5a0 [ 67.337939][ T4162] ? mi_read+0x2dd/0x5a0 [ 67.342176][ T4162] ? mi_read+0x1ba/0x5a0 [ 67.346419][ T4162] ? mutex_lock_io_nested+0x60/0x60 [ 67.351622][ T4162] ? up_read+0x20/0x20 [ 67.355698][ T4162] mutex_lock_nested+0x17/0x20 [ 67.360461][ T4162] mi_read+0x2dd/0x5a0 [ 67.364525][ T4162] mi_format_new+0x1a7/0x5c0 [ 67.369110][ T4162] ni_add_subrecord+0xde/0x430 [ 67.373872][ T4162] ntfs_look_free_mft+0x7f1/0xff0 [ 67.378892][ T4162] ? ntfs_refresh_zone+0x520/0x520 [ 67.383994][ T4162] ? __kmalloc+0x168/0x300 [ 67.388418][ T4162] ? mi_enum_attr+0x316/0x720 [ 67.393092][ T4162] ni_create_attr_list+0x9b6/0x1470 [ 67.398280][ T4162] ? ni_remove_attr+0x930/0x930 [ 67.403119][ T4162] ? register_lock_class+0x100/0x9a0 [ 67.408406][ T4162] ? is_dynamic_key+0x1f0/0x1f0 [ 67.413272][ T4162] ? mark_lock+0x98/0x340 [ 67.417589][ T4162] ni_ins_attr_ext+0x364/0xb30 [ 67.422446][ T4162] ? ni_expand_list+0x1160/0x1160 [ 67.427462][ T4162] ? read_lock_is_recursive+0x10/0x10 [ 67.432838][ T4162] ni_add_name+0x689/0x9d0 [ 67.437268][ T4162] ? ni_remove_name_undo+0xf40/0xf40 [ 67.442558][ T4162] ? __mutex_lock_common+0x444/0x25a0 [ 67.447919][ T4162] ? ntfs_nls_to_utf16+0x875/0xc50 [ 67.453016][ T4162] ? ntfs_rename+0x710/0xd40 [ 67.457590][ T4162] ni_rename+0xbe/0x1e0 [ 67.461735][ T4162] ? ni_add_name+0x9d0/0x9d0 [ 67.466343][ T4162] ? ntfs_utf16_to_nls+0x730/0x730 [ 67.471445][ T4162] ? ntfs_rename+0x49a/0xd40 [ 67.476022][ T4162] ? rcu_is_watching+0x11/0xa0 [ 67.480776][ T4162] ntfs_rename+0x74a/0xd40 [ 67.485183][ T4162] ? ntfs_mknod+0x60/0x60 [ 67.489507][ T4162] ? do_raw_spin_unlock+0x137/0x8b0 [ 67.494691][ T4162] ? memcpy+0x3c/0x60 [ 67.498684][ T4162] vfs_rename+0xd32/0x10f0 [ 67.503112][ T4162] ? __ia32_sys_link+0x90/0x90 [ 67.507862][ T4162] ? security_path_rename+0x207/0x2a0 [ 67.513223][ T4162] do_renameat2+0xe0f/0x1700 [ 67.517805][ T4162] ? fsnotify_move+0x4f0/0x4f0 [ 67.522641][ T4162] ? __virt_addr_valid+0x3bb/0x460 [ 67.527790][ T4162] ? 0xffffffff81000000 [ 67.531929][ T4162] ? __check_object_size+0x300/0x410 [ 67.537208][ T4162] ? getname_flags+0x1ec/0x4e0 [ 67.541958][ T4162] ? lockdep_hardirqs_on+0x94/0x130 [ 67.547244][ T4162] __x64_sys_rename+0x82/0x90 [ 67.551908][ T4162] do_syscall_64+0x3b/0xb0 [ 67.556312][ T4162] ? clear_bhb_loop+0x15/0x70 [ 67.560990][ T4162] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 67.566892][ T4162] RIP: 0033:0x7fe151be37b9 [ 67.571290][ T4162] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48 [ 67.590880][ T4162] RSP: 002b:00007ffd6622b238 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 [ 67.599296][ T4162] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fe151be37b9 [ 67.607860][ T4162] RDX: 00007fe151be37b9 RSI: 0000000020000480 RDI: 0000000020000340 [ 67.615819][ T4162] RBP: 00007f