./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4143256262 <...> Warning: Permanently added '10.128.1.78' (ED25519) to the list of known hosts. execve("./syz-executor4143256262", ["./syz-executor4143256262"], 0x7ffe7c84f840 /* 10 vars */) = 0 brk(NULL) = 0x55557cb86000 brk(0x55557cb86e00) = 0x55557cb86e00 arch_prctl(ARCH_SET_FS, 0x55557cb86480) = 0 set_tid_address(0x55557cb86750) = 5827 set_robust_list(0x55557cb86760, 24) = 0 rseq(0x55557cb86da0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor4143256262", 4096) = 28 getrandom("\x19\x25\xab\x03\x1c\x9b\xbf\x50", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557cb86e00 brk(0x55557cba7e00) = 0x55557cba7e00 brk(0x55557cba8000) = 0x55557cba8000 mprotect(0x7f02422b4000, 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=0x7f0242209120, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f0242211190}, NULL, 8) = 0 rt_sigaction(SIGBUS, {sa_handler=0x7f0242209120, sa_mask=[], sa_flags=SA_RESTORER|SA_NODEFER|SA_SIGINFO, sa_restorer=0x7f0242211190}, 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) = 0x7f0239c00000 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(0x7f0239c00000, 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 [ 84.054651][ T5827] loop0: detected capacity change from 0 to 32768 [ 84.080544][ T5827] ======================================================= [ 84.080544][ T5827] WARNING: The mand mount option has been deprecated and [ 84.080544][ T5827] and is ignored by this kernel. Remove the mand [ 84.080544][ T5827] option from the mount to silence this warning. [ 84.080544][ T5827] ======================================================= [ 84.143874][ T5827] 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 [ 84.174822][ T5827] 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("./bus", 0777) = 0 --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- mkdir("./file1", 000) = 0 [ 84.319594][ T5827] overlayfs: upper fs does not support tmpfile. [ 84.330418][ T5827] overlayfs: upper fs does not support RENAME_WHITEOUT. [ 84.338164][ T5827] [ 84.340524][ T5827] ====================================================== [ 84.347548][ T5827] WARNING: possible circular locking dependency detected [ 84.354759][ T5827] 6.14.0-rc6-syzkaller-00244-g31d7109a19f6 #0 Not tainted [ 84.361889][ T5827] ------------------------------------------------------ [ 84.368949][ T5827] syz-executor414/5827 is trying to acquire lock: [ 84.375402][ T5827] ffff888062c489c0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}, at: ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 84.388987][ T5827] [ 84.388987][ T5827] but task is already holding lock: [ 84.396363][ T5827] ffff888062c7bff8 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x633/0x1930 [ 84.405906][ T5827] [ 84.405906][ T5827] which lock already depends on the new lock. [ 84.405906][ T5827] [ 84.416424][ T5827] [ 84.416424][ T5827] the existing dependency chain (in reverse order) is: [ 84.425628][ T5827] [ 84.425628][ T5827] -> #4 (&oi->ip_xattr_sem){+.+.}-{4:4}: [ 84.433487][ T5827] lock_acquire+0x1ed/0x550 [ 84.438546][ T5827] down_write+0x99/0x220 [ 84.443328][ T5827] ocfs2_xattr_set_handle+0x539/0xa10 [ 84.449263][ T5827] ocfs2_init_security_set+0xbd/0xd0 [ 84.455103][ T5827] ocfs2_mknod+0x1ccf/0x2b30 [ 84.460281][ T5827] ocfs2_mkdir+0x1ab/0x470 [ 84.465235][ T5827] vfs_mkdir+0x2f9/0x4f0 [ 84.470036][ T5827] do_mkdirat+0x264/0x3a0 [ 84.474902][ T5827] __x64_sys_mkdir+0x6c/0x80 [ 84.480051][ T5827] do_syscall_64+0xf3/0x230 [ 84.485128][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.491566][ T5827] [ 84.491566][ T5827] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 84.498882][ T5827] lock_acquire+0x1ed/0x550 [ 84.503951][ T5827] start_this_handle+0x1eb4/0x2110 [ 84.509611][ T5827] jbd2__journal_start+0x2da/0x5d0 [ 84.515259][ T5827] jbd2_journal_start+0x29/0x40 [ 84.520664][ T5827] ocfs2_start_trans+0x3c9/0x700 [ 84.526575][ T5827] ocfs2_reserve_suballoc_bits+0x9f6/0x4e70 [ 84.533096][ T5827] ocfs2_reserve_new_metadata_blocks+0x41c/0x9c0 [ 84.539975][ T5827] ocfs2_mknod+0x143a/0x2b30 [ 84.545096][ T5827] ocfs2_mkdir+0x1ab/0x470 [ 84.550094][ T5827] vfs_mkdir+0x2f9/0x4f0 [ 84.555585][ T5827] do_mkdirat+0x264/0x3a0 [ 84.560470][ T5827] __x64_sys_mkdir+0x6c/0x80 [ 84.565636][ T5827] do_syscall_64+0xf3/0x230 [ 84.570701][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.577309][ T5827] [ 84.577309][ T5827] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 84.585847][ T5827] lock_acquire+0x1ed/0x550 [ 84.590984][ T5827] down_read+0xb1/0xa40 [ 84.595790][ T5827] ocfs2_start_trans+0x3be/0x700 [ 84.601279][ T5827] ocfs2_reserve_suballoc_bits+0x9f6/0x4e70 [ 84.607762][ T5827] ocfs2_reserve_new_metadata_blocks+0x41c/0x9c0 [ 84.614658][ T5827] ocfs2_mknod+0x143a/0x2b30 [ 84.619903][ T5827] ocfs2_mkdir+0x1ab/0x470 [ 84.624873][ T5827] vfs_mkdir+0x2f9/0x4f0 [ 84.629663][ T5827] do_mkdirat+0x264/0x3a0 [ 84.634527][ T5827] __x64_sys_mkdir+0x6c/0x80 [ 84.639665][ T5827] do_syscall_64+0xf3/0x230 [ 84.644755][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.651235][ T5827] [ 84.651235][ T5827] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 84.658744][ T5827] lock_acquire+0x1ed/0x550 [ 84.663806][ T5827] ocfs2_start_trans+0x2b9/0x700 [ 84.669310][ T5827] ocfs2_mknod+0x150c/0x2b30 [ 84.674448][ T5827] ocfs2_mkdir+0x1ab/0x470 [ 84.679436][ T5827] vfs_mkdir+0x2f9/0x4f0 [ 84.684214][ T5827] do_mkdirat+0x264/0x3a0 [ 84.689161][ T5827] __x64_sys_mkdir+0x6c/0x80 [ 84.694452][ T5827] do_syscall_64+0xf3/0x230 [ 84.699490][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.705910][ T5827] [ 84.705910][ T5827] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}: [ 84.716450][ T5827] validate_chain+0x18ef/0x5920 [ 84.721861][ T5827] __lock_acquire+0x1397/0x2100 [ 84.727294][ T5827] lock_acquire+0x1ed/0x550 [ 84.732454][ T5827] down_write+0x99/0x220 [ 84.737333][ T5827] ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 84.744242][ T5827] ocfs2_reserve_clusters_with_limit+0x1b8/0xb60 [ 84.751283][ T5827] ocfs2_init_xattr_set_ctxt+0x433/0x8f0 [ 84.757462][ T5827] ocfs2_xattr_set+0xf4e/0x1930 [ 84.762957][ T5827] __vfs_setxattr+0x468/0x4a0 [ 84.768180][ T5827] __vfs_setxattr_noperm+0x12e/0x660 [ 84.774124][ T5827] vfs_setxattr+0x221/0x430 [ 84.779178][ T5827] ovl_get_workdir+0xda0/0x1930 [ 84.784814][ T5827] ovl_fill_super+0x12b3/0x3640 [ 84.790233][ T5827] get_tree_nodev+0xb7/0x140 [ 84.795559][ T5827] vfs_get_tree+0x90/0x2b0 [ 84.800638][ T5827] do_new_mount+0x2be/0xb40 [ 84.806216][ T5827] __se_sys_mount+0x2d6/0x3c0 [ 84.811892][ T5827] do_syscall_64+0xf3/0x230 [ 84.816939][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.823857][ T5827] [ 84.823857][ T5827] other info that might help us debug this: [ 84.823857][ T5827] [ 84.834420][ T5827] Chain exists of: [ 84.834420][ T5827] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 84.834420][ T5827] [ 84.850218][ T5827] Possible unsafe locking scenario: [ 84.850218][ T5827] [ 84.857899][ T5827] CPU0 CPU1 [ 84.864024][ T5827] ---- ---- [ 84.869407][ T5827] lock(&oi->ip_xattr_sem); [ 84.874033][ T5827] lock(jbd2_handle); [ 84.880654][ T5827] lock(&oi->ip_xattr_sem); [ 84.888066][ T5827] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 84.895421][ T5827] [ 84.895421][ T5827] *** DEADLOCK *** [ 84.895421][ T5827] [ 84.903692][ T5827] 4 locks held by syz-executor414/5827: [ 84.909478][ T5827] #0: ffff88807d60e0e0 (&type->s_umount_key#43/1){+.+.}-{4:4}, at: alloc_super+0x221/0x9d0 [ 84.919964][ T5827] #1: ffff888011ece420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 84.930018][ T5827] #2: ffff888062c7c2c0 (&sb->s_type->i_mutex_key#16){++++}-{4:4}, at: vfs_setxattr+0x1e1/0x430 [ 84.940874][ T5827] #3: ffff888062c7bff8 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x633/0x1930 [ 84.951519][ T5827] [ 84.951519][ T5827] stack backtrace: [ 84.958014][ T5827] CPU: 0 UID: 0 PID: 5827 Comm: syz-executor414 Not tainted 6.14.0-rc6-syzkaller-00244-g31d7109a19f6 #0 [ 84.958042][ T5827] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 84.958060][ T5827] Call Trace: [ 84.958081][ T5827] [ 84.958091][ T5827] dump_stack_lvl+0x241/0x360 [ 84.958184][ T5827] ? __pfx_dump_stack_lvl+0x10/0x10 [ 84.958204][ T5827] ? __pfx__printk+0x10/0x10 [ 84.958230][ T5827] print_circular_bug+0x13a/0x1b0 [ 84.958262][ T5827] check_noncircular+0x36a/0x4a0 [ 84.958280][ T5827] ? __pfx_check_noncircular+0x10/0x10 [ 84.958295][ T5827] ? lockdep_lock+0x123/0x2b0 [ 84.958320][ T5827] validate_chain+0x18ef/0x5920 [ 84.958335][ T5827] ? __pfx_validate_chain+0x10/0x10 [ 84.958357][ T5827] ? __pfx_validate_chain+0x10/0x10 [ 84.958374][ T5827] ? mark_lock+0x9a/0x360 [ 84.958401][ T5827] ? ocfs2_get_system_file_inode+0x1e3/0x840 [ 84.958437][ T5827] ? __pfx_lock_release+0x10/0x10 [ 84.958460][ T5827] ? mark_lock+0x9a/0x360 [ 84.958489][ T5827] __lock_acquire+0x1397/0x2100 [ 84.958516][ T5827] lock_acquire+0x1ed/0x550 [ 84.958537][ T5827] ? ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 84.958565][ T5827] ? __pfx_lock_acquire+0x10/0x10 [ 84.958589][ T5827] ? __pfx___might_resched+0x10/0x10 [ 84.958609][ T5827] ? __pfx_ocfs2_get_system_file_inode+0x10/0x10 [ 84.958635][ T5827] ? __pfx_validate_chain+0x10/0x10 [ 84.958650][ T5827] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 84.958673][ T5827] down_write+0x99/0x220 [ 84.958688][ T5827] ? ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 84.958714][ T5827] ? __pfx_down_write+0x10/0x10 [ 84.958731][ T5827] ocfs2_reserve_local_alloc_bits+0x135/0x28d0 [ 84.958791][ T5827] ? mark_lock+0x9a/0x360 [ 84.958817][ T5827] ? __lock_acquire+0x1397/0x2100 [ 84.958841][ T5827] ? __pfx_ocfs2_reserve_local_alloc_bits+0x10/0x10 [ 84.958873][ T5827] ? __pfx_lock_acquire+0x10/0x10 [ 84.958895][ T5827] ? ocfs2_alloc_should_use_local+0x155/0x320 [ 84.958919][ T5827] ? __pfx_lock_release+0x10/0x10 [ 84.958939][ T5827] ? do_raw_spin_lock+0x14f/0x370 [ 84.958961][ T5827] ? do_raw_spin_unlock+0x13c/0x8b0 [ 84.958982][ T5827] ? _raw_spin_unlock+0x28/0x50 [ 84.959004][ T5827] ? ocfs2_alloc_should_use_local+0x155/0x320 [ 84.959029][ T5827] ocfs2_reserve_clusters_with_limit+0x1b8/0xb60 [ 84.959052][ T5827] ? __pfx_ocfs2_reserve_clusters_with_limit+0x10/0x10 [ 84.959076][ T5827] ? __pfx_ocfs2_calc_xattr_set_need+0x10/0x10 [ 84.959104][ T5827] ? ocfs2_xattr_set+0xf00/0x1930 [ 84.959126][ T5827] ocfs2_init_xattr_set_ctxt+0x433/0x8f0 [ 84.959150][ T5827] ? __pfx_ocfs2_init_xattr_set_ctxt+0x10/0x10 [ 84.959172][ T5827] ? up_write+0x1a9/0x590 [ 84.959190][ T5827] ? __pfx_ocfs2_truncate_log_needs_flush+0x10/0x10 [ 84.959212][ T5827] ? __pfx_up_write+0x10/0x10 [ 84.959229][ T5827] ? __kmalloc_cache_noprof+0x243/0x390 [ 84.959245][ T5827] ? ocfs2_xattr_set+0x4d5/0x1930 [ 84.959266][ T5827] ocfs2_xattr_set+0xf4e/0x1930 [ 84.959294][ T5827] ? __pfx_ocfs2_xattr_set+0x10/0x10 [ 84.959314][ T5827] ? __lock_acquire+0x1397/0x2100 [ 84.959353][ T5827] ? smk_tskacc+0x300/0x370 [ 84.959377][ T5827] ? posix_xattr_acl+0xa9/0xd0 [ 84.959395][ T5827] ? evm_protect_xattr+0x4be/0xb40 [ 84.959411][ T5827] ? ocfs2_xattr_user_set+0xae/0x100 [ 84.959433][ T5827] ? __pfx_ocfs2_xattr_user_set+0x10/0x10 [ 84.959455][ T5827] __vfs_setxattr+0x468/0x4a0 [ 84.959486][ T5827] __vfs_setxattr_noperm+0x12e/0x660 [ 84.959514][ T5827] vfs_setxattr+0x221/0x430 [ 84.959542][ T5827] ? __pfx_vfs_setxattr+0x10/0x10 [ 84.959569][ T5827] ? _raw_spin_unlock+0x28/0x50 [ 84.959588][ T5827] ? dput+0x37/0x2b0 [ 84.959605][ T5827] ovl_get_workdir+0xda0/0x1930 [ 84.959633][ T5827] ? __pfx_ovl_get_workdir+0x10/0x10 [ 84.959659][ T5827] ? ovl_inuse_trylock+0xab/0xf0 [ 84.959680][ T5827] ? do_raw_spin_lock+0x14f/0x370 [ 84.959704][ T5827] ? _raw_spin_unlock+0x28/0x50 [ 84.959723][ T5827] ? ovl_inuse_trylock+0xab/0xf0 [ 84.959743][ T5827] ovl_fill_super+0x12b3/0x3640 [ 84.959868][ T5827] ? __pfx_ovl_fill_super+0x10/0x10 [ 84.959891][ T5827] ? __pfx_lockdep_init_map_type+0x10/0x10 [ 84.959914][ T5827] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 84.959946][ T5827] ? sget_fc+0x960/0xa50 [ 84.959964][ T5827] ? __pfx_set_anon_super_fc+0x10/0x10 [ 84.959983][ T5827] ? __pfx_ovl_fill_super+0x10/0x10 [ 84.960003][ T5827] get_tree_nodev+0xb7/0x140 [ 84.960023][ T5827] vfs_get_tree+0x90/0x2b0 [ 84.960044][ T5827] do_new_mount+0x2be/0xb40 [ 84.960060][ T5827] ? __pfx_do_new_mount+0x10/0x10 [ 84.960077][ T5827] __se_sys_mount+0x2d6/0x3c0 [ 84.960093][ T5827] ? __pfx___se_sys_mount+0x10/0x10 [ 84.960108][ T5827] ? do_syscall_64+0x100/0x230 [ 84.960130][ T5827] ? __x64_sys_mount+0x20/0xc0 [ 84.960145][ T5827] do_syscall_64+0xf3/0x230 [ 84.960167][ T5827] ? clear_bhb_loop+0x35/0x90 [ 84.960189][ T5827] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.960223][ T5827] RIP: 0033:0x7f024223d1b9 [ 84.960241][ T5827] 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 [ 84.960253][ T5827] RSP: 002b:00007ffc33e32518 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 mount(NULL, "./bus", "overlay", 0, "workdir=./bus,lowerdir=./file0,upperdir=./file1,userxattr,") = -1 EINVAL (Invalid argument) exit_group(0) = ? +++ exited with 0 +++ [ 84.960269][