Warning: Permanently added '10.128.0.234' (ED25519) to the list of known hosts. executing program [ 47.884500][ T3500] loop0: detected capacity change from 0 to 4096 [ 47.892523][ T3500] ======================================================= [ 47.892523][ T3500] WARNING: The mand mount option has been deprecated and [ 47.892523][ T3500] and is ignored by this kernel. Remove the mand [ 47.892523][ T3500] option from the mount to silence this warning. [ 47.892523][ T3500] ======================================================= [ 47.930068][ T3500] ntfs3: loop0: Different NTFS' sector size (4096) and media sector size (512) [ 47.952496][ T3500] ntfs3: loop0: Mark volume as dirty due to NTFS errors [ 47.974217][ T3500] [ 47.976575][ T3500] ============================================ [ 47.982812][ T3500] WARNING: possible recursive locking detected [ 47.989044][ T3500] 5.15.145-syzkaller #0 Not tainted [ 47.994430][ T3500] -------------------------------------------- [ 48.000638][ T3500] syz-executor222/3500 is trying to acquire lock: [ 48.007123][ T3500] ffff8880763e1e80 (&ni->ni_lock/4){+.+.}-{3:3}, at: mi_read+0x2dd/0x5a0 [ 48.015675][ T3500] [ 48.015675][ T3500] but task is already holding lock: [ 48.023638][ T3500] ffff8880763e6840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf5/0x1f0 [ 48.032425][ T3500] [ 48.032425][ T3500] other info that might help us debug this: [ 48.040473][ T3500] Possible unsafe locking scenario: [ 48.040473][ T3500] [ 48.047922][ T3500] CPU0 [ 48.051200][ T3500] ---- [ 48.054471][ T3500] lock(&ni->ni_lock/4); [ 48.058865][ T3500] lock(&ni->ni_lock/4); [ 48.063184][ T3500] [ 48.063184][ T3500] *** DEADLOCK *** [ 48.063184][ T3500] [ 48.071314][ T3500] May be due to missing lock nesting notation [ 48.071314][ T3500] [ 48.079707][ T3500] 2 locks held by syz-executor222/3500: [ 48.085275][ T3500] #0: ffff8880763e6ae0 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 [ 48.096049][ T3500] #1: ffff8880763e6840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf5/0x1f0 [ 48.105260][ T3500] [ 48.105260][ T3500] stack backtrace: [ 48.111174][ T3500] CPU: 0 PID: 3500 Comm: syz-executor222 Not tainted 5.15.145-syzkaller #0 [ 48.119740][ T3500] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 48.129796][ T3500] Call Trace: [ 48.133674][ T3500] [ 48.136586][ T3500] dump_stack_lvl+0x1e3/0x2cb [ 48.141248][ T3500] ? io_uring_drop_tctx_refs+0x19d/0x19d [ 48.146868][ T3500] ? panic+0x84d/0x84d [ 48.150945][ T3500] validate_chain+0x46d2/0x5930 [ 48.156314][ T3500] ? lockdep_lock+0x2a0/0x2a0 [ 48.160981][ T3500] ? reacquire_held_locks+0x660/0x660 [ 48.166350][ T3500] ? validate_chain+0x13bd/0x5930 [ 48.171352][ T3500] ? look_up_lock_class+0x77/0x120 [ 48.176482][ T3500] ? register_lock_class+0x100/0x9a0 [ 48.181752][ T3500] ? is_dynamic_key+0x1f0/0x1f0 [ 48.186579][ T3500] ? mark_lock+0x98/0x340 [ 48.190893][ T3500] __lock_acquire+0x1295/0x1ff0 [ 48.195806][ T3500] lock_acquire+0x1db/0x4f0 [ 48.200380][ T3500] ? mi_read+0x2dd/0x5a0 [ 48.204609][ T3500] ? read_lock_is_recursive+0x10/0x10 [ 48.209975][ T3500] ? __might_sleep+0xc0/0xc0 [ 48.214637][ T3500] ? ntfs_read_run_nb+0x356/0xe60 [ 48.219643][ T3500] __mutex_lock_common+0x1da/0x25a0 [ 48.224835][ T3500] ? mi_read+0x2dd/0x5a0 [ 48.229069][ T3500] ? mi_read+0x2dd/0x5a0 [ 48.233301][ T3500] ? mi_read+0x1ba/0x5a0 [ 48.237530][ T3500] ? mutex_lock_io_nested+0x60/0x60 [ 48.242709][ T3500] ? up_read+0x20/0x20 [ 48.246839][ T3500] mutex_lock_nested+0x17/0x20 [ 48.251579][ T3500] mi_read+0x2dd/0x5a0 [ 48.255622][ T3500] ntfs_iget5+0x483/0x3900 [ 48.260012][ T3500] ? indx_find+0x8a0/0xb60 [ 48.264423][ T3500] ? check_index_root+0x680/0x680 [ 48.269431][ T3500] ? dir_search_u+0x166/0x390 [ 48.274187][ T3500] dir_search_u+0x2f6/0x390 [ 48.278667][ T3500] ? ntfs_nls_to_utf16+0xc50/0xc50 [ 48.283755][ T3500] ? ntfs_utf16_to_nls+0x730/0x730 [ 48.288839][ T3500] ? rcu_is_watching+0x11/0xa0 [ 48.293576][ T3500] ? kmem_cache_alloc+0x128/0x280 [ 48.298575][ T3500] ntfs_lookup+0x102/0x1f0 [ 48.302967][ T3500] __lookup_slow+0x275/0x3d0 [ 48.307534][ T3500] ? lookup_one_len+0x2d0/0x2d0 [ 48.312357][ T3500] ? down_read+0x1b3/0x2e0 [ 48.316747][ T3500] lookup_slow+0x53/0x70 [ 48.320962][ T3500] walk_component+0x48c/0x610 [ 48.325610][ T3500] ? nd_alloc_stack+0xf0/0xf0 [ 48.330259][ T3500] ? handle_lookup_down+0x130/0x130 [ 48.335429][ T3500] path_lookupat+0x16f/0x450 [ 48.339992][ T3500] filename_lookup+0x230/0x5c0 [ 48.344730][ T3500] ? hashlen_string+0x110/0x110 [ 48.349556][ T3500] ? getname_flags+0x1ec/0x4e0 [ 48.354440][ T3500] user_path_at_empty+0x40/0x180 [ 48.359369][ T3500] path_getxattr+0xac/0x240 [ 48.363854][ T3500] ? print_irqtrace_events+0x210/0x210 [ 48.369297][ T3500] ? setxattr+0x2e0/0x2e0 [ 48.373602][ T3500] ? syscall_enter_from_user_mode+0x2e/0x230 [ 48.379559][ T3500] ? lockdep_hardirqs_on+0x94/0x130 [ 48.384730][ T3500] ? syscall_enter_from_user_mode+0x2e/0x230 [ 48.390683][ T3500] do_syscall_64+0x3d/0xb0 [ 48.395080][ T3500] entry_SYSCALL_64_after_hwframe+0x61/0xcb [ 48.400950][ T3500] RIP: 0033:0x7f1fb203e639 [ 48.405343][ T3500] 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 [ 48.425341][ T3500] RSP: 002b:00007fff06a8fa88 EFLAGS: 00000246 ORIG_RAX: 00000000000000bf [ 48.434034][ T3500] RAX: fffffff