./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3004662890 <...> Warning: Permanently added '10.128.0.85' (ED25519) to the list of known hosts. execve("./syz-executor3004662890", ["./syz-executor3004662890"], 0x7ffc859d7740 /* 10 vars */) = 0 brk(NULL) = 0x5555818b2000 brk(0x5555818b2d00) = 0x5555818b2d00 arch_prctl(ARCH_SET_FS, 0x5555818b2380) = 0 set_tid_address(0x5555818b2650) = 5823 set_robust_list(0x5555818b2660, 24) = 0 rseq(0x5555818b2ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3004662890", 4096) = 28 getrandom("\xa3\x7e\xa1\xc6\x86\x08\xc9\xa2", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555818b2d00 brk(0x5555818d3d00) = 0x5555818d3d00 brk(0x5555818d4000) = 0x5555818d4000 mprotect(0x7faa44830000, 16384, PROT_READ) = 0 mmap(0x1ffffffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffffffff000 mmap(0x200000000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200000000000 mmap(0x200001000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x200001000000 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) = 0x7faa3c200000 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(0x7faa3c200000, 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 [ 87.714433][ T5823] loop0: detected capacity change from 0 to 32768 [ 87.750218][ T5823] ======================================================= [ 87.750218][ T5823] WARNING: The mand mount option has been deprecated and [ 87.750218][ T5823] and is ignored by this kernel. Remove the mand [ 87.750218][ T5823] option from the mount to silence this warning. [ 87.750218][ T5823] ======================================================= 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) mkdirat(AT_FDCWD, "./file0", 020) = 0 [ 87.820682][ T5823] JBD2: Ignoring recovery information on journal [ 87.856313][ T5823] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. mkdir("./bus", 000) = 0 mkdir("./file1", 000) = 0 [ 87.909471][ T5823] overlayfs: upper fs does not support tmpfile. [ 87.918547][ T5823] overlayfs: upper fs does not support RENAME_WHITEOUT. [ 87.925938][ T5823] [ 87.928282][ T5823] ====================================================== [ 87.935318][ T5823] WARNING: possible circular locking dependency detected [ 87.942340][ T5823] 6.15.0-rc5-syzkaller-00275-gbec6f00f120e #0 Not tainted [ 87.949447][ T5823] ------------------------------------------------------ [ 87.956456][ T5823] syz-executor300/5823 is trying to acquire lock: [ 87.962953][ T5823] ffff8880748eed80 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}, at: ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 87.976486][ T5823] [ 87.976486][ T5823] but task is already holding lock: [ 87.983870][ T5823] ffff8880749c5c78 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x40f/0x11f0 [ 87.993362][ T5823] [ 87.993362][ T5823] which lock already depends on the new lock. [ 87.993362][ T5823] [ 88.003780][ T5823] [ 88.003780][ T5823] the existing dependency chain (in reverse order) is: [ 88.012790][ T5823] [ 88.012790][ T5823] -> #4 (&oi->ip_xattr_sem){+.+.}-{4:4}: [ 88.020621][ T5823] lock_acquire+0x120/0x360 [ 88.025656][ T5823] down_write+0x96/0x1f0 [ 88.030448][ T5823] ocfs2_xattr_set_handle+0x3b0/0x7a0 [ 88.036360][ T5823] ocfs2_init_security_set+0xbd/0xe0 [ 88.042190][ T5823] ocfs2_mknod+0x137f/0x2050 [ 88.047314][ T5823] ocfs2_mkdir+0x191/0x440 [ 88.052256][ T5823] vfs_mkdir+0x303/0x510 [ 88.057029][ T5823] do_mkdirat+0x247/0x590 [ 88.061883][ T5823] __x64_sys_mkdirat+0x87/0xa0 [ 88.067174][ T5823] do_syscall_64+0xf6/0x210 [ 88.072296][ T5823] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.078828][ T5823] [ 88.078828][ T5823] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 88.086139][ T5823] lock_acquire+0x120/0x360 [ 88.091174][ T5823] start_this_handle+0x1fa7/0x21c0 [ 88.096814][ T5823] jbd2__journal_start+0x2c1/0x5b0 [ 88.102450][ T5823] jbd2_journal_start+0x2a/0x40 [ 88.107822][ T5823] ocfs2_start_trans+0x376/0x6d0 [ 88.113283][ T5823] ocfs2_reserve_suballoc_bits+0x711/0x45f0 [ 88.119734][ T5823] ocfs2_reserve_new_metadata_blocks+0x403/0x940 [ 88.126686][ T5823] ocfs2_mknod+0xe08/0x2050 [ 88.131719][ T5823] ocfs2_mkdir+0x191/0x440 [ 88.136666][ T5823] vfs_mkdir+0x303/0x510 [ 88.141435][ T5823] do_mkdirat+0x247/0x590 [ 88.146289][ T5823] __x64_sys_mkdirat+0x87/0xa0 [ 88.151593][ T5823] do_syscall_64+0xf6/0x210 [ 88.156621][ T5823] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.163039][ T5823] [ 88.163039][ T5823] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 88.171559][ T5823] lock_acquire+0x120/0x360 [ 88.176586][ T5823] down_read+0x46/0x2e0 [ 88.181275][ T5823] ocfs2_start_trans+0x36a/0x6d0 [ 88.186732][ T5823] ocfs2_reserve_suballoc_bits+0x711/0x45f0 [ 88.193155][ T5823] ocfs2_reserve_new_metadata_blocks+0x403/0x940 [ 88.200018][ T5823] ocfs2_mknod+0xe08/0x2050 [ 88.205048][ T5823] ocfs2_mkdir+0x191/0x440 [ 88.209993][ T5823] vfs_mkdir+0x303/0x510 [ 88.214763][ T5823] do_mkdirat+0x247/0x590 [ 88.219703][ T5823] __x64_sys_mkdirat+0x87/0xa0 [ 88.224992][ T5823] do_syscall_64+0xf6/0x210 [ 88.230019][ T5823] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.236432][ T5823] [ 88.236432][ T5823] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 88.243923][ T5823] lock_acquire+0x120/0x360 [ 88.249045][ T5823] ocfs2_start_trans+0x26b/0x6d0 [ 88.254530][ T5823] ocfs2_mknod+0xe93/0x2050 [ 88.259565][ T5823] ocfs2_mkdir+0x191/0x440 [ 88.264540][ T5823] vfs_mkdir+0x303/0x510 [ 88.269310][ T5823] do_mkdirat+0x247/0x590 [ 88.274164][ T5823] __x64_sys_mkdirat+0x87/0xa0 [ 88.279460][ T5823] do_syscall_64+0xf6/0x210 [ 88.284516][ T5823] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.290944][ T5823] [ 88.290944][ T5823] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}: [ 88.301481][ T5823] validate_chain+0xb9b/0x2140 [ 88.306775][ T5823] __lock_acquire+0xaac/0xd20 [ 88.311980][ T5823] lock_acquire+0x120/0x360 [ 88.317013][ T5823] down_write+0x96/0x1f0 [ 88.321782][ T5823] ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 88.328467][ T5823] ocfs2_reserve_clusters_with_limit+0x1be/0xba0 [ 88.335327][ T5823] ocfs2_init_xattr_set_ctxt+0x376/0x700 [ 88.341507][ T5823] ocfs2_xattr_set+0xb70/0x11f0 [ 88.346883][ T5823] __vfs_setxattr+0x439/0x480 [ 88.352182][ T5823] __vfs_setxattr_noperm+0x12d/0x660 [ 88.358015][ T5823] vfs_setxattr+0x16b/0x2f0 [ 88.363180][ T5823] ovl_get_workdir+0xb86/0x1700 [ 88.368568][ T5823] ovl_fill_super+0x1386/0x35d0 [ 88.373949][ T5823] get_tree_nodev+0xb8/0x150 [ 88.379066][ T5823] vfs_get_tree+0x8f/0x2b0 [ 88.384012][ T5823] do_new_mount+0x24a/0xa40 [ 88.389132][ T5823] __se_sys_mount+0x317/0x410 [ 88.394437][ T5823] do_syscall_64+0xf6/0x210 [ 88.399472][ T5823] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.405888][ T5823] [ 88.405888][ T5823] other info that might help us debug this: [ 88.405888][ T5823] [ 88.416118][ T5823] Chain exists of: [ 88.416118][ T5823] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 88.416118][ T5823] [ 88.432134][ T5823] Possible unsafe locking scenario: [ 88.432134][ T5823] [ 88.439765][ T5823] CPU0 CPU1 [ 88.445127][ T5823] ---- ---- [ 88.450576][ T5823] lock(&oi->ip_xattr_sem); [ 88.455351][ T5823] lock(jbd2_handle); [ 88.461944][ T5823] lock(&oi->ip_xattr_sem); [ 88.469064][ T5823] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 88.476372][ T5823] [ 88.476372][ T5823] *** DEADLOCK *** [ 88.476372][ T5823] [ 88.484513][ T5823] 4 locks held by syz-executor300/5823: [ 88.490057][ T5823] #0: ffff88807c9960e0 (&type->s_umount_key#43/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970 [ 88.500358][ T5823] #1: ffff888032aca420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 [ 88.509521][ T5823] #2: ffff8880749c5f40 (&sb->s_type->i_mutex_key#16){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 [ 88.519984][ T5823] #3: ffff8880749c5c78 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x40f/0x11f0 [ 88.529914][ T5823] [ 88.529914][ T5823] stack backtrace: [ 88.535821][ T5823] CPU: 1 UID: 0 PID: 5823 Comm: syz-executor300 Not tainted 6.15.0-rc5-syzkaller-00275-gbec6f00f120e #0 PREEMPT(full) [ 88.535846][ T5823] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 88.535866][ T5823] Call Trace: [ 88.535874][ T5823] [ 88.535884][ T5823] dump_stack_lvl+0x189/0x250 [ 88.535914][ T5823] ? __pfx_dump_stack_lvl+0x10/0x10 [ 88.535935][ T5823] ? __pfx__printk+0x10/0x10 [ 88.535959][ T5823] ? print_lock_name+0xde/0x100 [ 88.535983][ T5823] print_circular_bug+0x2ee/0x310 [ 88.536009][ T5823] check_noncircular+0x134/0x160 [ 88.536035][ T5823] validate_chain+0xb9b/0x2140 [ 88.536059][ T5823] ? __mutex_unlock_slowpath+0x1cd/0x700 [ 88.536080][ T5823] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 88.536102][ T5823] __lock_acquire+0xaac/0xd20 [ 88.536123][ T5823] ? ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 88.536144][ T5823] lock_acquire+0x120/0x360 [ 88.536162][ T5823] ? ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 88.536190][ T5823] ? is_bpf_text_address+0x292/0x2b0 [ 88.536210][ T5823] ? is_bpf_text_address+0x26/0x2b0 [ 88.536231][ T5823] down_write+0x96/0x1f0 [ 88.536250][ T5823] ? ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 88.536271][ T5823] ? __pfx_down_write+0x10/0x10 [ 88.536289][ T5823] ? arch_stack_walk+0xfc/0x150 [ 88.536310][ T5823] ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 88.536332][ T5823] ? stack_trace_save+0x9c/0xe0 [ 88.536346][ T5823] ? __pfx_stack_trace_save+0x10/0x10 [ 88.536361][ T5823] ? check_path+0x21/0x40 [ 88.536382][ T5823] ? check_noncircular+0xe0/0x160 [ 88.536407][ T5823] ? lockdep_unlock+0x89/0x120 [ 88.536424][ T5823] ? validate_chain+0x897/0x2140 [ 88.536448][ T5823] ? __pfx_ocfs2_reserve_local_alloc_bits+0x10/0x10 [ 88.536468][ T5823] ? do_new_mount+0x24a/0xa40 [ 88.536498][ T5823] ? __lock_acquire+0xaac/0xd20 [ 88.536523][ T5823] ? do_raw_spin_unlock+0x122/0x240 [ 88.536540][ T5823] ? _raw_spin_unlock+0x28/0x50 [ 88.536553][ T5823] ? ocfs2_alloc_should_use_local+0x152/0x310 [ 88.536572][ T5823] ? ocfs2_reserve_clusters_with_limit+0x16b/0xba0 [ 88.536598][ T5823] ocfs2_reserve_clusters_with_limit+0x1be/0xba0 [ 88.536626][ T5823] ? __pfx_ocfs2_reserve_clusters_with_limit+0x10/0x10 [ 88.536654][ T5823] ? __pfx_ocfs2_calc_xattr_set_need+0x10/0x10 [ 88.536676][ T5823] ? __lock_acquire+0xaac/0xd20 [ 88.536698][ T5823] ocfs2_init_xattr_set_ctxt+0x376/0x700 [ 88.536717][ T5823] ? __pfx_ocfs2_init_xattr_set_ctxt+0x10/0x10 [ 88.536735][ T5823] ? ocfs2_xattr_set+0xb36/0x11f0 [ 88.536752][ T5823] ? up_write+0x1c4/0x420 [ 88.536765][ T5823] ? ocfs2_xattr_set+0x334/0x11f0 [ 88.536781][ T5823] ocfs2_xattr_set+0xb70/0x11f0 [ 88.536805][ T5823] ? __pfx_ocfs2_xattr_set+0x10/0x10 [ 88.536820][ T5823] ? up+0xde/0x150 [ 88.536840][ T5823] ? smack_log+0xef/0x3f0 [ 88.536862][ T5823] ? smk_access+0x14c/0x4e0 [ 88.536884][ T5823] ? smk_tskacc+0x2fc/0x370 [ 88.536907][ T5823] ? posix_xattr_acl+0x93/0xc0 [ 88.536927][ T5823] ? evm_protect_xattr+0x4d4/0xa90 [ 88.536947][ T5823] ? __pfx_evm_protect_xattr+0x10/0x10 [ 88.536964][ T5823] ? safesetid_security_capable+0xa9/0x1a0 [ 88.536980][ T5823] ? __pfx_ocfs2_xattr_trusted_set+0x10/0x10 [ 88.536997][ T5823] __vfs_setxattr+0x439/0x480 [ 88.537024][ T5823] __vfs_setxattr_noperm+0x12d/0x660 [ 88.537049][ T5823] vfs_setxattr+0x16b/0x2f0 [ 88.537073][ T5823] ? __pfx_vfs_setxattr+0x10/0x10 [ 88.537096][ T5823] ? up_write+0x1c4/0x420 [ 88.537111][ T5823] ovl_get_workdir+0xb86/0x1700 [ 88.537134][ T5823] ? __pfx_ovl_get_workdir+0x10/0x10 [ 88.537163][ T5823] ? do_raw_spin_unlock+0x122/0x240 [ 88.537186][ T5823] ? _raw_spin_unlock+0x28/0x50 [ 88.537199][ T5823] ? ovl_inuse_trylock+0xae/0xf0 [ 88.537218][ T5823] ovl_fill_super+0x1386/0x35d0 [ 88.537242][ T5823] ? rcu_is_watching+0x15/0xb0 [ 88.537266][ T5823] ? shrinker_register+0x124/0x230 [ 88.537288][ T5823] ? __pfx_ovl_fill_super+0x10/0x10 [ 88.537307][ T5823] ? __pfx___mutex_lock+0x10/0x10 [ 88.537324][ T5823] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 88.537345][ T5823] ? __raw_spin_lock_init+0x45/0x100 [ 88.537365][ T5823] ? sget_fc+0x962/0xa40 [ 88.537383][ T5823] ? __pfx_set_anon_super_fc+0x10/0x10 [ 88.537401][ T5823] ? __pfx_ovl_fill_super+0x10/0x10 [ 88.537421][ T5823] get_tree_nodev+0xb8/0x150 [ 88.537442][ T5823] vfs_get_tree+0x8f/0x2b0 [ 88.537463][ T5823] do_new_mount+0x24a/0xa40 [ 88.537489][ T5823] __se_sys_mount+0x317/0x410 [ 88.537514][ T5823] ? __pfx___se_sys_mount+0x10/0x10 [ 88.537539][ T5823] ? __x64_sys_mount+0x20/0xc0 [ 88.537562][ T5823] do_syscall_64+0xf6/0x210 [ 88.537581][ T5823] ? clear_bhb_loop+0x45/0xa0 [ 88.537598][ T5823] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 88.537613][ T5823] RIP: 0033:0x7faa447b9779 [ 88.537639][ T5823] 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 [ 88.537652][ T5823] RSP: 002b:00007ffe81059e38 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 [ 88.537668][ T5823] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007faa447b9779 [ 88.537680][ T5823] RDX: 0000200000000340 RSI: 00002000000000c0 RDI: 0000000000000000 [ 88.537690][ T5823] RBP: 00007faa44830610 R08: 0000200000000080 R09: 0000000000000000 [ 88.537700][ T5823] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 88.537709][ T5823] R13: 00007ffe8105a008 R14: 0000000000000001 R15: 0000000000000001 [ 88.537724][ T5823] mount(NULL, "./bus", "overlay", 0, "workdir=./bus,lowerdir=./file0,upperdir=./file1,") = -1 EINVAL (Invalid argument) exit_group(0) = ? +++ exited with 0 +++ [ 8