Warning: Permanently added '10.128.1.55' (ED25519) to the list of known hosts. executing program [ 48.473613][ T4023] loop0: detected capacity change from 0 to 32768 [ 48.509869][ T4023] ======================================================= [ 48.509869][ T4023] WARNING: The mand mount option has been deprecated and [ 48.509869][ T4023] and is ignored by this kernel. Remove the mand [ 48.509869][ T4023] option from the mount to silence this warning. [ 48.509869][ T4023] ======================================================= [ 48.569888][ T4023] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 48.579445][ T4023] [ 48.580161][ T4023] ====================================================== [ 48.582054][ T4023] WARNING: possible circular locking dependency detected [ 48.584015][ T4023] 5.15.185-syzkaller #0 Not tainted [ 48.585431][ T4023] ------------------------------------------------------ [ 48.587273][ T4023] syz-executor246/4023 is trying to acquire lock: [ 48.589008][ T4023] ffff0000de7a6d88 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}, at: ocfs2_reserve_suballoc_bits+0x12c/0x3a68 [ 48.592628][ T4023] [ 48.592628][ T4023] but task is already holding lock: [ 48.594648][ T4023] ffff0000de7abff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x328/0xea8 [ 48.597255][ T4023] [ 48.597255][ T4023] which lock already depends on the new lock. [ 48.597255][ T4023] [ 48.600073][ T4023] [ 48.600073][ T4023] the existing dependency chain (in reverse order) is: [ 48.602548][ T4023] [ 48.602548][ T4023] -> #5 (&oi->ip_xattr_sem){++++}-{3:3}: [ 48.604675][ T4023] down_read+0xc0/0x390 [ 48.606075][ T4023] ocfs2_init_acl+0x260/0x604 [ 48.607570][ T4023] ocfs2_mknod+0x114c/0x1e88 [ 48.609003][ T4023] ocfs2_create+0x180/0x468 [ 48.610425][ T4023] path_openat+0x1144/0x26e4 [ 48.611939][ T4023] do_filp_open+0x164/0x330 [ 48.613371][ T4023] do_sys_openat2+0x128/0x3d8 [ 48.614897][ T4023] __arm64_sys_openat+0x120/0x154 [ 48.616502][ T4023] invoke_syscall+0x98/0x2b8 [ 48.617975][ T4023] el0_svc_common+0x138/0x258 [ 48.619487][ T4023] do_el0_svc+0x58/0x14c [ 48.620807][ T4023] el0_svc+0x78/0x1e0 [ 48.622138][ T4023] el0t_64_sync_handler+0xcc/0xe4 [ 48.623769][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 48.625207][ T4023] [ 48.625207][ T4023] -> #4 (jbd2_handle){++++}-{0:0}: [ 48.627330][ T4023] start_this_handle+0xef4/0x11a4 [ 48.628889][ T4023] jbd2__journal_start+0x28c/0x744 [ 48.630489][ T4023] jbd2_journal_start+0x3c/0x4c [ 48.632041][ T4023] ocfs2_start_trans+0x43c/0x794 [ 48.633646][ T4023] ocfs2_mknod+0xc60/0x1e88 [ 48.635071][ T4023] ocfs2_create+0x180/0x468 [ 48.636543][ T4023] path_openat+0x1144/0x26e4 [ 48.638005][ T4023] do_filp_open+0x164/0x330 [ 48.639431][ T4023] do_sys_openat2+0x128/0x3d8 [ 48.640868][ T4023] __arm64_sys_openat+0x120/0x154 [ 48.642457][ T4023] invoke_syscall+0x98/0x2b8 [ 48.643667][ T4023] el0_svc_common+0x138/0x258 [ 48.644935][ T4023] do_el0_svc+0x58/0x14c [ 48.646111][ T4023] el0_svc+0x78/0x1e0 [ 48.647181][ T4023] el0t_64_sync_handler+0xcc/0xe4 [ 48.648496][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 48.649705][ T4023] [ 48.649705][ T4023] -> #3 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 48.651733][ T4023] down_read+0xc0/0x390 [ 48.652853][ T4023] ocfs2_start_trans+0x430/0x794 [ 48.654181][ T4023] ocfs2_mknod+0xc60/0x1e88 [ 48.655470][ T4023] ocfs2_create+0x180/0x468 [ 48.656892][ T4023] path_openat+0x1144/0x26e4 [ 48.658346][ T4023] do_filp_open+0x164/0x330 [ 48.659820][ T4023] do_sys_openat2+0x128/0x3d8 [ 48.661278][ T4023] __arm64_sys_openat+0x120/0x154 [ 48.662874][ T4023] invoke_syscall+0x98/0x2b8 [ 48.664318][ T4023] el0_svc_common+0x138/0x258 [ 48.665792][ T4023] do_el0_svc+0x58/0x14c [ 48.667182][ T4023] el0_svc+0x78/0x1e0 [ 48.668493][ T4023] el0t_64_sync_handler+0xcc/0xe4 [ 48.670072][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 48.671604][ T4023] [ 48.671604][ T4023] -> #2 (sb_internal#2){.+.+}-{0:0}: [ 48.673678][ T4023] ocfs2_start_trans+0x2c4/0x794 [ 48.675172][ T4023] ocfs2_mknod+0xc60/0x1e88 [ 48.676508][ T4023] ocfs2_create+0x180/0x468 [ 48.677868][ T4023] path_openat+0x1144/0x26e4 [ 48.679197][ T4023] do_filp_open+0x164/0x330 [ 48.680536][ T4023] do_sys_openat2+0x128/0x3d8 [ 48.681949][ T4023] __arm64_sys_openat+0x120/0x154 [ 48.683484][ T4023] invoke_syscall+0x98/0x2b8 [ 48.685060][ T4023] el0_svc_common+0x138/0x258 [ 48.686509][ T4023] do_el0_svc+0x58/0x14c [ 48.687772][ T4023] el0_svc+0x78/0x1e0 [ 48.689019][ T4023] el0t_64_sync_handler+0xcc/0xe4 [ 48.690535][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 48.692022][ T4023] [ 48.692022][ T4023] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{3:3}: [ 48.694976][ T4023] down_write+0xbc/0x12c [ 48.696274][ T4023] ocfs2_reserve_local_alloc_bits+0xf8/0x260c [ 48.698018][ T4023] ocfs2_reserve_clusters_with_limit+0x198/0x9e0 [ 48.699824][ T4023] ocfs2_reserve_clusters+0x3c/0x50 [ 48.701344][ T4023] ocfs2_mknod+0xc10/0x1e88 [ 48.702699][ T4023] ocfs2_create+0x180/0x468 [ 48.704134][ T4023] path_openat+0x1144/0x26e4 [ 48.705626][ T4023] do_filp_open+0x164/0x330 [ 48.706958][ T4023] do_sys_openat2+0x128/0x3d8 [ 48.708379][ T4023] __arm64_sys_openat+0x120/0x154 [ 48.709834][ T4023] invoke_syscall+0x98/0x2b8 [ 48.711226][ T4023] el0_svc_common+0x138/0x258 [ 48.712638][ T4023] do_el0_svc+0x58/0x14c [ 48.713945][ T4023] el0_svc+0x78/0x1e0 [ 48.715234][ T4023] el0t_64_sync_handler+0xcc/0xe4 [ 48.716736][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 48.718067][ T4023] [ 48.718067][ T4023] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}: [ 48.721128][ T4023] __lock_acquire+0x2928/0x651c [ 48.722612][ T4023] lock_acquire+0x1f4/0x620 [ 48.723975][ T4023] down_write+0xbc/0x12c [ 48.725312][ T4023] ocfs2_reserve_suballoc_bits+0x12c/0x3a68 [ 48.727085][ T4023] ocfs2_reserve_new_metadata_blocks+0x34c/0x7d8 [ 48.728986][ T4023] ocfs2_init_xattr_set_ctxt+0x2f8/0x750 [ 48.730689][ T4023] ocfs2_xattr_set+0x928/0xea8 [ 48.732148][ T4023] ocfs2_xattr_security_set+0x4c/0x64 [ 48.733930][ T4023] __vfs_setxattr+0x388/0x3a4 [ 48.735362][ T4023] __vfs_setxattr_noperm+0x120/0x564 [ 48.736999][ T4023] __vfs_setxattr_locked+0x1ec/0x218 [ 48.738701][ T4023] vfs_setxattr+0x158/0x2ac [ 48.740041][ T4023] setxattr+0x248/0x2ac [ 48.741389][ T4023] path_setxattr+0x12c/0x25c [ 48.742753][ T4023] __arm64_sys_setxattr+0xbc/0xd8 [ 48.744276][ T4023] invoke_syscall+0x98/0x2b8 [ 48.745689][ T4023] el0_svc_common+0x138/0x258 [ 48.747127][ T4023] do_el0_svc+0x58/0x14c [ 48.748420][ T4023] el0_svc+0x78/0x1e0 [ 48.749653][ T4023] el0t_64_sync_handler+0xcc/0xe4 [ 48.751185][ T4023] el0t_64_sync+0x1a0/0x1a4 [ 48.752464][ T4023] [ 48.752464][ T4023] other info that might help us debug this: [ 48.752464][ T4023] [ 48.755277][ T4023] Chain exists of: [ 48.755277][ T4023] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3 --> jbd2_handle --> &oi->ip_xattr_sem [ 48.755277][ T4023] [ 48.759696][ T4023] Possible unsafe locking scenario: [ 48.759696][ T4023] [ 48.761749][ T4023] CPU0 CPU1 [ 48.763278][ T4023] ---- ---- [ 48.764691][ T4023] lock(&oi->ip_xattr_sem); [ 48.765974][ T4023] lock(jbd2_handle); [ 48.767784][ T4023] lock(&oi->ip_xattr_sem); [ 48.769760][ T4023] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3); [ 48.771740][ T4023] [ 48.771740][ T4023] *** DEADLOCK *** [ 48.771740][ T4023] [ 48.774167][ T4023] 3 locks held by syz-executor246/4023: [ 48.775677][ T4023] #0: ffff0000c1eb4460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 48.778193][ T4023] #1: ffff0000de7ac2c8 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_setxattr+0x138/0x2ac [ 48.781078][ T4023] #2: ffff0000de7abff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x328/0xea8 [ 48.783946][ T4023] [ 48.783946][ T4023] stack backtrace: [ 48.785652][ T4023] CPU: 0 PID: 4023 Comm: syz-executor246 Not tainted 5.15.185-syzkaller #0 [ 48.788043][ T4023] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 [ 48.790840][ T4023] Call trace: [ 48.791763][ T4023] dump_backtrace+0x0/0x43c [ 48.793030][ T4023] show_stack+0x2c/0x3c [ 48.794177][ T4023] __dump_stack+0x30/0x40 [ 48.795375][ T4023] dump_stack_lvl+0xf8/0x160 [ 48.796619][ T4023] dump_stack+0x1c/0x5c [ 48.797704][ T4023] print_circular_bug+0x148/0x1b0 [ 48.799087][ T4023] check_noncircular+0x240/0x2d4 [ 48.800511][ T4023] __lock_acquire+0x2928/0x651c [ 48.801879][ T4023] lock_acquire+0x1f4/0x620 [ 48.803255][ T4023] down_write+0xbc/0x12c [ 48.804443][ T4023] ocfs2_reserve_suballoc_bits+0x12c/0x3a68 [ 48.806075][ T4023] ocfs2_reserve_new_metadata_blocks+0x34c/0x7d8 [ 48.807920][ T4023] ocfs2_init_xattr_set_ctxt+0x2f8/0x750 [ 48.809485][ T4023] ocfs2_xattr_set+0x928/0xea8 [ 48.810774][ T4023] ocfs2_xattr_security_set+0x4c/0x64 [ 48.812264][ T4023] __vfs_setxattr+0x388/0x3a4 [ 48.813626][ T4023] __vfs_setxattr_noperm+0x120/0x564 [ 48.815106][ T4023] __vfs_setxattr_locked+0x1ec/0x218 [ 48.816572][ T4023] vfs_setxattr+0x158/0x2ac [ 48.817724][ T4023] setxattr+0x248/0x2ac [ 48.818810][ T4023] path_setxattr+0x12c/0x25c [ 48.820090][ T4023] __arm64_sys_setxattr+0xbc/0xd8 [ 48.821445][ T4023] invoke_syscall+0x98/0x2b8 [ 48.822757][ T4023] el0_svc_common+0x138/0x258 [ 48.824064][ T4023] do_el0_svc+0x58/0x14c [ 48.825211][ T4023] el0_svc+0x78/0x1e0 [ 48.826219][ T4023] el0t_64_sync_handler+0xcc/0xe4 [ 48.827594][ T4023] el0t_64_sync+0x1a0/0x1a4