Warning: Permanently added '10.128.1.100' (ECDSA) to the list of known hosts. executing program [ 36.590841][ T4217] loop0: detected capacity change from 0 to 4096 [ 36.594993][ T4217] ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) [ 36.619347][ T4217] [ 36.619904][ T4217] ============================================ [ 36.621163][ T4217] WARNING: possible recursive locking detected [ 36.622522][ T4217] 6.1.27-syzkaller #0 Not tainted [ 36.623603][ T4217] -------------------------------------------- [ 36.624890][ T4217] syz-executor170/4217 is trying to acquire lock: [ 36.626259][ T4217] ffff0000df2b1e80 (&ni->ni_lock/4){+.+.}-{3:3}, at: mi_read+0x278/0x488 [ 36.628177][ T4217] [ 36.628177][ T4217] but task is already holding lock: [ 36.629744][ T4217] ffff0000df2b6840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf4/0x1a4 [ 36.631633][ T4217] [ 36.631633][ T4217] other info that might help us debug this: [ 36.633481][ T4217] Possible unsafe locking scenario: [ 36.633481][ T4217] [ 36.635072][ T4217] CPU0 [ 36.635760][ T4217] ---- [ 36.636438][ T4217] lock(&ni->ni_lock/4); [ 36.637379][ T4217] lock(&ni->ni_lock/4); [ 36.638319][ T4217] [ 36.638319][ T4217] *** DEADLOCK *** [ 36.638319][ T4217] [ 36.640071][ T4217] May be due to missing lock nesting notation [ 36.640071][ T4217] [ 36.641806][ T4217] 2 locks held by syz-executor170/4217: [ 36.643024][ T4217] #0: ffff0000df2b6ae0 (&type->i_mutex_dir_key#6){++++}-{3:3}, at: lookup_slow+0x50/0x84 [ 36.645260][ T4217] #1: ffff0000df2b6840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf4/0x1a4 [ 36.647334][ T4217] [ 36.647334][ T4217] stack backtrace: [ 36.648580][ T4217] CPU: 0 PID: 4217 Comm: syz-executor170 Not tainted 6.1.27-syzkaller #0 [ 36.650473][ T4217] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 36.652703][ T4217] Call trace: [ 36.653380][ T4217] dump_backtrace+0x1c8/0x1f4 [ 36.654415][ T4217] show_stack+0x2c/0x3c [ 36.655334][ T4217] dump_stack_lvl+0x108/0x170 [ 36.656348][ T4217] dump_stack+0x1c/0x5c [ 36.657266][ T4217] __lock_acquire+0x6310/0x764c [ 36.658412][ T4217] lock_acquire+0x26c/0x7cc [ 36.659425][ T4217] __mutex_lock_common+0x190/0x21a0 [ 36.660572][ T4217] mutex_lock_nested+0x38/0x44 [ 36.661595][ T4217] mi_read+0x278/0x488 [ 36.662463][ T4217] ntfs_iget5+0x34c/0x2b38 [ 36.663490][ T4217] dir_search_u+0x298/0x324 [ 36.664457][ T4217] ntfs_lookup+0x104/0x1a4 [ 36.665409][ T4217] __lookup_slow+0x250/0x374 [ 36.666425][ T4217] lookup_slow+0x60/0x84 [ 36.667371][ T4217] walk_component+0x280/0x36c [ 36.668403][ T4217] path_lookupat+0x13c/0x3d0 [ 36.669409][ T4217] filename_lookup+0x1d4/0x4e0 [ 36.670464][ T4217] user_path_at_empty+0x5c/0x1a4 [ 36.671522][ T4217] path_setxattr+0xbc/0x258 [ 36.672490][ T4217] __arm64_sys_setxattr+0xbc/0xd8 [ 36.673599][ T4217] invoke_syscall+0x98/0x2c0 [ 36.674602][ T4217] el0_svc_common+0x138/0x258 [ 36.675663][ T4217] do_el0_svc+0x64/0x218 [ 36.676571][ T4217] el0_svc+0x58/0x168 [ 36.677420][ T4217] el0t_64_sync_handler+0x84/0xf0 [ 36.678476][ T4217] el0t_64_sync+0x18c/0x190