Warning: Permanently added '10.128.1.93' (ED25519) to the list of known hosts. executing program [ 38.615317][ T6436] loop0: detected capacity change from 0 to 32768 [ 38.618834][ T6436] ======================================================= [ 38.618834][ T6436] WARNING: The mand mount option has been deprecated and [ 38.618834][ T6436] and is ignored by this kernel. Remove the mand [ 38.618834][ T6436] option from the mount to silence this warning. [ 38.618834][ T6436] ======================================================= [ 38.636065][ T6436] ocfs2: Slot 0 on device (7,0) was already allocated to this node! [ 38.643314][ T6436] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 38.653453][ T6436] [ 38.654109][ T6436] ====================================================== [ 38.656005][ T6436] WARNING: possible circular locking dependency detected [ 38.657700][ T6436] 6.14.0-rc3-syzkaller-ga1c24ab82279 #0 Not tainted [ 38.659418][ T6436] ------------------------------------------------------ [ 38.661173][ T6436] syz-executor228/6436 is trying to acquire lock: [ 38.662831][ T6436] ffff0000dcdea640 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}, at: ocfs2_reserve_local_alloc_bits+0x108/0x24f8 [ 38.666536][ T6436] [ 38.666536][ T6436] but task is already holding lock: [ 38.668507][ T6436] ffff0000dcdebff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 38.671039][ T6436] [ 38.671039][ T6436] which lock already depends on the new lock. [ 38.671039][ T6436] [ 38.673856][ T6436] [ 38.673856][ T6436] the existing dependency chain (in reverse order) is: [ 38.676351][ T6436] [ 38.676351][ T6436] -> #4 (&oi->ip_xattr_sem){++++}-{4:4}: [ 38.678438][ T6436] down_read+0x58/0x2fc [ 38.679736][ T6436] ocfs2_init_acl+0x2c8/0x764 [ 38.681162][ T6436] ocfs2_mknod+0x1388/0x2438 [ 38.682564][ T6436] ocfs2_create+0x194/0x4d4 [ 38.683960][ T6436] path_openat+0x13ec/0x2b1c [ 38.685346][ T6436] do_filp_open+0x1e8/0x404 [ 38.686748][ T6436] do_sys_openat2+0x124/0x1b8 [ 38.688104][ T6436] __arm64_sys_openat+0x1f0/0x240 [ 38.689572][ T6436] invoke_syscall+0x98/0x2b8 [ 38.690958][ T6436] el0_svc_common+0x130/0x23c [ 38.692343][ T6436] do_el0_svc+0x48/0x58 [ 38.693629][ T6436] el0_svc+0x54/0x168 [ 38.694784][ T6436] el0t_64_sync_handler+0x84/0x108 [ 38.696307][ T6436] el0t_64_sync+0x198/0x19c [ 38.697582][ T6436] [ 38.697582][ T6436] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 38.699664][ T6436] start_this_handle+0xf34/0x11c4 [ 38.701068][ T6436] jbd2__journal_start+0x298/0x544 [ 38.702519][ T6436] jbd2_journal_start+0x3c/0x4c [ 38.704349][ T6436] ocfs2_start_trans+0x3d0/0x71c [ 38.705922][ T6436] ocfs2_reserve_suballoc_bits+0x840/0x4254 [ 38.707580][ T6436] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 38.709459][ T6436] ocfs2_mknod+0xdc8/0x2438 [ 38.710840][ T6436] ocfs2_create+0x194/0x4d4 [ 38.712181][ T6436] path_openat+0x13ec/0x2b1c [ 38.713601][ T6436] do_filp_open+0x1e8/0x404 [ 38.714989][ T6436] do_sys_openat2+0x124/0x1b8 [ 38.716389][ T6436] __arm64_sys_openat+0x1f0/0x240 [ 38.717994][ T6436] invoke_syscall+0x98/0x2b8 [ 38.719403][ T6436] el0_svc_common+0x130/0x23c [ 38.720868][ T6436] do_el0_svc+0x48/0x58 [ 38.722211][ T6436] el0_svc+0x54/0x168 [ 38.723445][ T6436] el0t_64_sync_handler+0x84/0x108 [ 38.724882][ T6436] el0t_64_sync+0x198/0x19c [ 38.726208][ T6436] [ 38.726208][ T6436] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 38.728426][ T6436] down_read+0x58/0x2fc [ 38.729670][ T6436] ocfs2_start_trans+0x3c4/0x71c [ 38.731055][ T6436] ocfs2_reserve_suballoc_bits+0x840/0x4254 [ 38.732816][ T6436] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 38.734600][ T6436] ocfs2_mknod+0xdc8/0x2438 [ 38.735870][ T6436] ocfs2_create+0x194/0x4d4 [ 38.737320][ T6436] path_openat+0x13ec/0x2b1c [ 38.738632][ T6436] do_filp_open+0x1e8/0x404 [ 38.740007][ T6436] do_sys_openat2+0x124/0x1b8 [ 38.741421][ T6436] __arm64_sys_openat+0x1f0/0x240 [ 38.742915][ T6436] invoke_syscall+0x98/0x2b8 [ 38.744342][ T6436] el0_svc_common+0x130/0x23c [ 38.745758][ T6436] do_el0_svc+0x48/0x58 [ 38.747007][ T6436] el0_svc+0x54/0x168 [ 38.748191][ T6436] el0t_64_sync_handler+0x84/0x108 [ 38.749669][ T6436] el0t_64_sync+0x198/0x19c [ 38.750960][ T6436] [ 38.750960][ T6436] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 38.752927][ T6436] ocfs2_start_trans+0x244/0x71c [ 38.754387][ T6436] ocfs2_mknod+0xe58/0x2438 [ 38.755685][ T6436] ocfs2_create+0x194/0x4d4 [ 38.756995][ T6436] path_openat+0x13ec/0x2b1c [ 38.758325][ T6436] do_filp_open+0x1e8/0x404 [ 38.759585][ T6436] do_sys_openat2+0x124/0x1b8 [ 38.760922][ T6436] __arm64_sys_openat+0x1f0/0x240 [ 38.762334][ T6436] invoke_syscall+0x98/0x2b8 [ 38.763663][ T6436] el0_svc_common+0x130/0x23c [ 38.765049][ T6436] do_el0_svc+0x48/0x58 [ 38.766245][ T6436] el0_svc+0x54/0x168 [ 38.767449][ T6436] el0t_64_sync_handler+0x84/0x108 [ 38.769062][ T6436] el0t_64_sync+0x198/0x19c [ 38.770422][ T6436] [ 38.770422][ T6436] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}: [ 38.773079][ T6436] __lock_acquire+0x34f0/0x7904 [ 38.774493][ T6436] lock_acquire+0x23c/0x724 [ 38.775808][ T6436] down_write+0x50/0xc0 [ 38.777006][ T6436] ocfs2_reserve_local_alloc_bits+0x108/0x24f8 [ 38.778921][ T6436] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 38.780857][ T6436] ocfs2_reserve_clusters+0x3c/0x50 [ 38.782429][ T6436] ocfs2_init_xattr_set_ctxt+0x428/0x978 [ 38.784128][ T6436] ocfs2_xattr_set+0xbe0/0x1448 [ 38.785597][ T6436] ocfs2_xattr_security_set+0x4c/0x64 [ 38.787271][ T6436] __vfs_setxattr+0x3d8/0x400 [ 38.788606][ T6436] __vfs_setxattr_noperm+0x110/0x578 [ 38.790223][ T6436] __vfs_setxattr_locked+0x1ec/0x218 [ 38.791827][ T6436] vfs_setxattr+0x1a8/0x344 [ 38.793258][ T6436] file_setxattr+0x1bc/0x290 [ 38.794595][ T6436] path_setxattrat+0x3b0/0x41c [ 38.796006][ T6436] __arm64_sys_fsetxattr+0xc0/0xdc [ 38.797579][ T6436] invoke_syscall+0x98/0x2b8 [ 38.799023][ T6436] el0_svc_common+0x130/0x23c [ 38.800420][ T6436] do_el0_svc+0x48/0x58 [ 38.801736][ T6436] el0_svc+0x54/0x168 [ 38.803004][ T6436] el0t_64_sync_handler+0x84/0x108 [ 38.804591][ T6436] el0t_64_sync+0x198/0x19c [ 38.805899][ T6436] [ 38.805899][ T6436] other info that might help us debug this: [ 38.805899][ T6436] [ 38.808676][ T6436] Chain exists of: [ 38.808676][ T6436] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 38.808676][ T6436] [ 38.813015][ T6436] Possible unsafe locking scenario: [ 38.813015][ T6436] [ 38.815061][ T6436] CPU0 CPU1 [ 38.816543][ T6436] ---- ---- [ 38.817950][ T6436] lock(&oi->ip_xattr_sem); [ 38.819220][ T6436] lock(jbd2_handle); [ 38.821060][ T6436] lock(&oi->ip_xattr_sem); [ 38.823014][ T6436] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 38.825145][ T6436] [ 38.825145][ T6436] *** DEADLOCK *** [ 38.825145][ T6436] [ 38.827322][ T6436] 3 locks held by syz-executor228/6436: [ 38.828807][ T6436] #0: ffff0000c1f4a420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write_file+0x64/0x1e8 [ 38.831501][ T6436] #1: ffff0000dcdec2c0 (&sb->s_type->i_mutex_key#16){+.+.}-{4:4}, at: vfs_setxattr+0x17c/0x344 [ 38.834325][ T6436] #2: ffff0000dcdebff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 38.836992][ T6436] [ 38.836992][ T6436] stack backtrace: [ 38.838498][ T6436] CPU: 1 UID: 0 PID: 6436 Comm: syz-executor228 Not tainted 6.14.0-rc3-syzkaller-ga1c24ab82279 #0 [ 38.838512][ T6436] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 [ 38.838519][ T6436] Call trace: [ 38.838523][ T6436] show_stack+0x2c/0x3c (C) [ 38.838541][ T6436] dump_stack_lvl+0xe4/0x150 [ 38.838555][ T6436] dump_stack+0x1c/0x28 [ 38.838567][ T6436] print_circular_bug+0x154/0x1c0 [ 38.838580][ T6436] check_noncircular+0x310/0x404 [ 38.838591][ T6436] __lock_acquire+0x34f0/0x7904 [ 38.838602][ T6436] lock_acquire+0x23c/0x724 [ 38.838613][ T6436] down_write+0x50/0xc0 [ 38.838626][ T6436] ocfs2_reserve_local_alloc_bits+0x108/0x24f8 [ 38.838640][ T6436] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 38.838651][ T6436] ocfs2_reserve_clusters+0x3c/0x50 [ 38.838662][ T6436] ocfs2_init_xattr_set_ctxt+0x428/0x978 [ 38.838674][ T6436] ocfs2_xattr_set+0xbe0/0x1448 [ 38.838686][ T6436] ocfs2_xattr_security_set+0x4c/0x64 [ 38.838698][ T6436] __vfs_setxattr+0x3d8/0x400 [ 38.838709][ T6436] __vfs_setxattr_noperm+0x110/0x578 [ 38.838720][ T6436] __vfs_setxattr_locked+0x1ec/0x218 [ 38.838731][ T6436] vfs_setxattr+0x1a8/0x344 [ 38.838741][ T6436] file_setxattr+0x1bc/0x290 [ 38.838752][ T6436] path_setxattrat+0x3b0/0x41c [ 38.838763][ T6436] __arm64_sys_fsetxattr+0xc0/0xdc [ 38.838775][ T6436] invoke_syscall+0x98/0x2b8 [ 38.838787][ T6436] el0_svc_common+0x130/0x23c [ 38.838800][ T6436] do_el0_svc+0x48/0x58 [ 38.838812][ T6436] el0_svc+0x54/0x168 [ 38.838821][ T6436] el0t_64_sync_handler+0x84/0x108 [ 38.838831][ T6436] el0t_64_sync+0x198/0x19c