./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3982288580 <...> Warning: Permanently added '10.128.1.162' (ED25519) to the list of known hosts. execve("./syz-executor3982288580", ["./syz-executor3982288580"], 0x7ffe48047bc0 /* 10 vars */) = 0 brk(NULL) = 0x555590c1a000 brk(0x555590c1ad00) = 0x555590c1ad00 arch_prctl(ARCH_SET_FS, 0x555590c1a380) = 0 set_tid_address(0x555590c1a650) = 5839 set_robust_list(0x555590c1a660, 24) = 0 rseq(0x555590c1aca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3982288580", 4096) = 28 getrandom("\xa4\xc3\x97\x1c\xe2\xd5\xc4\x81", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555590c1ad00 brk(0x555590c3bd00) = 0x555590c3bd00 brk(0x555590c3c000) = 0x555590c3c000 mprotect(0x7fba3e3a0000, 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) = 0x7fba35e00000 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(0x7fba35e00000, 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 [ 79.058511][ T5839] loop0: detected capacity change from 0 to 32768 mount("/dev/loop0", "./file1", "ocfs2", MS_NODEV|MS_DIRSYNC|MS_REC, "acl,heartbeat=none,dir_resv_level=00003,coherency=full,coherency=full,localflocks,coherency=full,noa"...) = 0 openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 chdir("./file1") = 0 [ 79.123207][ T5839] JBD2: Ignoring recovery information on journal [ 79.157333][ T5839] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) mkdir("./file0", 000) = 0 mkdir("./file1", 000) = 0 mkdir("./bus", 000) = 0 [ 79.241308][ T5839] overlayfs: upper fs does not support tmpfile. [ 79.250374][ T5839] overlayfs: upper fs does not support RENAME_WHITEOUT. [ 79.257913][ T5839] [ 79.260259][ T5839] ====================================================== [ 79.267270][ T5839] WARNING: possible circular locking dependency detected [ 79.274286][ T5839] 6.16.0-rc7-syzkaller-00120-g5f33ebd2018c #0 Not tainted [ 79.281369][ T5839] ------------------------------------------------------ [ 79.288396][ T5839] syz-executor398/5839 is trying to acquire lock: [ 79.294786][ T5839] ffff88807616a640 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}, at: ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 79.308289][ T5839] [ 79.308289][ T5839] but task is already holding lock: [ 79.315642][ T5839] ffff8880730931b8 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x40f/0x11f0 [ 79.325127][ T5839] [ 79.325127][ T5839] which lock already depends on the new lock. [ 79.325127][ T5839] [ 79.335508][ T5839] [ 79.335508][ T5839] the existing dependency chain (in reverse order) is: [ 79.344503][ T5839] [ 79.344503][ T5839] -> #4 (&oi->ip_xattr_sem){+.+.}-{4:4}: [ 79.352306][ T5839] lock_acquire+0x120/0x360 [ 79.357335][ T5839] down_write+0x96/0x1f0 [ 79.362125][ T5839] ocfs2_xattr_set_handle+0x3b0/0x7a0 [ 79.368027][ T5839] ocfs2_init_security_set+0xbd/0xe0 [ 79.373830][ T5839] ocfs2_mknod+0x137f/0x2050 [ 79.378926][ T5839] ocfs2_mkdir+0x191/0x440 [ 79.383839][ T5839] vfs_mkdir+0x306/0x510 [ 79.388585][ T5839] do_mkdirat+0x247/0x590 [ 79.393421][ T5839] __x64_sys_mkdir+0x6c/0x80 [ 79.398516][ T5839] do_syscall_64+0xfa/0x3b0 [ 79.403541][ T5839] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.409976][ T5839] [ 79.409976][ T5839] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 79.417259][ T5839] lock_acquire+0x120/0x360 [ 79.422270][ T5839] start_this_handle+0x1fa7/0x21c0 [ 79.427890][ T5839] jbd2__journal_start+0x2c1/0x5b0 [ 79.433510][ T5839] jbd2_journal_start+0x2a/0x40 [ 79.438877][ T5839] ocfs2_start_trans+0x376/0x6d0 [ 79.444338][ T5839] ocfs2_reserve_suballoc_bits+0x711/0x4640 [ 79.450742][ T5839] ocfs2_reserve_new_metadata_blocks+0x403/0x940 [ 79.457578][ T5839] ocfs2_mknod+0xe08/0x2050 [ 79.462585][ T5839] ocfs2_mkdir+0x191/0x440 [ 79.467504][ T5839] vfs_mkdir+0x306/0x510 [ 79.472255][ T5839] do_mkdirat+0x247/0x590 [ 79.477087][ T5839] __x64_sys_mkdir+0x6c/0x80 [ 79.482179][ T5839] do_syscall_64+0xfa/0x3b0 [ 79.487182][ T5839] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.493577][ T5839] [ 79.493577][ T5839] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 79.502090][ T5839] lock_acquire+0x120/0x360 [ 79.507099][ T5839] down_read+0x46/0x2e0 [ 79.511756][ T5839] ocfs2_start_trans+0x36a/0x6d0 [ 79.517201][ T5839] ocfs2_reserve_suballoc_bits+0x711/0x4640 [ 79.523598][ T5839] ocfs2_reserve_new_metadata_blocks+0x403/0x940 [ 79.530425][ T5839] ocfs2_mknod+0xe08/0x2050 [ 79.535436][ T5839] ocfs2_mkdir+0x191/0x440 [ 79.540358][ T5839] vfs_mkdir+0x306/0x510 [ 79.545109][ T5839] do_mkdirat+0x247/0x590 [ 79.549945][ T5839] __x64_sys_mkdir+0x6c/0x80 [ 79.555045][ T5839] do_syscall_64+0xfa/0x3b0 [ 79.560053][ T5839] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.566443][ T5839] [ 79.566443][ T5839] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 79.573895][ T5839] lock_acquire+0x120/0x360 [ 79.578895][ T5839] ocfs2_start_trans+0x26b/0x6d0 [ 79.584335][ T5839] ocfs2_mknod+0xe93/0x2050 [ 79.589335][ T5839] ocfs2_mkdir+0x191/0x440 [ 79.594249][ T5839] vfs_mkdir+0x306/0x510 [ 79.599014][ T5839] do_mkdirat+0x247/0x590 [ 79.603845][ T5839] __x64_sys_mkdir+0x6c/0x80 [ 79.608936][ T5839] do_syscall_64+0xfa/0x3b0 [ 79.613947][ T5839] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.620346][ T5839] [ 79.620346][ T5839] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}: [ 79.630837][ T5839] validate_chain+0xb9b/0x2140 [ 79.636107][ T5839] __lock_acquire+0xab9/0xd20 [ 79.641281][ T5839] lock_acquire+0x120/0x360 [ 79.646279][ T5839] down_write+0x96/0x1f0 [ 79.651022][ T5839] ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 79.657675][ T5839] ocfs2_reserve_clusters_with_limit+0x1be/0xba0 [ 79.664505][ T5839] ocfs2_init_xattr_set_ctxt+0x376/0x700 [ 79.670660][ T5839] ocfs2_xattr_set+0xb70/0x11f0 [ 79.676012][ T5839] __vfs_setxattr+0x43c/0x480 [ 79.681207][ T5839] __vfs_setxattr_noperm+0x12d/0x660 [ 79.686987][ T5839] vfs_setxattr+0x16b/0x2f0 [ 79.691987][ T5839] ovl_get_workdir+0xbb7/0x1730 [ 79.697338][ T5839] ovl_fill_super+0x1386/0x35d0 [ 79.702689][ T5839] get_tree_nodev+0xb8/0x150 [ 79.707781][ T5839] vfs_get_tree+0x92/0x2b0 [ 79.712693][ T5839] do_new_mount+0x24a/0xa40 [ 79.717692][ T5839] __se_sys_mount+0x317/0x410 [ 79.722866][ T5839] do_syscall_64+0xfa/0x3b0 [ 79.727868][ T5839] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.734259][ T5839] [ 79.734259][ T5839] other info that might help us debug this: [ 79.734259][ T5839] [ 79.744482][ T5839] Chain exists of: [ 79.744482][ T5839] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 79.744482][ T5839] [ 79.760194][ T5839] Possible unsafe locking scenario: [ 79.760194][ T5839] [ 79.767710][ T5839] CPU0 CPU1 [ 79.773056][ T5839] ---- ---- [ 79.778397][ T5839] lock(&oi->ip_xattr_sem); [ 79.782974][ T5839] lock(jbd2_handle); [ 79.789541][ T5839] lock(&oi->ip_xattr_sem); [ 79.796626][ T5839] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 79.803890][ T5839] [ 79.803890][ T5839] *** DEADLOCK *** [ 79.803890][ T5839] [ 79.812010][ T5839] 4 locks held by syz-executor398/5839: [ 79.817533][ T5839] #0: ffff88807d0780e0 (&type->s_umount_key#43/1){+.+.}-{4:4}, at: alloc_super+0x204/0x970 [ 79.827614][ T5839] #1: ffff88807d092428 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 [ 79.836733][ T5839] #2: ffff888073093480 (&sb->s_type->i_mutex_key#16){++++}-{4:4}, at: vfs_setxattr+0x144/0x2f0 [ 79.847152][ T5839] #3: ffff8880730931b8 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x40f/0x11f0 [ 79.857049][ T5839] [ 79.857049][ T5839] stack backtrace: [ 79.862928][ T5839] CPU: 1 UID: 0 PID: 5839 Comm: syz-executor398 Not tainted 6.16.0-rc7-syzkaller-00120-g5f33ebd2018c #0 PREEMPT(full) [ 79.862942][ T5839] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 [ 79.862954][ T5839] Call Trace: [ 79.862962][ T5839] [ 79.862968][ T5839] dump_stack_lvl+0x189/0x250 [ 79.862983][ T5839] ? __pfx_dump_stack_lvl+0x10/0x10 [ 79.862994][ T5839] ? __pfx__printk+0x10/0x10 [ 79.863006][ T5839] ? print_lock_name+0xde/0x100 [ 79.863019][ T5839] print_circular_bug+0x2ee/0x310 [ 79.863032][ T5839] check_noncircular+0x134/0x160 [ 79.863045][ T5839] validate_chain+0xb9b/0x2140 [ 79.863057][ T5839] ? __mutex_unlock_slowpath+0x1cd/0x700 [ 79.863069][ T5839] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 79.863082][ T5839] __lock_acquire+0xab9/0xd20 [ 79.863092][ T5839] ? ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 79.863103][ T5839] lock_acquire+0x120/0x360 [ 79.863111][ T5839] ? ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 79.863122][ T5839] ? is_bpf_text_address+0x26/0x2b0 [ 79.863132][ T5839] ? kernel_text_address+0xa5/0xe0 [ 79.863147][ T5839] down_write+0x96/0x1f0 [ 79.863160][ T5839] ? ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 79.863170][ T5839] ? __pfx_down_write+0x10/0x10 [ 79.863183][ T5839] ocfs2_reserve_local_alloc_bits+0x125/0x24e0 [ 79.863196][ T5839] ? check_noncircular+0xe0/0x160 [ 79.863208][ T5839] ? lockdep_unlock+0x89/0x120 [ 79.863222][ T5839] ? validate_chain+0x897/0x2140 [ 79.863232][ T5839] ? __pfx_ocfs2_reserve_local_alloc_bits+0x10/0x10 [ 79.863242][ T5839] ? get_tree_nodev+0xb8/0x150 [ 79.863260][ T5839] ? __lock_acquire+0xab9/0xd20 [ 79.863273][ T5839] ? do_raw_spin_unlock+0x122/0x240 [ 79.863286][ T5839] ? _raw_spin_unlock+0x28/0x50 [ 79.863300][ T5839] ? ocfs2_alloc_should_use_local+0x152/0x310 [ 79.863309][ T5839] ? ocfs2_reserve_clusters_with_limit+0x16b/0xba0 [ 79.863323][ T5839] ocfs2_reserve_clusters_with_limit+0x1be/0xba0 [ 79.863337][ T5839] ? __pfx_ocfs2_reserve_clusters_with_limit+0x10/0x10 [ 79.863352][ T5839] ? __pfx_ocfs2_calc_xattr_set_need+0x10/0x10 [ 79.863362][ T5839] ? __lock_acquire+0xab9/0xd20 [ 79.863373][ T5839] ocfs2_init_xattr_set_ctxt+0x376/0x700 [ 79.863389][ T5839] ? __pfx_ocfs2_init_xattr_set_ctxt+0x10/0x10 [ 79.863411][ T5839] ? ocfs2_xattr_set+0xb36/0x11f0 [ 79.863425][ T5839] ? up_write+0x1c4/0x420 [ 79.863435][ T5839] ? ocfs2_xattr_set+0x334/0x11f0 [ 79.863449][ T5839] ocfs2_xattr_set+0xb70/0x11f0 [ 79.863467][ T5839] ? __pfx_ocfs2_xattr_set+0x10/0x10 [ 79.863480][ T5839] ? up+0xde/0x150 [ 79.863492][ T5839] ? smack_log+0xef/0x3f0 [ 79.863506][ T5839] ? __pfx___console_unlock+0x10/0x10 [ 79.863518][ T5839] ? smk_access+0x14c/0x4e0 [ 79.863532][ T5839] ? smk_tskacc+0x2fc/0x370 [ 79.863546][ T5839] ? posix_xattr_acl+0x93/0xc0 [ 79.863559][ T5839] ? evm_protect_xattr+0x4d4/0xa90 [ 79.863572][ T5839] ? __pfx_evm_protect_xattr+0x10/0x10 [ 79.863583][ T5839] ? safesetid_security_capable+0xa9/0x1a0 [ 79.863594][ T5839] ? __pfx_ocfs2_xattr_trusted_set+0x10/0x10 [ 79.863608][ T5839] __vfs_setxattr+0x43c/0x480 [ 79.863621][ T5839] __vfs_setxattr_noperm+0x12d/0x660 [ 79.863633][ T5839] vfs_setxattr+0x16b/0x2f0 [ 79.863645][ T5839] ? __pfx_vfs_setxattr+0x10/0x10 [ 79.863655][ T5839] ? up_write+0x1c4/0x420 [ 79.863667][ T5839] ovl_get_workdir+0xbb7/0x1730 [ 79.863682][ T5839] ? __pfx_ovl_get_workdir+0x10/0x10 [ 79.863700][ T5839] ? do_raw_spin_unlock+0x122/0x240 [ 79.863713][ T5839] ? _raw_spin_unlock+0x28/0x50 [ 79.863727][ T5839] ? ovl_inuse_trylock+0xae/0xf0 [ 79.863739][ T5839] ovl_fill_super+0x1386/0x35d0 [ 79.863754][ T5839] ? rcu_is_watching+0x15/0xb0 [ 79.863766][ T5839] ? shrinker_register+0x124/0x230 [ 79.863780][ T5839] ? __pfx_ovl_fill_super+0x10/0x10 [ 79.863792][ T5839] ? __pfx___mutex_lock+0x10/0x10 [ 79.863803][ T5839] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 79.863815][ T5839] ? __raw_spin_lock_init+0x45/0x100 [ 79.863830][ T5839] ? sget_fc+0x962/0xa40 [ 79.863843][ T5839] ? __pfx_set_anon_super_fc+0x10/0x10 [ 79.863857][ T5839] ? __pfx_ovl_fill_super+0x10/0x10 [ 79.863869][ T5839] get_tree_nodev+0xb8/0x150 [ 79.863884][ T5839] vfs_get_tree+0x92/0x2b0 [ 79.863894][ T5839] do_new_mount+0x24a/0xa40 [ 79.863907][ T5839] __se_sys_mount+0x317/0x410 [ 79.863919][ T5839] ? __pfx___se_sys_mount+0x10/0x10 [ 79.863929][ T5839] ? rcu_is_watching+0x15/0xb0 [ 79.863940][ T5839] ? __x64_sys_mount+0x20/0xc0 [ 79.863951][ T5839] do_syscall_64+0xfa/0x3b0 [ 79.863962][ T5839] ? lockdep_hardirqs_on+0x9c/0x150 [ 79.863972][ T5839] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.863981][ T5839] ? clear_bhb_loop+0x60/0xb0 [ 79.863992][ T5839] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.864001][ T5839] RIP: 0033:0x7fba3e329af9 [ 79.864015][ T5839] 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 [ 79.864027][ T5839] RSP: 002b:00007ffe69393288 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 mount(NULL, "./bus", "overlay", 0, "workdir=./bus,lowerdir=./file0,upperdir=./file1,") = -1 EINVAL (Invalid argument) exit_group(0) = ? +++ exited with 0 +++ [ 79.8640