./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor92792274 <...> Warning: Permanently added '10.128.1.9' (ED25519) to the list of known hosts. execve("./syz-executor92792274", ["./syz-executor92792274"], 0x7fff8ae9abb0 /* 10 vars */) = 0 brk(NULL) = 0x55555f703000 brk(0x55555f703e00) = 0x55555f703e00 arch_prctl(ARCH_SET_FS, 0x55555f703480) = 0 set_tid_address(0x55555f703750) = 5828 set_robust_list(0x55555f703760, 24) = 0 rseq(0x55555f703da0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor92792274", 4096) = 26 getrandom("\x29\x9f\x62\x97\xf0\x57\x31\x8f", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55555f703e00 brk(0x55555f724e00) = 0x55555f724e00 brk(0x55555f725000) = 0x55555f725000 mprotect(0x7f6e3f649000, 16384, PROT_READ) = 0 mmap(0x3ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x3ffffffff000 mmap(0x400000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400000000000 mmap(0x400001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x400001000000 rt_sigaction(SIGRTMIN, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=0}, NULL, 8) = 0 rt_sigaction(SIGSEGV, {sa_handler=0x7f6e3f59e0b0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f6e3f5a6120}, NULL, 8) = 0 rt_sigaction(SIGBUS, {sa_handler=0x7f6e3f59e0b0, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f6e3f5a6120}, NULL, 8) = 0 executing program write(1, "executing program\n", 18) = 18 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f6e37000000 write(3, "\x02\x02\x02\x02\x02\x02\x02\x02\x74\x68\x69\x73\x20\x69\x73\x20\x61\x6e\x20\x6f\x63\x66\x73\x32\x20\x76\x6f\x6c\x75\x6d\x65\x00\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02\x02"..., 16777216) = 16777216 munmap(0x7f6e37000000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 close(4) = 0 mkdir("./file1", 0777) = 0 [ 75.983358][ T5828] loop0: detected capacity change from 0 to 32768 [ 76.046807][ T5828] ======================================================= [ 76.046807][ T5828] WARNING: The mand mount option has been deprecated and [ 76.046807][ T5828] and is ignored by this kernel. Remove the mand [ 76.046807][ T5828] option from the mount to silence this warning. [ 76.046807][ T5828] ======================================================= [ 76.095789][ T5828] JBD2: Ignoring recovery information on journal mount("/dev/loop0", "./file1", "ocfs2", MS_MANDLOCK|MS_DIRSYNC|MS_NODIRATIME, "acl,heartbeat=none,dir_resv_level=00000000000000000003,resv_level=00000000000000000006,coherency=ful"...) = 0 openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 chdir("./file1") = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) mkdir("./file0", 0777) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [ 76.120678][ T5828] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. mkdir("./file2", 0777) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- [ 76.222241][ T5828] overlayfs: upper fs does not support tmpfile. [ 76.230987][ T5828] overlayfs: upper fs does not support RENAME_WHITEOUT. [ 76.238565][ T5828] [ 76.240922][ T5828] ====================================================== [ 76.247924][ T5828] WARNING: possible circular locking dependency detected [ 76.254938][ T5828] 6.14.0-rc5-syzkaller #0 Not tainted [ 76.260293][ T5828] ------------------------------------------------------ [ 76.267297][ T5828] syz-executor927/5828 is trying to acquire lock: [ 76.273726][ T5828] ffff88807a7b2640 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}, at: ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 76.287266][ T5828] [ 76.287266][ T5828] but task is already holding lock: [ 76.294624][ T5828] ffff88807a761538 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x633/0x1930 [ 76.304108][ T5828] [ 76.304108][ T5828] which lock already depends on the new lock. [ 76.304108][ T5828] [ 76.314499][ T5828] [ 76.314499][ T5828] the existing dependency chain (in reverse order) is: [ 76.323503][ T5828] [ 76.323503][ T5828] -> #4 (&oi->ip_xattr_sem){+.+.}-{4:4}: [ 76.331319][ T5828] lock_acquire+0x1ed/0x550 [ 76.336339][ T5828] down_write+0x99/0x220 [ 76.341123][ T5828] ocfs2_xattr_set_handle+0x539/0xa10 [ 76.347007][ T5828] ocfs2_init_security_set+0xbd/0xd0 [ 76.352806][ T5828] ocfs2_mknod+0x1ccf/0x2b30 [ 76.357912][ T5828] ocfs2_mkdir+0x1ab/0x470 [ 76.362841][ T5828] vfs_mkdir+0x2f9/0x4f0 [ 76.367685][ T5828] do_mkdirat+0x264/0x3a0 [ 76.372531][ T5828] __x64_sys_mkdir+0x6c/0x80 [ 76.377650][ T5828] do_syscall_64+0xf3/0x230 [ 76.382666][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.389104][ T5828] [ 76.389104][ T5828] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 76.396413][ T5828] lock_acquire+0x1ed/0x550 [ 76.401430][ T5828] start_this_handle+0x1eb4/0x2110 [ 76.407075][ T5828] jbd2__journal_start+0x2da/0x5d0 [ 76.412705][ T5828] jbd2_journal_start+0x29/0x40 [ 76.418096][ T5828] ocfs2_start_trans+0x3c9/0x700 [ 76.423549][ T5828] ocfs2_reserve_suballoc_bits+0x9f6/0x4e70 [ 76.429966][ T5828] ocfs2_reserve_new_metadata_blocks+0x41c/0x9c0 [ 76.436807][ T5828] ocfs2_mknod+0x143a/0x2b30 [ 76.441938][ T5828] ocfs2_mkdir+0x1ab/0x470 [ 76.446894][ T5828] vfs_mkdir+0x2f9/0x4f0 [ 76.451673][ T5828] do_mkdirat+0x264/0x3a0 [ 76.456538][ T5828] __x64_sys_mkdir+0x6c/0x80 [ 76.461641][ T5828] do_syscall_64+0xf3/0x230 [ 76.466662][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.473128][ T5828] [ 76.473128][ T5828] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 76.481637][ T5828] lock_acquire+0x1ed/0x550 [ 76.486656][ T5828] down_read+0xb1/0xa40 [ 76.491330][ T5828] ocfs2_start_trans+0x3be/0x700 [ 76.496786][ T5828] ocfs2_reserve_suballoc_bits+0x9f6/0x4e70 [ 76.503194][ T5828] ocfs2_reserve_new_metadata_blocks+0x41c/0x9c0 [ 76.510049][ T5828] ocfs2_mknod+0x143a/0x2b30 [ 76.515156][ T5828] ocfs2_mkdir+0x1ab/0x470 [ 76.520092][ T5828] vfs_mkdir+0x2f9/0x4f0 [ 76.524866][ T5828] do_mkdirat+0x264/0x3a0 [ 76.529714][ T5828] __x64_sys_mkdir+0x6c/0x80 [ 76.534826][ T5828] do_syscall_64+0xf3/0x230 [ 76.539846][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.546267][ T5828] [ 76.546267][ T5828] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 76.553748][ T5828] lock_acquire+0x1ed/0x550 [ 76.558769][ T5828] ocfs2_start_trans+0x2b9/0x700 [ 76.564224][ T5828] ocfs2_mknod+0x150c/0x2b30 [ 76.569332][ T5828] ocfs2_mkdir+0x1ab/0x470 [ 76.574289][ T5828] vfs_mkdir+0x2f9/0x4f0 [ 76.579060][ T5828] do_mkdirat+0x264/0x3a0 [ 76.583921][ T5828] __x64_sys_mkdir+0x6c/0x80 [ 76.589031][ T5828] do_syscall_64+0xf3/0x230 [ 76.594056][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.600475][ T5828] [ 76.600475][ T5828] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}: [ 76.611007][ T5828] validate_chain+0x18ef/0x5920 [ 76.616371][ T5828] __lock_acquire+0x1397/0x2100 [ 76.621752][ T5828] lock_acquire+0x1ed/0x550 [ 76.626797][ T5828] down_write+0x99/0x220 [ 76.631558][ T5828] ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 76.638229][ T5828] ocfs2_reserve_clusters_with_limit+0x1b8/0xb60 [ 76.645093][ T5828] ocfs2_init_xattr_set_ctxt+0x433/0x8f0 [ 76.651247][ T5828] ocfs2_xattr_set+0xf4e/0x1930 [ 76.656612][ T5828] __vfs_setxattr+0x468/0x4a0 [ 76.661809][ T5828] __vfs_setxattr_noperm+0x12e/0x660 [ 76.667633][ T5828] vfs_setxattr+0x221/0x430 [ 76.672666][ T5828] ovl_get_workdir+0xda0/0x1930 [ 76.678031][ T5828] ovl_fill_super+0x12b3/0x3640 [ 76.683397][ T5828] get_tree_nodev+0xb7/0x140 [ 76.688514][ T5828] vfs_get_tree+0x90/0x2b0 [ 76.693456][ T5828] do_new_mount+0x2be/0xb40 [ 76.698480][ T5828] __se_sys_mount+0x2d6/0x3c0 [ 76.703668][ T5828] do_syscall_64+0xf3/0x230 [ 76.708690][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.715109][ T5828] [ 76.715109][ T5828] other info that might help us debug this: [ 76.715109][ T5828] [ 76.725328][ T5828] Chain exists of: [ 76.725328][ T5828] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 76.725328][ T5828] [ 76.741064][ T5828] Possible unsafe locking scenario: [ 76.741064][ T5828] [ 76.748504][ T5828] CPU0 CPU1 [ 76.753858][ T5828] ---- ---- [ 76.759213][ T5828] lock(&oi->ip_xattr_sem); [ 76.763800][ T5828] lock(jbd2_handle); [ 76.770385][ T5828] lock(&oi->ip_xattr_sem); [ 76.777490][ T5828] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 76.784769][ T5828] [ 76.784769][ T5828] *** DEADLOCK *** [ 76.784769][ T5828] [ 76.792916][ T5828] 4 locks held by syz-executor927/5828: [ 76.798442][ T5828] #0: ffff888073d0a0e0 (&type->s_umount_key#43/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 [ 76.808545][ T5828] #1: ffff88807b5aa420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 76.817735][ T5828] #2: ffff88807a761800 (&sb->s_type->i_mutex_key#16){++++}-{4:4}, at: vfs_setxattr+0x1e1/0x430 [ 76.828187][ T5828] #3: ffff88807a761538 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x633/0x1930 [ 76.838107][ T5828] [ 76.838107][ T5828] stack backtrace: [ 76.843995][ T5828] CPU: 0 UID: 0 PID: 5828 Comm: syz-executor927 Not tainted 6.14.0-rc5-syzkaller #0 [ 76.844010][ T5828] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 76.844022][ T5828] Call Trace: [ 76.844029][ T5828] [ 76.844035][ T5828] dump_stack_lvl+0x241/0x360 [ 76.844052][ T5828] ? __pfx_dump_stack_lvl+0x10/0x10 [ 76.844065][ T5828] ? __pfx__printk+0x10/0x10 [ 76.844089][ T5828] print_circular_bug+0x13a/0x1b0 [ 76.844105][ T5828] check_noncircular+0x36a/0x4a0 [ 76.844121][ T5828] ? __pfx_check_noncircular+0x10/0x10 [ 76.844136][ T5828] ? lockdep_lock+0x123/0x2b0 [ 76.844158][ T5828] validate_chain+0x18ef/0x5920 [ 76.844171][ T5828] ? __pfx_validate_chain+0x10/0x10 [ 76.844191][ T5828] ? __pfx_validate_chain+0x10/0x10 [ 76.844208][ T5828] ? mark_lock+0x9a/0x360 [ 76.844232][ T5828] ? ocfs2_get_system_file_inode+0x1e3/0x840 [ 76.844254][ T5828] ? __pfx_lock_release+0x10/0x10 [ 76.844275][ T5828] ? mark_lock+0x9a/0x360 [ 76.844296][ T5828] __lock_acquire+0x1397/0x2100 [ 76.844320][ T5828] lock_acquire+0x1ed/0x550 [ 76.844338][ T5828] ? ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 76.844362][ T5828] ? __pfx_lock_acquire+0x10/0x10 [ 76.844382][ T5828] ? __pfx___might_resched+0x10/0x10 [ 76.844400][ T5828] ? __pfx_ocfs2_get_system_file_inode+0x10/0x10 [ 76.844421][ T5828] ? __pfx_validate_chain+0x10/0x10 [ 76.844435][ T5828] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 76.844455][ T5828] down_write+0x99/0x220 [ 76.844475][ T5828] ? ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 76.844496][ T5828] ? __pfx_down_write+0x10/0x10 [ 76.844519][ T5828] ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 76.844545][ T5828] ? mark_lock+0x9a/0x360 [ 76.844566][ T5828] ? __lock_acquire+0x1397/0x2100 [ 76.844586][ T5828] ? __pfx_ocfs2_reserve_local_alloc_bits+0x10/0x10 [ 76.844614][ T5828] ? __pfx_lock_acquire+0x10/0x10 [ 76.844632][ T5828] ? ocfs2_alloc_should_use_local+0x155/0x320 [ 76.844652][ T5828] ? __pfx_lock_release+0x10/0x10 [ 76.844670][ T5828] ? do_raw_spin_lock+0x14f/0x370 [ 76.844689][ T5828] ? do_raw_spin_unlock+0x13c/0x8b0 [ 76.844710][ T5828] ? _raw_spin_unlock+0x28/0x50 [ 76.844726][ T5828] ? ocfs2_alloc_should_use_local+0x155/0x320 [ 76.844747][ T5828] ocfs2_reserve_clusters_with_limit+0x1b8/0xb60 [ 76.844765][ T5828] ? __pfx_ocfs2_reserve_clusters_with_limit+0x10/0x10 [ 76.844783][ T5828] ? __pfx_ocfs2_calc_xattr_set_need+0x10/0x10 [ 76.844806][ T5828] ? ocfs2_xattr_set+0xf00/0x1930 [ 76.844825][ T5828] ocfs2_init_xattr_set_ctxt+0x433/0x8f0 [ 76.844844][ T5828] ? __pfx_ocfs2_init_xattr_set_ctxt+0x10/0x10 [ 76.844862][ T5828] ? up_write+0x1a9/0x590 [ 76.844876][ T5828] ? __pfx_ocfs2_truncate_log_needs_flush+0x10/0x10 [ 76.844894][ T5828] ? __pfx_up_write+0x10/0x10 [ 76.844908][ T5828] ? __kmalloc_cache_noprof+0x243/0x390 [ 76.844922][ T5828] ? ocfs2_xattr_set+0x4d5/0x1930 [ 76.844939][ T5828] ocfs2_xattr_set+0xf4e/0x1930 [ 76.844961][ T5828] ? __pfx_ocfs2_xattr_set+0x10/0x10 [ 76.844978][ T5828] ? _prb_read_valid+0xa4c/0xad0 [ 76.845010][ T5828] ? mark_lock+0x9a/0x360 [ 76.845035][ T5828] ? smk_tskacc+0x300/0x370 [ 76.845053][ T5828] ? posix_xattr_acl+0xa9/0xd0 [ 76.845066][ T5828] ? evm_protect_xattr+0x4be/0xb40 [ 76.845089][ T5828] ? __pfx_ocfs2_xattr_trusted_set+0x10/0x10 [ 76.845106][ T5828] __vfs_setxattr+0x468/0x4a0 [ 76.845130][ T5828] __vfs_setxattr_noperm+0x12e/0x660 [ 76.845152][ T5828] vfs_setxattr+0x221/0x430 [ 76.845174][ T5828] ? __pfx_vfs_setxattr+0x10/0x10 [ 76.845194][ T5828] ? _raw_spin_unlock+0x28/0x50 [ 76.845209][ T5828] ? dput+0x37/0x2b0 [ 76.845221][ T5828] ovl_get_workdir+0xda0/0x1930 [ 76.845242][ T5828] ? __pfx_ovl_get_workdir+0x10/0x10 [ 76.845261][ T5828] ? ovl_inuse_trylock+0xab/0xf0 [ 76.845277][ T5828] ? do_raw_spin_lock+0x14f/0x370 [ 76.845296][ T5828] ? _raw_spin_unlock+0x28/0x50 [ 76.845310][ T5828] ? ovl_inuse_trylock+0xab/0xf0 [ 76.845326][ T5828] ovl_fill_super+0x12b3/0x3640 [ 76.845352][ T5828] ? __pfx_ovl_fill_super+0x10/0x10 [ 76.845368][ T5828] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 76.845387][ T5828] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 76.845412][ T5828] ? sget_fc+0x960/0xa50 [ 76.845427][ T5828] ? __pfx_set_anon_super_fc+0x10/0x10 [ 76.845443][ T5828] ? __pfx_ovl_fill_super+0x10/0x10 [ 76.845460][ T5828] get_tree_nodev+0xb7/0x140 [ 76.845477][ T5828] vfs_get_tree+0x90/0x2b0 [ 76.845495][ T5828] do_new_mount+0x2be/0xb40 [ 76.845517][ T5828] ? __pfx_do_new_mount+0x10/0x10 [ 76.845539][ T5828] __se_sys_mount+0x2d6/0x3c0 [ 76.845553][ T5828] ? __pfx___se_sys_mount+0x10/0x10 [ 76.845566][ T5828] ? exc_page_fault+0x590/0x8b0 [ 76.845583][ T5828] ? __x64_sys_mount+0x20/0xc0 [ 76.845596][ T5828] do_syscall_64+0xf3/0x230 [ 76.845614][ T5828] ? clear_bhb_loop+0x35/0x90 [ 76.845633][ T5828] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 76.845655][ T5828] RIP: 0033:0x7f6e3f5d2139 [ 76.845669][ T5828] 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 [ 76.845680][ T5828] RSP: 002b:00007fff0f379ad8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 76.845693][ T5828] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6e3f5d2139 [ 76.845703][ T5828] RDX: 0000400000000000 RSI: 0000400000000100 RDI: 0000000000000000 [ 76.845716][ T5828] RBP: 00007fff0f379ae8 R08: 0000400000000240 R09: 00007f6e3f59e0b0 [ 76.845725][ T5828] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 mount(NULL, "./file2", "overlay", 0, "workdir=./file0,lowerdir=.,upperdir=./file2,,") = -1 EINVAL (Invalid argument) exit_group(0) = ? +++ exited with 0 +++ [ 76.845732][ T5828] R13: 00007fff0f379d48 R14: 0000000000000001 R15: