Warning: Permanently added '10.128.1.115' (ED25519) to the list of known hosts. executing program [ 32.966550][ T6439] loop0: detected capacity change from 0 to 32768 [ 32.970001][ T6439] ======================================================= [ 32.970001][ T6439] WARNING: The mand mount option has been deprecated and [ 32.970001][ T6439] and is ignored by this kernel. Remove the mand [ 32.970001][ T6439] option from the mount to silence this warning. [ 32.970001][ T6439] ======================================================= [ 32.988218][ T6439] JBD2: Ignoring recovery information on journal [ 33.010748][ T6439] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 33.020186][ T6439] [ 33.020785][ T6439] ====================================================== [ 33.022471][ T6439] WARNING: possible circular locking dependency detected [ 33.024184][ T6439] 6.14.0-rc6-syzkaller-ga5618886fdab #0 Not tainted [ 33.025773][ T6439] ------------------------------------------------------ [ 33.027510][ T6439] syz-executor224/6439 is trying to acquire lock: [ 33.029179][ T6439] ffff0000dd2b2640 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}, at: ocfs2_reserve_local_alloc_bits+0x108/0x24f8 [ 33.032552][ T6439] [ 33.032552][ T6439] but task is already holding lock: [ 33.034342][ T6439] ffff0000dd2b3ff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 33.036624][ T6439] [ 33.036624][ T6439] which lock already depends on the new lock. [ 33.036624][ T6439] [ 33.039189][ T6439] [ 33.039189][ T6439] the existing dependency chain (in reverse order) is: [ 33.041366][ T6439] [ 33.041366][ T6439] -> #4 (&oi->ip_xattr_sem){++++}-{4:4}: [ 33.043287][ T6439] down_read+0x58/0x2fc [ 33.044426][ T6439] ocfs2_init_acl+0x2c8/0x764 [ 33.045657][ T6439] ocfs2_mknod+0x1388/0x2438 [ 33.046915][ T6439] ocfs2_create+0x194/0x4d4 [ 33.048215][ T6439] path_openat+0x13ec/0x2b1c [ 33.049442][ T6439] do_filp_open+0x1e8/0x404 [ 33.050676][ T6439] do_sys_openat2+0x124/0x1b8 [ 33.051985][ T6439] __arm64_sys_openat+0x1f0/0x240 [ 33.053326][ T6439] invoke_syscall+0x98/0x2b8 [ 33.054569][ T6439] el0_svc_common+0x130/0x23c [ 33.055789][ T6439] do_el0_svc+0x48/0x58 [ 33.056972][ T6439] el0_svc+0x54/0x168 [ 33.058030][ T6439] el0t_64_sync_handler+0x84/0x108 [ 33.059461][ T6439] el0t_64_sync+0x198/0x19c [ 33.060707][ T6439] [ 33.060707][ T6439] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 33.062567][ T6439] start_this_handle+0xf34/0x11c4 [ 33.063877][ T6439] jbd2__journal_start+0x298/0x544 [ 33.065272][ T6439] jbd2_journal_start+0x3c/0x4c [ 33.066580][ T6439] ocfs2_start_trans+0x3d0/0x71c [ 33.067916][ T6439] ocfs2_reserve_suballoc_bits+0x840/0x4254 [ 33.069460][ T6439] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 33.071118][ T6439] ocfs2_mknod+0xdc8/0x2438 [ 33.072350][ T6439] ocfs2_create+0x194/0x4d4 [ 33.073616][ T6439] path_openat+0x13ec/0x2b1c [ 33.074863][ T6439] do_filp_open+0x1e8/0x404 [ 33.076155][ T6439] do_sys_openat2+0x124/0x1b8 [ 33.077468][ T6439] __arm64_sys_openat+0x1f0/0x240 [ 33.078844][ T6439] invoke_syscall+0x98/0x2b8 [ 33.080069][ T6439] el0_svc_common+0x130/0x23c [ 33.081427][ T6439] do_el0_svc+0x48/0x58 [ 33.082585][ T6439] el0_svc+0x54/0x168 [ 33.083678][ T6439] el0t_64_sync_handler+0x84/0x108 [ 33.085061][ T6439] el0t_64_sync+0x198/0x19c [ 33.086385][ T6439] [ 33.086385][ T6439] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 33.088479][ T6439] down_read+0x58/0x2fc [ 33.089668][ T6439] ocfs2_start_trans+0x3c4/0x71c [ 33.091019][ T6439] ocfs2_reserve_suballoc_bits+0x840/0x4254 [ 33.092606][ T6439] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 33.094306][ T6439] ocfs2_mknod+0xdc8/0x2438 [ 33.095603][ T6439] ocfs2_create+0x194/0x4d4 [ 33.096864][ T6439] path_openat+0x13ec/0x2b1c [ 33.098168][ T6439] do_filp_open+0x1e8/0x404 [ 33.099420][ T6439] do_sys_openat2+0x124/0x1b8 [ 33.100695][ T6439] __arm64_sys_openat+0x1f0/0x240 [ 33.102033][ T6439] invoke_syscall+0x98/0x2b8 [ 33.103256][ T6439] el0_svc_common+0x130/0x23c [ 33.104570][ T6439] do_el0_svc+0x48/0x58 [ 33.105687][ T6439] el0_svc+0x54/0x168 [ 33.106795][ T6439] el0t_64_sync_handler+0x84/0x108 [ 33.108118][ T6439] el0t_64_sync+0x198/0x19c [ 33.109363][ T6439] [ 33.109363][ T6439] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 33.111222][ T6439] ocfs2_start_trans+0x244/0x71c [ 33.112544][ T6439] ocfs2_mknod+0xe58/0x2438 [ 33.113855][ T6439] ocfs2_create+0x194/0x4d4 [ 33.115139][ T6439] path_openat+0x13ec/0x2b1c [ 33.116411][ T6439] do_filp_open+0x1e8/0x404 [ 33.117642][ T6439] do_sys_openat2+0x124/0x1b8 [ 33.118946][ T6439] __arm64_sys_openat+0x1f0/0x240 [ 33.120363][ T6439] invoke_syscall+0x98/0x2b8 [ 33.121709][ T6439] el0_svc_common+0x130/0x23c [ 33.123015][ T6439] do_el0_svc+0x48/0x58 [ 33.124175][ T6439] el0_svc+0x54/0x168 [ 33.125233][ T6439] el0t_64_sync_handler+0x84/0x108 [ 33.126589][ T6439] el0t_64_sync+0x198/0x19c [ 33.127795][ T6439] [ 33.127795][ T6439] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}: [ 33.130400][ T6439] __lock_acquire+0x34f0/0x7904 [ 33.131683][ T6439] lock_acquire+0x23c/0x724 [ 33.132942][ T6439] down_write+0x50/0xc0 [ 33.134138][ T6439] ocfs2_reserve_local_alloc_bits+0x108/0x24f8 [ 33.135816][ T6439] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 33.137460][ T6439] ocfs2_reserve_clusters+0x3c/0x50 [ 33.138843][ T6439] ocfs2_init_xattr_set_ctxt+0x428/0x978 [ 33.140368][ T6439] ocfs2_xattr_set+0xbe0/0x1448 [ 33.141665][ T6439] ocfs2_xattr_security_set+0x4c/0x64 [ 33.143125][ T6439] __vfs_setxattr+0x3d8/0x400 [ 33.144401][ T6439] __vfs_setxattr_noperm+0x110/0x578 [ 33.145845][ T6439] __vfs_setxattr_locked+0x1ec/0x218 [ 33.147288][ T6439] vfs_setxattr+0x1a8/0x344 [ 33.148515][ T6439] filename_setxattr+0x268/0x3fc [ 33.149873][ T6439] path_setxattrat+0x370/0x41c [ 33.151240][ T6439] __arm64_sys_setxattr+0xc0/0xdc [ 33.152590][ T6439] invoke_syscall+0x98/0x2b8 [ 33.153868][ T6439] el0_svc_common+0x130/0x23c [ 33.155101][ T6439] do_el0_svc+0x48/0x58 [ 33.156305][ T6439] el0_svc+0x54/0x168 [ 33.157366][ T6439] el0t_64_sync_handler+0x84/0x108 [ 33.158762][ T6439] el0t_64_sync+0x198/0x19c [ 33.159932][ T6439] [ 33.159932][ T6439] other info that might help us debug this: [ 33.159932][ T6439] [ 33.162522][ T6439] Chain exists of: [ 33.162522][ T6439] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 33.162522][ T6439] [ 33.166332][ T6439] Possible unsafe locking scenario: [ 33.166332][ T6439] [ 33.168163][ T6439] CPU0 CPU1 [ 33.169420][ T6439] ---- ---- [ 33.170726][ T6439] lock(&oi->ip_xattr_sem); [ 33.171857][ T6439] lock(jbd2_handle); [ 33.173534][ T6439] lock(&oi->ip_xattr_sem); [ 33.175270][ T6439] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 33.177030][ T6439] [ 33.177030][ T6439] *** DEADLOCK *** [ 33.177030][ T6439] [ 33.179009][ T6439] 3 locks held by syz-executor224/6439: [ 33.180417][ T6439] #0: ffff0000d0e32420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 33.182602][ T6439] #1: ffff0000dd2b42c0 (&sb->s_type->i_mutex_key#16){+.+.}-{4:4}, at: vfs_setxattr+0x17c/0x344 [ 33.185243][ T6439] #2: ffff0000dd2b3ff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 33.187755][ T6439] [ 33.187755][ T6439] stack backtrace: [ 33.189175][ T6439] CPU: 1 UID: 0 PID: 6439 Comm: syz-executor224 Not tainted 6.14.0-rc6-syzkaller-ga5618886fdab #0 [ 33.189188][ T6439] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 33.189196][ T6439] Call trace: [ 33.189200][ T6439] show_stack+0x2c/0x3c (C) [ 33.189217][ T6439] dump_stack_lvl+0xe4/0x150 [ 33.189230][ T6439] dump_stack+0x1c/0x28 [ 33.189241][ T6439] print_circular_bug+0x154/0x1c0 [ 33.189254][ T6439] check_noncircular+0x310/0x404 [ 33.189272][ T6439] __lock_acquire+0x34f0/0x7904 [ 33.189282][ T6439] lock_acquire+0x23c/0x724 [ 33.189292][ T6439] down_write+0x50/0xc0 [ 33.189303][ T6439] ocfs2_reserve_local_alloc_bits+0x108/0x24f8 [ 33.189316][ T6439] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 33.189328][ T6439] ocfs2_reserve_clusters+0x3c/0x50 [ 33.189338][ T6439] ocfs2_init_xattr_set_ctxt+0x428/0x978 [ 33.189350][ T6439] ocfs2_xattr_set+0xbe0/0x1448 [ 33.189361][ T6439] ocfs2_xattr_security_set+0x4c/0x64 [ 33.189372][ T6439] __vfs_setxattr+0x3d8/0x400 [ 33.189383][ T6439] __vfs_setxattr_noperm+0x110/0x578 [ 33.189394][ T6439] __vfs_setxattr_locked+0x1ec/0x218 [ 33.189404][ T6439] vfs_setxattr+0x1a8/0x344 [ 33.189414][ T6439] filename_setxattr+0x268/0x3fc [ 33.189425][ T6439] path_setxattrat+0x370/0x41c [ 33.189436][ T6439] __arm64_sys_setxattr+0xc0/0xdc [ 33.189447][ T6439] invoke_syscall+0x98/0x2b8 [ 33.189459][ T6439] el0_svc_common+0x130/0x23c [ 33.189470][ T6439] do_el0_svc+0x48/0x58 [ 33.189482][ T6439] el0_svc+0x54/0x168 [ 33.189492][ T6439] el0t_64_sync_handler+0x84/0x108 [ 33.189502][ T6439] el0t_64_sync+0x198/0x19c