Warning: Permanently added '10.128.1.72' (ED25519) to the list of known hosts. executing program [ 39.583412][ T4017] loop0: detected capacity change from 0 to 32768 [ 39.624426][ T4017] ======================================================= [ 39.624426][ T4017] WARNING: The mand mount option has been deprecated and [ 39.624426][ T4017] and is ignored by this kernel. Remove the mand [ 39.624426][ T4017] option from the mount to silence this warning. [ 39.624426][ T4017] ======================================================= [ 39.664252][ T4017] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 39.673107][ T4017] [ 39.673888][ T4017] ====================================================== [ 39.675740][ T4017] WARNING: possible circular locking dependency detected [ 39.677560][ T4017] 5.15.167-syzkaller #0 Not tainted [ 39.678920][ T4017] ------------------------------------------------------ [ 39.680752][ T4017] syz-executor258/4017 is trying to acquire lock: [ 39.682367][ T4017] ffff0000e182ed88 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}, at: ocfs2_reserve_suballoc_bits+0x164/0x416c [ 39.686098][ T4017] [ 39.686098][ T4017] but task is already holding lock: [ 39.688179][ T4017] ffff0000e1833ff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x4e4/0x1478 [ 39.690803][ T4017] [ 39.690803][ T4017] which lock already depends on the new lock. [ 39.690803][ T4017] [ 39.693553][ T4017] [ 39.693553][ T4017] the existing dependency chain (in reverse order) is: [ 39.695854][ T4017] [ 39.695854][ T4017] -> #5 (&oi->ip_xattr_sem){++++}-{3:3}: [ 39.698118][ T4017] down_read+0xc0/0x398 [ 39.699432][ T4017] ocfs2_init_acl+0x2d0/0x778 [ 39.700814][ T4017] ocfs2_mknod+0x1558/0x24f8 [ 39.702185][ T4017] ocfs2_mkdir+0x184/0x4c8 [ 39.703355][ T4017] vfs_mkdir+0x334/0x4e4 [ 39.704592][ T4017] do_mkdirat+0x20c/0x610 [ 39.705909][ T4017] __arm64_sys_mkdirat+0x90/0xa8 [ 39.707464][ T4017] invoke_syscall+0x98/0x2b8 [ 39.708738][ T4017] el0_svc_common+0x138/0x258 [ 39.710028][ T4017] do_el0_svc+0x58/0x14c [ 39.711347][ T4017] el0_svc+0x7c/0x1f0 [ 39.712512][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 39.714074][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 39.715442][ T4017] [ 39.715442][ T4017] -> #4 (jbd2_handle){++++}-{0:0}: [ 39.717425][ T4017] start_this_handle+0xfc0/0x12a4 [ 39.718807][ T4017] jbd2__journal_start+0x29c/0x7b4 [ 39.720263][ T4017] jbd2_journal_start+0x3c/0x4c [ 39.721635][ T4017] ocfs2_start_trans+0x468/0x804 [ 39.723010][ T4017] ocfs2_mknod+0xe68/0x24f8 [ 39.724387][ T4017] ocfs2_mkdir+0x184/0x4c8 [ 39.725585][ T4017] vfs_mkdir+0x334/0x4e4 [ 39.726835][ T4017] do_mkdirat+0x20c/0x610 [ 39.728135][ T4017] __arm64_sys_mkdirat+0x90/0xa8 [ 39.729555][ T4017] invoke_syscall+0x98/0x2b8 [ 39.731006][ T4017] el0_svc_common+0x138/0x258 [ 39.732475][ T4017] do_el0_svc+0x58/0x14c [ 39.733700][ T4017] el0_svc+0x7c/0x1f0 [ 39.734780][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 39.736158][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 39.737399][ T4017] [ 39.737399][ T4017] -> #3 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 39.739688][ T4017] down_read+0xc0/0x398 [ 39.740857][ T4017] ocfs2_start_trans+0x45c/0x804 [ 39.742224][ T4017] ocfs2_mknod+0xe68/0x24f8 [ 39.743495][ T4017] ocfs2_mkdir+0x184/0x4c8 [ 39.744772][ T4017] vfs_mkdir+0x334/0x4e4 [ 39.746025][ T4017] do_mkdirat+0x20c/0x610 [ 39.747238][ T4017] __arm64_sys_mkdirat+0x90/0xa8 [ 39.748641][ T4017] invoke_syscall+0x98/0x2b8 [ 39.750057][ T4017] el0_svc_common+0x138/0x258 [ 39.751368][ T4017] do_el0_svc+0x58/0x14c [ 39.752599][ T4017] el0_svc+0x7c/0x1f0 [ 39.753769][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 39.755048][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 39.756162][ T4017] [ 39.756162][ T4017] -> #2 (sb_internal#2){.+.+}-{0:0}: [ 39.758147][ T4017] ocfs2_start_trans+0x2dc/0x804 [ 39.759642][ T4017] ocfs2_mknod+0xe68/0x24f8 [ 39.761066][ T4017] ocfs2_mkdir+0x184/0x4c8 [ 39.762350][ T4017] vfs_mkdir+0x334/0x4e4 [ 39.763661][ T4017] do_mkdirat+0x20c/0x610 [ 39.764791][ T4017] __arm64_sys_mkdirat+0x90/0xa8 [ 39.766274][ T4017] invoke_syscall+0x98/0x2b8 [ 39.767578][ T4017] el0_svc_common+0x138/0x258 [ 39.768987][ T4017] do_el0_svc+0x58/0x14c [ 39.770238][ T4017] el0_svc+0x7c/0x1f0 [ 39.771258][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 39.772697][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 39.773897][ T4017] [ 39.773897][ T4017] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{3:3}: [ 39.776579][ T4017] down_write+0xbc/0x12c [ 39.777902][ T4017] ocfs2_reserve_local_alloc_bits+0xfc/0x2474 [ 39.779677][ T4017] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 39.781448][ T4017] ocfs2_reserve_clusters+0x3c/0x50 [ 39.782916][ T4017] ocfs2_mknod+0xe08/0x24f8 [ 39.784456][ T4017] ocfs2_mkdir+0x184/0x4c8 [ 39.785741][ T4017] vfs_mkdir+0x334/0x4e4 [ 39.787013][ T4017] do_mkdirat+0x20c/0x610 [ 39.788226][ T4017] __arm64_sys_mkdirat+0x90/0xa8 [ 39.789695][ T4017] invoke_syscall+0x98/0x2b8 [ 39.791137][ T4017] el0_svc_common+0x138/0x258 [ 39.792572][ T4017] do_el0_svc+0x58/0x14c [ 39.793946][ T4017] el0_svc+0x7c/0x1f0 [ 39.795138][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 39.796630][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 39.797982][ T4017] [ 39.797982][ T4017] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}: [ 39.800854][ T4017] __lock_acquire+0x32d4/0x7638 [ 39.802287][ T4017] lock_acquire+0x240/0x77c [ 39.803665][ T4017] down_write+0xbc/0x12c [ 39.805014][ T4017] ocfs2_reserve_suballoc_bits+0x164/0x416c [ 39.806778][ T4017] ocfs2_reserve_new_metadata_blocks+0x388/0x864 [ 39.808585][ T4017] ocfs2_init_xattr_set_ctxt+0x37c/0x950 [ 39.810219][ T4017] ocfs2_xattr_set+0xc08/0x1478 [ 39.811638][ T4017] ocfs2_xattr_security_set+0x4c/0x64 [ 39.813146][ T4017] __vfs_setxattr+0x388/0x3a4 [ 39.814455][ T4017] __vfs_setxattr_noperm+0x110/0x528 [ 39.815876][ T4017] __vfs_setxattr_locked+0x1ec/0x218 [ 39.817301][ T4017] vfs_setxattr+0x1a8/0x344 [ 39.818516][ T4017] setxattr+0x250/0x2b4 [ 39.819627][ T4017] path_setxattr+0x17c/0x258 [ 39.820980][ T4017] __arm64_sys_lsetxattr+0xbc/0xd8 [ 39.822385][ T4017] invoke_syscall+0x98/0x2b8 [ 39.823769][ T4017] el0_svc_common+0x138/0x258 [ 39.825068][ T4017] do_el0_svc+0x58/0x14c [ 39.826180][ T4017] el0_svc+0x7c/0x1f0 [ 39.827344][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 39.828775][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 39.830126][ T4017] [ 39.830126][ T4017] other info that might help us debug this: [ 39.830126][ T4017] [ 39.832902][ T4017] Chain exists of: [ 39.832902][ T4017] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3 --> jbd2_handle --> &oi->ip_xattr_sem [ 39.832902][ T4017] [ 39.836813][ T4017] Possible unsafe locking scenario: [ 39.836813][ T4017] [ 39.838585][ T4017] CPU0 CPU1 [ 39.840006][ T4017] ---- ---- [ 39.841522][ T4017] lock(&oi->ip_xattr_sem); [ 39.842745][ T4017] lock(jbd2_handle); [ 39.844531][ T4017] lock(&oi->ip_xattr_sem); [ 39.846402][ T4017] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3); [ 39.848262][ T4017] [ 39.848262][ T4017] *** DEADLOCK *** [ 39.848262][ T4017] [ 39.850269][ T4017] 3 locks held by syz-executor258/4017: [ 39.851825][ T4017] #0: ffff0000cc3ac460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 39.853932][ T4017] #1: ffff0000e18342c8 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 [ 39.856519][ T4017] #2: ffff0000e1833ff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x4e4/0x1478 [ 39.859149][ T4017] [ 39.859149][ T4017] stack backtrace: [ 39.860559][ T4017] CPU: 1 PID: 4017 Comm: syz-executor258 Not tainted 5.15.167-syzkaller #0 [ 39.862996][ T4017] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 39.865374][ T4017] Call trace: [ 39.866271][ T4017] dump_backtrace+0x0/0x530 [ 39.867413][ T4017] show_stack+0x2c/0x3c [ 39.868410][ T4017] dump_stack_lvl+0x108/0x170 [ 39.869655][ T4017] dump_stack+0x1c/0x58 [ 39.870693][ T4017] print_circular_bug+0x150/0x1b8 [ 39.872043][ T4017] check_noncircular+0x2cc/0x378 [ 39.873371][ T4017] __lock_acquire+0x32d4/0x7638 [ 39.874596][ T4017] lock_acquire+0x240/0x77c [ 39.875834][ T4017] down_write+0xbc/0x12c [ 39.877008][ T4017] ocfs2_reserve_suballoc_bits+0x164/0x416c [ 39.878612][ T4017] ocfs2_reserve_new_metadata_blocks+0x388/0x864 [ 39.880307][ T4017] ocfs2_init_xattr_set_ctxt+0x37c/0x950 [ 39.881799][ T4017] ocfs2_xattr_set+0xc08/0x1478 [ 39.883205][ T4017] ocfs2_xattr_security_set+0x4c/0x64 [ 39.884652][ T4017] __vfs_setxattr+0x388/0x3a4 [ 39.885834][ T4017] __vfs_setxattr_noperm+0x110/0x528 [ 39.887134][ T4017] __vfs_setxattr_locked+0x1ec/0x218 [ 39.888550][ T4017] vfs_setxattr+0x1a8/0x344 [ 39.889660][ T4017] setxattr+0x250/0x2b4 [ 39.890852][ T4017] path_setxattr+0x17c/0x258 [ 39.892021][ T4017] __arm64_sys_lsetxattr+0xbc/0xd8 [ 39.893345][ T4017] invoke_syscall+0x98/0x2b8 [ 39.894430][ T4017] el0_svc_common+0x138/0x258 [ 39.895501][ T4017] do_el0_svc+0x58/0x14c [ 39.896580][ T4017] el0_svc+0x7c/0x1f0 [ 39.897646][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 39.898906][ T4017] el0t_64_sync+0x1a0/0x1a4