Warning: Permanently added '10.128.1.154' (ED25519) to the list of known hosts. executing program [ 37.196587][ T6445] loop0: detected capacity change from 0 to 32768 [ 37.200293][ T6445] ======================================================= [ 37.200293][ T6445] WARNING: The mand mount option has been deprecated and [ 37.200293][ T6445] and is ignored by this kernel. Remove the mand [ 37.200293][ T6445] option from the mount to silence this warning. [ 37.200293][ T6445] ======================================================= [ 37.224896][ T6445] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 37.235327][ T6445] [ 37.235977][ T6445] ====================================================== [ 37.237707][ T6445] WARNING: possible circular locking dependency detected [ 37.239442][ T6445] 6.14.0-rc7-syzkaller-ga2392f333575 #0 Not tainted [ 37.241144][ T6445] ------------------------------------------------------ [ 37.242962][ T6445] syz-executor156/6445 is trying to acquire lock: [ 37.244608][ T6445] ffff0000dd5a2640 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}, at: ocfs2_reserve_local_alloc_bits+0x108/0x24f8 [ 37.248123][ T6445] [ 37.248123][ T6445] but task is already holding lock: [ 37.250095][ T6445] ffff0000dd5a3ff8 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 37.252593][ T6445] [ 37.252593][ T6445] which lock already depends on the new lock. [ 37.252593][ T6445] [ 37.255286][ T6445] [ 37.255286][ T6445] the existing dependency chain (in reverse order) is: [ 37.257627][ T6445] [ 37.257627][ T6445] -> #4 (&oi->ip_xattr_sem){+.+.}-{4:4}: [ 37.259663][ T6445] down_write+0x50/0xc0 [ 37.260887][ T6445] ocfs2_xattr_set_handle+0x40c/0x824 [ 37.262399][ T6445] ocfs2_init_security_set+0xb4/0xd8 [ 37.263949][ T6445] ocfs2_mknod+0x1408/0x2438 [ 37.265270][ T6445] ocfs2_create+0x194/0x4d4 [ 37.266577][ T6445] path_openat+0x13ec/0x2b1c [ 37.267921][ T6445] do_filp_open+0x1e8/0x404 [ 37.269261][ T6445] do_sys_openat2+0x124/0x1b8 [ 37.270605][ T6445] __arm64_sys_openat+0x1f0/0x240 [ 37.272039][ T6445] invoke_syscall+0x98/0x2b8 [ 37.273365][ T6445] el0_svc_common+0x130/0x23c [ 37.274690][ T6445] do_el0_svc+0x48/0x58 [ 37.275918][ T6445] el0_svc+0x54/0x168 [ 37.277066][ T6445] el0t_64_sync_handler+0x84/0x108 [ 37.278510][ T6445] el0t_64_sync+0x198/0x19c [ 37.279803][ T6445] [ 37.279803][ T6445] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 37.281720][ T6445] start_this_handle+0xf34/0x11c4 [ 37.283179][ T6445] jbd2__journal_start+0x298/0x544 [ 37.284622][ T6445] jbd2_journal_start+0x3c/0x4c [ 37.286046][ T6445] ocfs2_start_trans+0x3d0/0x71c [ 37.287460][ T6445] ocfs2_reserve_suballoc_bits+0x840/0x4254 [ 37.289119][ T6445] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 37.290916][ T6445] ocfs2_mknod+0xdc8/0x2438 [ 37.292192][ T6445] ocfs2_create+0x194/0x4d4 [ 37.293486][ T6445] path_openat+0x13ec/0x2b1c [ 37.294794][ T6445] do_filp_open+0x1e8/0x404 [ 37.296162][ T6445] do_sys_openat2+0x124/0x1b8 [ 37.297501][ T6445] __arm64_sys_openat+0x1f0/0x240 [ 37.298992][ T6445] invoke_syscall+0x98/0x2b8 [ 37.300290][ T6445] el0_svc_common+0x130/0x23c [ 37.301614][ T6445] do_el0_svc+0x48/0x58 [ 37.302897][ T6445] el0_svc+0x54/0x168 [ 37.304065][ T6445] el0t_64_sync_handler+0x84/0x108 [ 37.305545][ T6445] el0t_64_sync+0x198/0x19c [ 37.306857][ T6445] [ 37.306857][ T6445] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 37.309078][ T6445] down_read+0x58/0x2fc [ 37.310298][ T6445] ocfs2_start_trans+0x3c4/0x71c [ 37.311705][ T6445] ocfs2_reserve_suballoc_bits+0x840/0x4254 [ 37.313380][ T6445] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 37.315148][ T6445] ocfs2_mknod+0xdc8/0x2438 [ 37.316444][ T6445] ocfs2_create+0x194/0x4d4 [ 37.317797][ T6445] path_openat+0x13ec/0x2b1c [ 37.319116][ T6445] do_filp_open+0x1e8/0x404 [ 37.320418][ T6445] do_sys_openat2+0x124/0x1b8 [ 37.321804][ T6445] __arm64_sys_openat+0x1f0/0x240 [ 37.323226][ T6445] invoke_syscall+0x98/0x2b8 [ 37.324548][ T6445] el0_svc_common+0x130/0x23c [ 37.325901][ T6445] do_el0_svc+0x48/0x58 [ 37.327143][ T6445] el0_svc+0x54/0x168 [ 37.328334][ T6445] el0t_64_sync_handler+0x84/0x108 [ 37.329827][ T6445] el0t_64_sync+0x198/0x19c [ 37.331131][ T6445] [ 37.331131][ T6445] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 37.333084][ T6445] ocfs2_start_trans+0x244/0x71c [ 37.334488][ T6445] ocfs2_mknod+0xe58/0x2438 [ 37.335830][ T6445] ocfs2_create+0x194/0x4d4 [ 37.337119][ T6445] path_openat+0x13ec/0x2b1c [ 37.338458][ T6445] do_filp_open+0x1e8/0x404 [ 37.339771][ T6445] do_sys_openat2+0x124/0x1b8 [ 37.341096][ T6445] __arm64_sys_openat+0x1f0/0x240 [ 37.342573][ T6445] invoke_syscall+0x98/0x2b8 [ 37.343894][ T6445] el0_svc_common+0x130/0x23c [ 37.345386][ T6445] do_el0_svc+0x48/0x58 [ 37.346611][ T6445] el0_svc+0x54/0x168 [ 37.347779][ T6445] el0t_64_sync_handler+0x84/0x108 [ 37.349256][ T6445] el0t_64_sync+0x198/0x19c [ 37.350568][ T6445] [ 37.350568][ T6445] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}: [ 37.353364][ T6445] __lock_acquire+0x34f0/0x7904 [ 37.354747][ T6445] lock_acquire+0x23c/0x724 [ 37.356037][ T6445] down_write+0x50/0xc0 [ 37.357243][ T6445] ocfs2_reserve_local_alloc_bits+0x108/0x24f8 [ 37.358979][ T6445] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 37.360949][ T6445] ocfs2_reserve_clusters+0x3c/0x50 [ 37.362437][ T6445] ocfs2_init_xattr_set_ctxt+0x428/0x978 [ 37.364083][ T6445] ocfs2_xattr_set+0xbe0/0x1448 [ 37.365455][ T6445] ocfs2_xattr_trusted_set+0x4c/0x64 [ 37.366950][ T6445] __vfs_setxattr+0x3d8/0x400 [ 37.368312][ T6445] __vfs_setxattr_noperm+0x110/0x578 [ 37.369821][ T6445] __vfs_setxattr_locked+0x1ec/0x218 [ 37.371328][ T6445] vfs_setxattr+0x1a8/0x344 [ 37.372660][ T6445] filename_setxattr+0x268/0x3fc [ 37.374119][ T6445] path_setxattrat+0x370/0x41c [ 37.375520][ T6445] __arm64_sys_lsetxattr+0xc0/0xdc [ 37.376968][ T6445] invoke_syscall+0x98/0x2b8 [ 37.378311][ T6445] el0_svc_common+0x130/0x23c [ 37.379656][ T6445] do_el0_svc+0x48/0x58 [ 37.380894][ T6445] el0_svc+0x54/0x168 [ 37.382097][ T6445] el0t_64_sync_handler+0x84/0x108 [ 37.383578][ T6445] el0t_64_sync+0x198/0x19c [ 37.384891][ T6445] [ 37.384891][ T6445] other info that might help us debug this: [ 37.384891][ T6445] [ 37.387608][ T6445] Chain exists of: [ 37.387608][ T6445] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 37.387608][ T6445] [ 37.391802][ T6445] Possible unsafe locking scenario: [ 37.391802][ T6445] [ 37.393750][ T6445] CPU0 CPU1 [ 37.395142][ T6445] ---- ---- [ 37.396513][ T6445] lock(&oi->ip_xattr_sem); [ 37.397710][ T6445] lock(jbd2_handle); [ 37.399419][ T6445] lock(&oi->ip_xattr_sem); [ 37.401314][ T6445] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 37.403242][ T6445] [ 37.403242][ T6445] *** DEADLOCK *** [ 37.403242][ T6445] [ 37.405635][ T6445] 3 locks held by syz-executor156/6445: [ 37.407133][ T6445] #0: ffff0000c70bc420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 37.409577][ T6445] #1: ffff0000dd5a42c0 (&sb->s_type->i_mutex_key#16){+.+.}-{4:4}, at: vfs_setxattr+0x17c/0x344 [ 37.412299][ T6445] #2: ffff0000dd5a3ff8 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 37.414914][ T6445] [ 37.414914][ T6445] stack backtrace: [ 37.416462][ T6445] CPU: 1 UID: 0 PID: 6445 Comm: syz-executor156 Not tainted 6.14.0-rc7-syzkaller-ga2392f333575 #0 [ 37.416476][ T6445] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 37.416484][ T6445] Call trace: [ 37.416488][ T6445] show_stack+0x2c/0x3c (C) [ 37.416507][ T6445] dump_stack_lvl+0xe4/0x150 [ 37.416521][ T6445] dump_stack+0x1c/0x28 [ 37.416534][ T6445] print_circular_bug+0x154/0x1c0 [ 37.416547][ T6445] check_noncircular+0x310/0x404 [ 37.416567][ T6445] __lock_acquire+0x34f0/0x7904 [ 37.416579][ T6445] lock_acquire+0x23c/0x724 [ 37.416590][ T6445] down_write+0x50/0xc0 [ 37.416605][ T6445] ocfs2_reserve_local_alloc_bits+0x108/0x24f8 [ 37.416620][ T6445] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 37.416632][ T6445] ocfs2_reserve_clusters+0x3c/0x50 [ 37.416643][ T6445] ocfs2_init_xattr_set_ctxt+0x428/0x978 [ 37.416657][ T6445] ocfs2_xattr_set+0xbe0/0x1448 [ 37.416669][ T6445] ocfs2_xattr_trusted_set+0x4c/0x64 [ 37.416681][ T6445] __vfs_setxattr+0x3d8/0x400 [ 37.416693][ T6445] __vfs_setxattr_noperm+0x110/0x578 [ 37.416711][ T6445] __vfs_setxattr_locked+0x1ec/0x218 [ 37.416723][ T6445] vfs_setxattr+0x1a8/0x344 [ 37.416733][ T6445] filename_setxattr+0x268/0x3fc [ 37.416744][ T6445] path_setxattrat+0x370/0x41c [ 37.416756][ T6445] __arm64_sys_lsetxattr+0xc0/0xdc [ 37.416768][ T6445] invoke_syscall+0x98/0x2b8 [ 37.416781][ T6445] el0_svc_common+0x130/0x23c [ 37.416793][ T6445] do_el0_svc+0x48/0x58 [ 37.416806][ T6445] el0_svc+0x54/0x168 [ 37.416816][ T6445] el0t_64_sync_handler+0x84/0x108 [ 37.416827][ T6445] el0t_64_sync+0x198/0x19c