Warning: Permanently added '10.128.0.63' (ED25519) to the list of known hosts. executing program [ 60.616680][ T4162] loop0: detected capacity change from 0 to 4096 [ 60.743061][ T4162] ntfs3: loop0: Mark volume as dirty due to NTFS errors [ 60.752482][ T4162] ntfs3: loop0: Failed to load $Extend. [ 60.770918][ T4162] [ 60.773262][ T4162] ============================================ [ 60.779406][ T4162] WARNING: possible recursive locking detected [ 60.785540][ T4162] 5.15.176-syzkaller #0 Not tainted [ 60.790719][ T4162] -------------------------------------------- [ 60.796866][ T4162] syz-executor285/4162 is trying to acquire lock: [ 60.803344][ T4162] ffff88806ee51e80 (&ni->ni_lock/5){+.+.}-{3:3}, at: mi_read+0x2dd/0x5a0 [ 60.811792][ T4162] [ 60.811792][ T4162] but task is already holding lock: [ 60.819139][ T4162] ffff88806ee55980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_rename+0x710/0xd40 [ 60.827917][ T4162] [ 60.827917][ T4162] other info that might help us debug this: [ 60.835964][ T4162] Possible unsafe locking scenario: [ 60.835964][ T4162] [ 60.843393][ T4162] CPU0 [ 60.846656][ T4162] ---- [ 60.849916][ T4162] lock(&ni->ni_lock/5); [ 60.854234][ T4162] lock(&ni->ni_lock/5); [ 60.858554][ T4162] [ 60.858554][ T4162] *** DEADLOCK *** [ 60.858554][ T4162] [ 60.866681][ T4162] May be due to missing lock nesting notation [ 60.866681][ T4162] [ 60.874984][ T4162] 6 locks held by syz-executor285/4162: [ 60.880535][ T4162] #0: ffff8880728ae460 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3b/0x80 [ 60.889696][ T4162] #1: ffff88806ee554c0 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_renameat2+0x67e/0x1700 [ 60.900130][ T4162] #2: ffff88806ee55c20 (&sb->s_type->i_mutex_key#15/4){+.+.}-{3:3}, at: vfs_rename+0x7e4/0x10f0 [ 60.910676][ T4162] #3: ffff88806ee55220 (&ni->ni_lock/6){+.+.}-{3:3}, at: ntfs_rename+0x6fa/0xd40 [ 60.919915][ T4162] #4: ffff88806ee55980 (&ni->ni_lock/5){+.+.}-{3:3}, at: ntfs_rename+0x710/0xd40 [ 60.929148][ T4162] #5: ffff8880728ac120 (&wnd->rw_lock/1){+.+.}-{3:3}, at: ntfs_look_free_mft+0x1e7/0xff0 [ 60.939151][ T4162] [ 60.939151][ T4162] stack backtrace: [ 60.945035][ T4162] CPU: 1 PID: 4162 Comm: syz-executor285 Not tainted 5.15.176-syzkaller #0 [ 60.953700][ T4162] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 60.963840][ T4162] Call Trace: [ 60.967214][ T4162] [ 60.970196][ T4162] dump_stack_lvl+0x1e3/0x2d0 [ 60.974886][ T4162] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 60.980523][ T4162] ? panic+0x860/0x860 [ 60.984601][ T4162] validate_chain+0x46d2/0x5930 [ 60.989459][ T4162] ? lockdep_lock+0x2a0/0x2a0 [ 60.994137][ T4162] ? reacquire_held_locks+0x660/0x660 [ 60.999587][ T4162] ? validate_chain+0x13bd/0x5930 [ 61.004906][ T4162] ? look_up_lock_class+0x77/0x120 [ 61.010021][ T4162] ? register_lock_class+0x100/0x9a0 [ 61.015309][ T4162] ? is_dynamic_key+0x1f0/0x1f0 [ 61.020155][ T4162] ? mark_lock+0x98/0x340 [ 61.024481][ T4162] __lock_acquire+0x1295/0x1ff0 [ 61.029335][ T4162] lock_acquire+0x1db/0x4f0 [ 61.033943][ T4162] ? mi_read+0x2dd/0x5a0 [ 61.038179][ T4162] ? read_lock_is_recursive+0x10/0x10 [ 61.043539][ T4162] ? __lock_acquire+0x1295/0x1ff0 [ 61.048564][ T4162] ? __might_sleep+0xc0/0xc0 [ 61.053149][ T4162] ? ntfs_read_run_nb+0x358/0xf60 [ 61.058165][ T4162] __mutex_lock_common+0x1da/0x25a0 [ 61.063360][ T4162] ? mi_read+0x2dd/0x5a0 [ 61.067608][ T4162] ? mi_read+0x2dd/0x5a0 [ 61.071849][ T4162] ? mi_read+0x1ba/0x5a0 [ 61.076101][ T4162] ? mutex_lock_io_nested+0x60/0x60 [ 61.081287][ T4162] ? up_read+0x20/0x20 [ 61.085358][ T4162] mutex_lock_nested+0x17/0x20 [ 61.090112][ T4162] mi_read+0x2dd/0x5a0 [ 61.094168][ T4162] mi_format_new+0x1a7/0x5c0 [ 61.098746][ T4162] ni_add_subrecord+0xde/0x430 [ 61.103497][ T4162] ntfs_look_free_mft+0x7f1/0xff0 [ 61.108539][ T4162] ? ntfs_refresh_zone+0x520/0x520 [ 61.113654][ T4162] ? __kmalloc+0x168/0x300 [ 61.118075][ T4162] ? mi_enum_attr+0x316/0x720 [ 61.122742][ T4162] ni_create_attr_list+0x9b6/0x1470 [ 61.127953][ T4162] ? ni_remove_attr+0x930/0x930 [ 61.132805][ T4162] ? register_lock_class+0x100/0x9a0 [ 61.138098][ T4162] ? is_dynamic_key+0x1f0/0x1f0 [ 61.142953][ T4162] ? mark_lock+0x98/0x340 [ 61.147274][ T4162] ni_ins_attr_ext+0x364/0xb30 [ 61.152035][ T4162] ? ni_expand_list+0x1160/0x1160 [ 61.157062][ T4162] ? read_lock_is_recursive+0x10/0x10 [ 61.162437][ T4162] ni_add_name+0x689/0x9d0 [ 61.166869][ T4162] ? ni_remove_name_undo+0xf40/0xf40 [ 61.172151][ T4162] ? __mutex_lock_common+0x444/0x25a0 [ 61.177532][ T4162] ? ntfs_nls_to_utf16+0x875/0xc50 [ 61.182636][ T4162] ? ntfs_rename+0x710/0xd40 [ 61.187210][ T4162] ni_rename+0xbe/0x1e0 [ 61.191355][ T4162] ? ni_add_name+0x9d0/0x9d0 [ 61.195933][ T4162] ? ntfs_utf16_to_nls+0x730/0x730 [ 61.201035][ T4162] ? ntfs_rename+0x49a/0xd40 [ 61.205611][ T4162] ? rcu_is_watching+0x11/0xa0 [ 61.210370][ T4162] ntfs_rename+0x74a/0xd40 [ 61.214803][ T4162] ? ntfs_mknod+0x60/0x60 [ 61.219116][ T4162] ? do_raw_spin_unlock+0x137/0x8b0 [ 61.224301][ T4162] ? memcpy+0x3c/0x60 [ 61.228270][ T4162] vfs_rename+0xd32/0x10f0 [ 61.232678][ T4162] ? __ia32_sys_link+0x90/0x90 [ 61.237430][ T4162] ? security_path_rename+0x207/0x2a0 [ 61.242789][ T4162] do_renameat2+0xe0f/0x1700 [ 61.247374][ T4162] ? fsnotify_move+0x4f0/0x4f0 [ 61.252123][ T4162] ? __virt_addr_valid+0x3bb/0x460 [ 61.257304][ T4162] ? 0xffffffff81000000 [ 61.261441][ T4162] ? __check_object_size+0x300/0x410 [ 61.266817][ T4162] ? getname_flags+0x1ec/0x4e0 [ 61.271588][ T4162] ? lockdep_hardirqs_on+0x94/0x130 [ 61.276794][ T4162] __x64_sys_rename+0x82/0x90 [ 61.281469][ T4162] do_syscall_64+0x3b/0xb0 [ 61.285880][ T4162] ? clear_bhb_loop+0x15/0x70 [ 61.290551][ T4162] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 61.296445][ T4162] RIP: 0033:0x7f5d622587b9 [ 61.300851][ 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 [ 61.320445][ T4162] RSP: 002b:00007ffce4613be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 [ 61.328858][ T4162] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f5d622587b9 [ 61.336842][ T4162] RDX: 00007f5d622587b9 RSI: 0000000020000480 RDI: 0000000020000340 [ 61.34