Warning: Permanently added '10.128.1.118' (ED25519) to the list of known hosts. executing program [ 35.239152][ T6416] loop0: detected capacity change from 0 to 32768 [ 35.242046][ T6416] ======================================================= [ 35.242046][ T6416] WARNING: The mand mount option has been deprecated and [ 35.242046][ T6416] and is ignored by this kernel. Remove the mand [ 35.242046][ T6416] option from the mount to silence this warning. [ 35.242046][ T6416] ======================================================= [ 35.272630][ T6416] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 35.283157][ T6416] overlayfs: upper fs does not support tmpfile. [ 35.286212][ T6416] overlayfs: upper fs does not support RENAME_WHITEOUT. [ 35.287792][ T6416] [ 35.288276][ T6416] ====================================================== [ 35.289578][ T6416] WARNING: possible circular locking dependency detected [ 35.290916][ T6416] 6.12.0-syzkaller-g7b1d1d4cfac0 #0 Not tainted [ 35.292174][ T6416] ------------------------------------------------------ [ 35.293517][ T6416] syz-executor384/6416 is trying to acquire lock: [ 35.294759][ T6416] ffff0000dce4a640 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{3:3}, at: ocfs2_reserve_local_alloc_bits+0xfc/0x247c [ 35.297413][ T6416] [ 35.297413][ T6416] but task is already holding lock: [ 35.298848][ T6416] ffff0000dce4dc78 (&oi->ip_xattr_sem){+.+.}-{3:3}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 35.300724][ T6416] [ 35.300724][ T6416] which lock already depends on the new lock. [ 35.300724][ T6416] [ 35.302771][ T6416] [ 35.302771][ T6416] the existing dependency chain (in reverse order) is: [ 35.304525][ T6416] [ 35.304525][ T6416] -> #4 (&oi->ip_xattr_sem){+.+.}-{3:3}: [ 35.306060][ T6416] down_write+0x50/0xc0 [ 35.306974][ T6416] ocfs2_xattr_set_handle+0x40c/0x824 [ 35.308119][ T6416] ocfs2_init_security_set+0xb4/0xd8 [ 35.309242][ T6416] ocfs2_mknod+0x1408/0x243c [ 35.310264][ T6416] ocfs2_mkdir+0x194/0x4e0 [ 35.311261][ T6416] vfs_mkdir+0x27c/0x410 [ 35.312194][ T6416] do_mkdirat+0x248/0x574 [ 35.313135][ T6416] __arm64_sys_mkdirat+0x8c/0xa4 [ 35.314190][ T6416] invoke_syscall+0x98/0x2b8 [ 35.315210][ T6416] el0_svc_common+0x130/0x23c [ 35.316219][ T6416] do_el0_svc+0x48/0x58 [ 35.317131][ T6416] el0_svc+0x54/0x168 [ 35.317987][ T6416] el0t_64_sync_handler+0x84/0x108 [ 35.319077][ T6416] el0t_64_sync+0x198/0x19c [ 35.320059][ T6416] [ 35.320059][ T6416] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 35.321504][ T6416] start_this_handle+0xf34/0x11c4 [ 35.322593][ T6416] jbd2__journal_start+0x298/0x544 [ 35.323672][ T6416] jbd2_journal_start+0x3c/0x4c [ 35.324714][ T6416] ocfs2_start_trans+0x3d0/0x71c [ 35.325775][ T6416] ocfs2_reserve_suballoc_bits+0x840/0x4288 [ 35.327026][ T6416] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 35.328447][ T6416] ocfs2_mknod+0xdc8/0x243c [ 35.329486][ T6416] ocfs2_mkdir+0x194/0x4e0 [ 35.330446][ T6416] vfs_mkdir+0x27c/0x410 [ 35.331401][ T6416] do_mkdirat+0x248/0x574 [ 35.332299][ T6416] __arm64_sys_mkdirat+0x8c/0xa4 [ 35.333520][ T6416] invoke_syscall+0x98/0x2b8 [ 35.334509][ T6416] el0_svc_common+0x130/0x23c [ 35.335571][ T6416] do_el0_svc+0x48/0x58 [ 35.336524][ T6416] el0_svc+0x54/0x168 [ 35.337397][ T6416] el0t_64_sync_handler+0x84/0x108 [ 35.338480][ T6416] el0t_64_sync+0x198/0x19c [ 35.339473][ T6416] [ 35.339473][ T6416] -> #2 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 35.341198][ T6416] down_read+0x58/0x2fc [ 35.342105][ T6416] ocfs2_start_trans+0x3c4/0x71c [ 35.343164][ T6416] ocfs2_reserve_suballoc_bits+0x840/0x4288 [ 35.344387][ T6416] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 35.345776][ T6416] ocfs2_mknod+0xdc8/0x243c [ 35.346793][ T6416] ocfs2_mkdir+0x194/0x4e0 [ 35.347750][ T6416] vfs_mkdir+0x27c/0x410 [ 35.348665][ T6416] do_mkdirat+0x248/0x574 [ 35.349604][ T6416] __arm64_sys_mkdirat+0x8c/0xa4 [ 35.350695][ T6416] invoke_syscall+0x98/0x2b8 [ 35.351763][ T6416] el0_svc_common+0x130/0x23c [ 35.352761][ T6416] do_el0_svc+0x48/0x58 [ 35.353680][ T6416] el0_svc+0x54/0x168 [ 35.354589][ T6416] el0t_64_sync_handler+0x84/0x108 [ 35.355727][ T6416] el0t_64_sync+0x198/0x19c [ 35.356702][ T6416] [ 35.356702][ T6416] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 35.358177][ T6416] ocfs2_start_trans+0x244/0x71c [ 35.359366][ T6416] ocfs2_mknod+0xe58/0x243c [ 35.360379][ T6416] ocfs2_mkdir+0x194/0x4e0 [ 35.361406][ T6416] vfs_mkdir+0x27c/0x410 [ 35.362322][ T6416] do_mkdirat+0x248/0x574 [ 35.363302][ T6416] __arm64_sys_mkdirat+0x8c/0xa4 [ 35.364325][ T6416] invoke_syscall+0x98/0x2b8 [ 35.365373][ T6416] el0_svc_common+0x130/0x23c [ 35.366391][ T6416] do_el0_svc+0x48/0x58 [ 35.367326][ T6416] el0_svc+0x54/0x168 [ 35.368196][ T6416] el0t_64_sync_handler+0x84/0x108 [ 35.369274][ T6416] el0t_64_sync+0x198/0x19c [ 35.370376][ T6416] [ 35.370376][ T6416] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{3:3}: [ 35.372561][ T6416] __lock_acquire+0x33f8/0x77c8 [ 35.373622][ T6416] lock_acquire+0x240/0x728 [ 35.374521][ T6416] down_write+0x50/0xc0 [ 35.375416][ T6416] ocfs2_reserve_local_alloc_bits+0xfc/0x247c [ 35.376795][ T6416] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 35.378118][ T6416] ocfs2_reserve_clusters+0x3c/0x50 [ 35.379154][ T6416] ocfs2_init_xattr_set_ctxt+0x404/0x968 [ 35.380416][ T6416] ocfs2_xattr_set+0xbe0/0x1448 [ 35.381497][ T6416] ocfs2_xattr_trusted_set+0x4c/0x64 [ 35.382729][ T6416] __vfs_setxattr+0x3d8/0x400 [ 35.383796][ T6416] __vfs_setxattr_noperm+0x110/0x578 [ 35.385014][ T6416] __vfs_setxattr_locked+0x1ec/0x218 [ 35.386217][ T6416] vfs_setxattr+0x1a8/0x344 [ 35.387198][ T6416] ovl_get_workdir+0xaf8/0x142c [ 35.388261][ T6416] ovl_fill_super+0x1004/0x2e40 [ 35.389374][ T6416] get_tree_nodev+0xb4/0x144 [ 35.390412][ T6416] ovl_get_tree+0x28/0x38 [ 35.391337][ T6416] vfs_get_tree+0x90/0x28c [ 35.392405][ T6416] do_new_mount+0x278/0x900 [ 35.393397][ T6416] path_mount+0x590/0xe04 [ 35.394367][ T6416] __arm64_sys_mount+0x4d4/0x5ac [ 35.395514][ T6416] invoke_syscall+0x98/0x2b8 [ 35.396619][ T6416] el0_svc_common+0x130/0x23c [ 35.397744][ T6416] do_el0_svc+0x48/0x58 [ 35.398654][ T6416] el0_svc+0x54/0x168 [ 35.399644][ T6416] el0t_64_sync_handler+0x84/0x108 [ 35.400773][ T6416] el0t_64_sync+0x198/0x19c [ 35.401740][ T6416] [ 35.401740][ T6416] other info that might help us debug this: [ 35.401740][ T6416] [ 35.403806][ T6416] Chain exists of: [ 35.403806][ T6416] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 35.403806][ T6416] [ 35.407078][ T6416] Possible unsafe locking scenario: [ 35.407078][ T6416] [ 35.408581][ T6416] CPU0 CPU1 [ 35.409889][ T6416] ---- ---- [ 35.410998][ T6416] lock(&oi->ip_xattr_sem); [ 35.411965][ T6416] lock(jbd2_handle); [ 35.413374][ T6416] lock(&oi->ip_xattr_sem); [ 35.414927][ T6416] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 35.416426][ T6416] [ 35.416426][ T6416] *** DEADLOCK *** [ 35.416426][ T6416] [ 35.418103][ T6416] 4 locks held by syz-executor384/6416: [ 35.419177][ T6416] #0: ffff0000c2f5c0e0 (&type->s_umount_key#44/1){+.+.}-{3:3}, at: alloc_super+0x1b0/0x83c [ 35.421246][ T6416] #1: ffff0000c303a420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 35.423059][ T6416] #2: ffff0000dce4df40 (&sb->s_type->i_mutex_key#18){++++}-{3:3}, at: vfs_setxattr+0x17c/0x344 [ 35.425367][ T6416] #3: ffff0000dce4dc78 (&oi->ip_xattr_sem){+.+.}-{3:3}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 35.427382][ T6416] [ 35.427382][ T6416] stack backtrace: [ 35.428541][ T6416] CPU: 1 UID: 0 PID: 6416 Comm: syz-executor384 Not tainted 6.12.0-syzkaller-g7b1d1d4cfac0 #0 [ 35.430712][ T6416] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 35.432885][ T6416] Call trace: [ 35.433594][ T6416] show_stack+0x2c/0x3c (C) [ 35.434471][ T6416] dump_stack_lvl+0xe4/0x150 [ 35.435481][ T6416] dump_stack+0x1c/0x28 [ 35.436359][ T6416] print_circular_bug+0x154/0x1c0 [ 35.437557][ T6416] check_noncircular+0x310/0x404 [ 35.438578][ T6416] __lock_acquire+0x33f8/0x77c8 [ 35.439498][ T6416] lock_acquire+0x240/0x728 [ 35.440376][ T6416] down_write+0x50/0xc0 [ 35.441283][ T6416] ocfs2_reserve_local_alloc_bits+0xfc/0x247c [ 35.442492][ T6416] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 35.443751][ T6416] ocfs2_reserve_clusters+0x3c/0x50 [ 35.444767][ T6416] ocfs2_init_xattr_set_ctxt+0x404/0x968 [ 35.445967][ T6416] ocfs2_xattr_set+0xbe0/0x1448 [ 35.446938][ T6416] ocfs2_xattr_trusted_set+0x4c/0x64 [ 35.447960][ T6416] __vfs_setxattr+0x3d8/0x400 [ 35.448980][ T6416] __vfs_setxattr_noperm+0x110/0x578 [ 35.450144][ T6416] __vfs_setxattr_locked+0x1ec/0x218 [ 35.451231][ T6416] vfs_setxattr+0x1a8/0x344 [ 35.452130][ T6416] ovl_get_workdir+0xaf8/0x142c [ 35.453209][ T6416] ovl_fill_super+0x1004/0x2e40 [ 35.454234][ T6416] get_tree_nodev+0xb4/0x144 [ 35.455286][ T6416] ovl_get_tree+0x28/0x38 [ 35.456190][ T6416] vfs_get_tree+0x90/0x28c [ 35.457110][ T6416] do_new_mount+0x278/0x900 [ 35.458062][ T6416] path_mount+0x590/0xe04 [ 35.458883][ T6416] __arm64_sys_mount+0x4d4/0x5ac [ 35.459841][ T6416] invoke_syscall+0x98/0x2b8 [ 35.460849][ T6416] el0_svc_common+0x130/0x23c [ 35.461730][ T6416] do_el0_svc+0x48/0x58 [ 35.462551][ T6416] el0_svc+0x54/0x168 [ 35.463330][ T6416] el0t_64_sync_handler+0x84/0x108 [ 35.464334][ T6416] el0t_64_sync+0x198/0x19c [ 35.467813][ T6416] overlayfs: upper fs missing required features.