./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4248205257 <...> Warning: Permanently added '10.128.1.70' (ED25519) to the list of known hosts. execve("./syz-executor4248205257", ["./syz-executor4248205257"], 0x7ffe1b339910 /* 10 vars */) = 0 brk(NULL) = 0x5555678b7000 brk(0x5555678b7d00) = 0x5555678b7d00 arch_prctl(ARCH_SET_FS, 0x5555678b7380) = 0 set_tid_address(0x5555678b7650) = 5087 set_robust_list(0x5555678b7660, 24) = 0 rseq(0x5555678b7ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor4248205257", 4096) = 28 getrandom("\xd5\x70\xd9\x61\x5b\x5c\x4b\xd2", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555678b7d00 brk(0x5555678d8d00) = 0x5555678d8d00 brk(0x5555678d9000) = 0x5555678d9000 mprotect(0x7fd6327e2000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd62a200000 write(3, "\xeb\x52\x90\x4e\x54\x46\x53\x20\x20\x20\x20\x00\x10\x01\x00\x00\x00\x00\x00\x00\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x80\x00\xff\x01\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x01\x00\x00\x00\x78\x5f\xaa\x3b\xd7\x0e\xce\x68\x00\x00\x00\x00\x0e\x1f\xbe\x71\x7c\xac\x22\xc0\x74\x0b\x56\xb4\x0e\xbb\x07\x00"..., 2097152) = 2097152 munmap(0x7fd62a200000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file0", 0777) = 0 [ 76.270734][ T5087] loop0: detected capacity change from 0 to 4096 [ 76.294741][ T5087] ======================================================= [ 76.294741][ T5087] WARNING: The mand mount option has been deprecated and [ 76.294741][ T5087] and is ignored by this kernel. Remove the mand mount("/dev/loop0", "./file0", "ntfs3", MS_NOSUID|MS_NODEV|MS_NOEXEC|MS_SYNCHRONOUS|MS_MANDLOCK|MS_NODIRATIME|MS_POSIXACL|MS_RELATIME|MS_STRICTATIME|MS_LAZYTIME, "") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) truncate("./file0", 3) = 0 [ 76.294741][ T5087] option from the mount to silence this warning. [ 76.294741][ T5087] ======================================================= [ 76.331825][ T5087] ntfs3: loop0: Different NTFS sector size (4096) and media sector size (512). [ 76.360337][ T5087] ntfs3: loop0: Mark volume as dirty due to NTFS errors [ 76.381998][ T5087] [ 76.384349][ T5087] ============================================ [ 76.390505][ T5087] WARNING: possible recursive locking detected [ 76.396637][ T5087] 6.9.0-rc5-syzkaller-00329-g5d12ed4bea43 #0 Not tainted [ 76.403641][ T5087] -------------------------------------------- [ 76.409770][ T5087] syz-executor424/5087 is trying to acquire lock: [ 76.416159][ T5087] ffff888079ef1e80 (&ni->ni_lock/4){+.+.}-{3:3}, at: mi_read+0x2e1/0x5a0 [ 76.424626][ T5087] [ 76.424626][ T5087] but task is already holding lock: [ 76.431970][ T5087] ffff888079ef6840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf9/0x1f0 [ 76.440677][ T5087] [ 76.440677][ T5087] other info that might help us debug this: [ 76.448716][ T5087] Possible unsafe locking scenario: [ 76.448716][ T5087] [ 76.456150][ T5087] CPU0 [ 76.459415][ T5087] ---- [ 76.462679][ T5087] lock(&ni->ni_lock/4); [ 76.467007][ T5087] lock(&ni->ni_lock/4); [ 76.471335][ T5087] [ 76.471335][ T5087] *** DEADLOCK *** [ 76.471335][ T5087] [ 76.479484][ T5087] May be due to missing lock nesting notation [ 76.479484][ T5087] [ 76.487782][ T5087] 2 locks held by syz-executor424/5087: [ 76.493306][ T5087] #0: ffff888079ef6ae0 (&type->i_mutex_dir_key#6){.+.+}-{3:3}, at: lookup_slow+0x45/0x70 [ 76.503250][ T5087] #1: ffff888079ef6840 (&ni->ni_lock/4){+.+.}-{3:3}, at: ntfs_lookup+0xf9/0x1f0 [ 76.512485][ T5087] [ 76.512485][ T5087] stack backtrace: [ 76.518385][ T5087] CPU: 0 PID: 5087 Comm: syz-executor424 Not tainted 6.9.0-rc5-syzkaller-00329-g5d12ed4bea43 #0 [ 76.528781][ T5087] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 76.538839][ T5087] Call Trace: [ 76.542104][ T5087] [ 76.545022][ T5087] dump_stack_lvl+0x241/0x360 [ 76.549716][ T5087] ? __pfx_dump_stack_lvl+0x10/0x10 [ 76.554933][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.560564][ T5087] ? print_deadlock_bug+0x479/0x620 [ 76.565755][ T5087] ? _find_first_zero_bit+0xd4/0x100 [ 76.571045][ T5087] validate_chain+0x15c1/0x58e0 [ 76.575930][ T5087] ? __pfx_validate_chain+0x10/0x10 [ 76.581156][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.586812][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.592436][ T5087] ? look_up_lock_class+0x77/0x160 [ 76.597553][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.603182][ T5087] ? register_lock_class+0x102/0x980 [ 76.608459][ T5087] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 76.614425][ T5087] ? __pfx_register_lock_class+0x10/0x10 [ 76.620043][ T5087] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 76.626358][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.631986][ T5087] ? mark_lock+0x9a/0x350 [ 76.636308][ T5087] __lock_acquire+0x1346/0x1fd0 [ 76.641182][ T5087] lock_acquire+0x1ed/0x550 [ 76.645697][ T5087] ? mi_read+0x2e1/0x5a0 [ 76.650062][ T5087] ? __pfx_lock_acquire+0x10/0x10 [ 76.655077][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.660703][ T5087] ? __pfx___might_resched+0x10/0x10 [ 76.665984][ T5087] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.672051][ T5087] __mutex_lock+0x136/0xd70 [ 76.676550][ T5087] ? mi_read+0x2e1/0x5a0 [ 76.680811][ T5087] ? mi_read+0x1be/0x5a0 [ 76.685041][ T5087] ? mi_read+0x2e1/0x5a0 [ 76.689271][ T5087] ? __pfx___mutex_lock+0x10/0x10 [ 76.694280][ T5087] ? __up_read+0x2c2/0x6b0 [ 76.698689][ T5087] ? __pfx___up_read+0x10/0x10 [ 76.703443][ T5087] ? mi_init+0x78/0xe0 [ 76.707499][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.713121][ T5087] ? rcu_is_watching+0x15/0xb0 [ 76.717872][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.723500][ T5087] mi_read+0x2e1/0x5a0 [ 76.727560][ T5087] ntfs_iget5+0x493/0x3a80 [ 76.731985][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.737630][ T5087] ? indx_find+0x90f/0xbf0 [ 76.742043][ T5087] ? __pfx_ntfs_iget5+0x10/0x10 [ 76.746886][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.752507][ T5087] ? kmalloc_trace+0x1db/0x360 [ 76.757260][ T5087] ? dir_search_u+0x16a/0x3a0 [ 76.761928][ T5087] dir_search_u+0x2fe/0x3a0 [ 76.766422][ T5087] ? __pfx_dir_search_u+0x10/0x10 [ 76.771436][ T5087] ? __pfx_ntfs_nls_to_utf16+0x10/0x10 [ 76.776882][ T5087] ? rcu_is_watching+0x15/0xb0 [ 76.781634][ T5087] ? ntfs_lookup+0x51/0x1f0 [ 76.786120][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.791741][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.797362][ T5087] ? ntfs_lookup+0x51/0x1f0 [ 76.801855][ T5087] ntfs_lookup+0x106/0x1f0 [ 76.806279][ T5087] __lookup_slow+0x28e/0x3f0 [ 76.810881][ T5087] ? __pfx___lookup_slow+0x10/0x10 [ 76.816005][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.821629][ T5087] ? try_to_unlazy+0x35c/0x5b0 [ 76.826406][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.832030][ T5087] lookup_slow+0x53/0x70 [ 76.836267][ T5087] walk_component+0x2e1/0x410 [ 76.840933][ T5087] path_lookupat+0x16f/0x450 [ 76.845519][ T5087] filename_lookup+0x256/0x610 [ 76.850274][ T5087] ? __pfx_filename_lookup+0x10/0x10 [ 76.855561][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.861183][ T5087] ? strncpy_from_user+0x1a4/0x2f0 [ 76.866289][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.871910][ T5087] ? getname_flags+0x1fe/0x4f0 [ 76.876665][ T5087] user_path_at_empty+0x42/0x60 [ 76.881510][ T5087] path_getxattr+0xde/0x420 [ 76.886024][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.891650][ T5087] ? __pfx_path_getxattr+0x10/0x10 [ 76.896746][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.902368][ T5087] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 76.908358][ T5087] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 76.914681][ T5087] ? _raw_spin_unlock_irq+0x23/0x50 [ 76.919870][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.925494][ T5087] ? lockdep_hardirqs_on+0x99/0x150 [ 76.930701][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.936324][ T5087] ? _raw_spin_unlock_irq+0x2e/0x50 [ 76.941515][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.947138][ T5087] ? ptrace_notify+0x279/0x380 [ 76.951887][ T5087] ? __pfx_ptrace_notify+0x10/0x10 [ 76.956988][ T5087] ? do_syscall_64+0x102/0x240 [ 76.961745][ T5087] ? srso_alias_return_thunk+0x5/0xfbef5 [ 76.967369][ T5087] do_syscall_64+0xf5/0x240 [ 76.971873][ T5087] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.977754][ T5087] RIP: 0033:0x7fd632750639 [ 76.982154][ T5087] 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 [ 77.001752][ T5087] RSP: 002b:00007fffed0a6648 EFLAGS: 00000246 ORIG_RAX: 00000000000000bf [ 77.010155][ T5087] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fd632750639 [ 77.018111][ T5087] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000002001f740 [ 77.026064][ T5087] RBP: 00007fd6327e2610 R08: 0000000000000000 R09: 0000000000000000 getxattr("./file1", NULL, NULL, 0) = -1 EINVAL (Invalid argument) exit_group(0) = ? +++ exited with 0 +++ [ 77.034019