Warning: Permanently added '10.128.10.38' (ED25519) to the list of known hosts. executing program [ 40.461505][ T4021] loop0: detected capacity change from 0 to 32768 [ 40.509667][ T4021] ======================================================= [ 40.509667][ T4021] WARNING: The mand mount option has been deprecated and [ 40.509667][ T4021] and is ignored by this kernel. Remove the mand [ 40.509667][ T4021] option from the mount to silence this warning. [ 40.509667][ T4021] ======================================================= [ 40.559322][ T4021] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 40.567471][ T4021] [ 40.568091][ T4021] ====================================================== [ 40.569891][ T4021] WARNING: possible circular locking dependency detected [ 40.571689][ T4021] 5.15.182-syzkaller #0 Not tainted [ 40.573002][ T4021] ------------------------------------------------------ [ 40.574828][ T4021] syz-executor165/4021 is trying to acquire lock: [ 40.576477][ T4021] ffff0000debf6d88 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}, at: ocfs2_reserve_suballoc_bits+0x12c/0x3a68 [ 40.580132][ T4021] [ 40.580132][ T4021] but task is already holding lock: [ 40.582200][ T4021] ffff0000debfbff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x328/0xea8 [ 40.584905][ T4021] [ 40.584905][ T4021] which lock already depends on the new lock. [ 40.584905][ T4021] [ 40.587867][ T4021] [ 40.587867][ T4021] the existing dependency chain (in reverse order) is: [ 40.590395][ T4021] [ 40.590395][ T4021] -> #5 (&oi->ip_xattr_sem){++++}-{3:3}: [ 40.592600][ T4021] down_read+0xc0/0x390 [ 40.593911][ T4021] ocfs2_init_acl+0x260/0x604 [ 40.595418][ T4021] ocfs2_mknod+0x114c/0x1e88 [ 40.596852][ T4021] ocfs2_create+0x180/0x468 [ 40.598269][ T4021] path_openat+0x1144/0x26e4 [ 40.599701][ T4021] do_filp_open+0x164/0x330 [ 40.601129][ T4021] do_sys_openat2+0x128/0x3d8 [ 40.602632][ T4021] __arm64_sys_openat+0x120/0x154 [ 40.604219][ T4021] invoke_syscall+0x98/0x2b8 [ 40.605688][ T4021] el0_svc_common+0x138/0x258 [ 40.607150][ T4021] do_el0_svc+0x58/0x14c [ 40.608425][ T4021] el0_svc+0x78/0x1e0 [ 40.609611][ T4021] el0t_64_sync_handler+0xcc/0xe4 [ 40.611065][ T4021] el0t_64_sync+0x1a0/0x1a4 [ 40.612383][ T4021] [ 40.612383][ T4021] -> #4 (jbd2_handle){.+.+}-{0:0}: [ 40.614322][ T4021] start_this_handle+0xef4/0x11a4 [ 40.615789][ T4021] jbd2__journal_start+0x28c/0x744 [ 40.617273][ T4021] jbd2_journal_start+0x3c/0x4c [ 40.618684][ T4021] ocfs2_start_trans+0x43c/0x794 [ 40.620133][ T4021] ocfs2_mknod+0xc60/0x1e88 [ 40.621459][ T4021] ocfs2_create+0x180/0x468 [ 40.622804][ T4021] path_openat+0x1144/0x26e4 [ 40.624188][ T4021] do_filp_open+0x164/0x330 [ 40.625533][ T4021] do_sys_openat2+0x128/0x3d8 [ 40.626982][ T4021] __arm64_sys_openat+0x120/0x154 [ 40.628543][ T4021] invoke_syscall+0x98/0x2b8 [ 40.629895][ T4021] el0_svc_common+0x138/0x258 [ 40.631264][ T4021] do_el0_svc+0x58/0x14c [ 40.632549][ T4021] el0_svc+0x78/0x1e0 [ 40.633725][ T4021] el0t_64_sync_handler+0xcc/0xe4 [ 40.635242][ T4021] el0t_64_sync+0x1a0/0x1a4 [ 40.636584][ T4021] [ 40.636584][ T4021] -> #3 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 40.638826][ T4021] down_read+0xc0/0x390 [ 40.640052][ T4021] ocfs2_start_trans+0x430/0x794 [ 40.641514][ T4021] ocfs2_mknod+0xc60/0x1e88 [ 40.642870][ T4021] ocfs2_create+0x180/0x468 [ 40.644197][ T4021] path_openat+0x1144/0x26e4 [ 40.645568][ T4021] do_filp_open+0x164/0x330 [ 40.646895][ T4021] do_sys_openat2+0x128/0x3d8 [ 40.648268][ T4021] __arm64_sys_openat+0x120/0x154 [ 40.649721][ T4021] invoke_syscall+0x98/0x2b8 [ 40.651068][ T4021] el0_svc_common+0x138/0x258 [ 40.652438][ T4021] do_el0_svc+0x58/0x14c [ 40.653689][ T4021] el0_svc+0x78/0x1e0 [ 40.654922][ T4021] el0t_64_sync_handler+0xcc/0xe4 [ 40.656440][ T4021] el0t_64_sync+0x1a0/0x1a4 [ 40.657816][ T4021] [ 40.657816][ T4021] -> #2 (sb_internal#2){.+.+}-{0:0}: [ 40.659925][ T4021] ocfs2_start_trans+0x2c4/0x794 [ 40.661419][ T4021] ocfs2_mknod+0xc60/0x1e88 [ 40.662800][ T4021] ocfs2_create+0x180/0x468 [ 40.664164][ T4021] path_openat+0x1144/0x26e4 [ 40.665593][ T4021] do_filp_open+0x164/0x330 [ 40.666904][ T4021] do_sys_openat2+0x128/0x3d8 [ 40.668295][ T4021] __arm64_sys_openat+0x120/0x154 [ 40.669759][ T4021] invoke_syscall+0x98/0x2b8 [ 40.671107][ T4021] el0_svc_common+0x138/0x258 [ 40.672487][ T4021] do_el0_svc+0x58/0x14c [ 40.673737][ T4021] el0_svc+0x78/0x1e0 [ 40.674933][ T4021] el0t_64_sync_handler+0xcc/0xe4 [ 40.676411][ T4021] el0t_64_sync+0x1a0/0x1a4 [ 40.677730][ T4021] [ 40.677730][ T4021] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{3:3}: [ 40.680703][ T4021] down_write+0xbc/0x12c [ 40.682038][ T4021] ocfs2_reserve_local_alloc_bits+0xf8/0x260c [ 40.683978][ T4021] ocfs2_reserve_clusters_with_limit+0x198/0x9e0 [ 40.685989][ T4021] ocfs2_reserve_clusters+0x3c/0x50 [ 40.687608][ T4021] ocfs2_mknod+0xc10/0x1e88 [ 40.689079][ T4021] ocfs2_create+0x180/0x468 [ 40.690545][ T4021] path_openat+0x1144/0x26e4 [ 40.691974][ T4021] do_filp_open+0x164/0x330 [ 40.693468][ T4021] do_sys_openat2+0x128/0x3d8 [ 40.694985][ T4021] __arm64_sys_openat+0x120/0x154 [ 40.696681][ T4021] invoke_syscall+0x98/0x2b8 [ 40.698154][ T4021] el0_svc_common+0x138/0x258 [ 40.699644][ T4021] do_el0_svc+0x58/0x14c [ 40.701000][ T4021] el0_svc+0x78/0x1e0 [ 40.702279][ T4021] el0t_64_sync_handler+0xcc/0xe4 [ 40.703852][ T4021] el0t_64_sync+0x1a0/0x1a4 [ 40.705268][ T4021] [ 40.705268][ T4021] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}: [ 40.708162][ T4021] __lock_acquire+0x2928/0x651c [ 40.709633][ T4021] lock_acquire+0x1f4/0x620 [ 40.710984][ T4021] down_write+0xbc/0x12c [ 40.712260][ T4021] ocfs2_reserve_suballoc_bits+0x12c/0x3a68 [ 40.714039][ T4021] ocfs2_reserve_new_metadata_blocks+0x34c/0x7d8 [ 40.715867][ T4021] ocfs2_init_xattr_set_ctxt+0x2f8/0x750 [ 40.717582][ T4021] ocfs2_xattr_set+0x928/0xea8 [ 40.719002][ T4021] ocfs2_xattr_trusted_set+0x4c/0x64 [ 40.720607][ T4021] __vfs_setxattr+0x388/0x3a4 [ 40.722039][ T4021] __vfs_setxattr_noperm+0x120/0x564 [ 40.723640][ T4021] __vfs_setxattr_locked+0x1ec/0x218 [ 40.725204][ T4021] vfs_setxattr+0x158/0x2ac [ 40.726609][ T4021] setxattr+0x248/0x2ac [ 40.727876][ T4021] path_setxattr+0x12c/0x25c [ 40.729318][ T4021] __arm64_sys_lsetxattr+0xbc/0xd8 [ 40.730828][ T4021] invoke_syscall+0x98/0x2b8 [ 40.732261][ T4021] el0_svc_common+0x138/0x258 [ 40.733652][ T4021] do_el0_svc+0x58/0x14c [ 40.735039][ T4021] el0_svc+0x78/0x1e0 [ 40.736259][ T4021] el0t_64_sync_handler+0xcc/0xe4 [ 40.737760][ T4021] el0t_64_sync+0x1a0/0x1a4 [ 40.739162][ T4021] [ 40.739162][ T4021] other info that might help us debug this: [ 40.739162][ T4021] [ 40.741881][ T4021] Chain exists of: [ 40.741881][ T4021] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3 --> jbd2_handle --> &oi->ip_xattr_sem [ 40.741881][ T4021] [ 40.746166][ T4021] Possible unsafe locking scenario: [ 40.746166][ T4021] [ 40.748191][ T4021] CPU0 CPU1 [ 40.749646][ T4021] ---- ---- [ 40.751202][ T4021] lock(&oi->ip_xattr_sem); [ 40.752501][ T4021] lock(jbd2_handle); [ 40.754343][ T4021] lock(&oi->ip_xattr_sem); [ 40.756251][ T4021] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3); [ 40.758283][ T4021] [ 40.758283][ T4021] *** DEADLOCK *** [ 40.758283][ T4021] [ 40.760463][ T4021] 3 locks held by syz-executor165/4021: [ 40.761958][ T4021] #0: ffff0000c20ee460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 40.764499][ T4021] #1: ffff0000debfc2c8 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_setxattr+0x138/0x2ac [ 40.767299][ T4021] #2: ffff0000debfbff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x328/0xea8 [ 40.770002][ T4021] [ 40.770002][ T4021] stack backtrace: [ 40.771621][ T4021] CPU: 0 PID: 4021 Comm: syz-executor165 Not tainted 5.15.182-syzkaller #0 [ 40.774019][ T4021] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 [ 40.776777][ T4021] Call trace: [ 40.777670][ T4021] dump_backtrace+0x0/0x43c [ 40.778966][ T4021] show_stack+0x2c/0x3c [ 40.780126][ T4021] __dump_stack+0x30/0x40 [ 40.781349][ T4021] dump_stack_lvl+0xf8/0x160 [ 40.782697][ T4021] dump_stack+0x1c/0x5c [ 40.783924][ T4021] print_circular_bug+0x148/0x1b0 [ 40.785439][ T4021] check_noncircular+0x240/0x2d4 [ 40.786893][ T4021] __lock_acquire+0x2928/0x651c [ 40.788286][ T4021] lock_acquire+0x1f4/0x620 [ 40.789600][ T4021] down_write+0xbc/0x12c [ 40.790822][ T4021] ocfs2_reserve_suballoc_bits+0x12c/0x3a68 [ 40.792522][ T4021] ocfs2_reserve_new_metadata_blocks+0x34c/0x7d8 [ 40.794386][ T4021] ocfs2_init_xattr_set_ctxt+0x2f8/0x750 [ 40.796024][ T4021] ocfs2_xattr_set+0x928/0xea8 [ 40.797465][ T4021] ocfs2_xattr_trusted_set+0x4c/0x64 [ 40.799017][ T4021] __vfs_setxattr+0x388/0x3a4 [ 40.800439][ T4021] __vfs_setxattr_noperm+0x120/0x564 [ 40.801973][ T4021] __vfs_setxattr_locked+0x1ec/0x218 [ 40.803454][ T4021] vfs_setxattr+0x158/0x2ac [ 40.804747][ T4021] setxattr+0x248/0x2ac [ 40.805878][ T4021] path_setxattr+0x12c/0x25c [ 40.807258][ T4021] __arm64_sys_lsetxattr+0xbc/0xd8 [ 40.808708][ T4021] invoke_syscall+0x98/0x2b8 [ 40.810002][ T4021] el0_svc_common+0x138/0x258 [ 40.811382][ T4021] do_el0_svc+0x58/0x14c [ 40.812554][ T4021] el0_svc+0x78/0x1e0 [ 40.813679][ T4021] el0t_64_sync_handler+0xcc/0xe4 [ 40.815051][ T4021] el0t_64_sync+0x1a0/0x1a4