Warning: Permanently added '10.128.10.48' (ED25519) to the list of known hosts. executing program [ 37.336173][ T6419] loop0: detected capacity change from 0 to 32768 [ 37.338989][ T6419] ======================================================= [ 37.338989][ T6419] WARNING: The mand mount option has been deprecated and [ 37.338989][ T6419] and is ignored by this kernel. Remove the mand [ 37.338989][ T6419] option from the mount to silence this warning. [ 37.338989][ T6419] ======================================================= [ 37.359184][ T6419] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 37.371784][ T6419] [ 37.372335][ T6419] ====================================================== [ 37.373765][ T6419] WARNING: possible circular locking dependency detected [ 37.375256][ T6419] 6.13.0-rc7-syzkaller-g1950a0af2d55 #0 Not tainted [ 37.376574][ T6419] ------------------------------------------------------ [ 37.378198][ T6419] syz-executor223/6419 is trying to acquire lock: [ 37.379683][ T6419] ffff0000dd18a640 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}, at: ocfs2_reserve_local_alloc_bits+0x108/0x24cc [ 37.382682][ T6419] [ 37.382682][ T6419] but task is already holding lock: [ 37.384290][ T6419] ffff0000dd18bff8 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 37.386457][ T6419] [ 37.386457][ T6419] which lock already depends on the new lock. [ 37.386457][ T6419] [ 37.388815][ T6419] [ 37.388815][ T6419] the existing dependency chain (in reverse order) is: [ 37.390792][ T6419] [ 37.390792][ T6419] -> #4 (&oi->ip_xattr_sem){+.+.}-{4:4}: [ 37.392527][ T6419] down_write+0x50/0xc0 [ 37.393561][ T6419] ocfs2_xattr_set_handle+0x40c/0x824 [ 37.394868][ T6419] ocfs2_init_security_set+0xb4/0xd8 [ 37.396137][ T6419] ocfs2_mknod+0x1408/0x2438 [ 37.397319][ T6419] ocfs2_create+0x194/0x4d4 [ 37.398341][ T6419] path_openat+0x13e4/0x2b14 [ 37.399396][ T6419] do_filp_open+0x1e8/0x404 [ 37.400420][ T6419] do_sys_openat2+0x124/0x1b8 [ 37.401556][ T6419] __arm64_sys_openat+0x1f0/0x240 [ 37.402793][ T6419] invoke_syscall+0x98/0x2b8 [ 37.403948][ T6419] el0_svc_common+0x130/0x23c [ 37.405073][ T6419] do_el0_svc+0x48/0x58 [ 37.406205][ T6419] el0_svc+0x54/0x168 [ 37.407239][ T6419] el0t_64_sync_handler+0x84/0x108 [ 37.408530][ T6419] el0t_64_sync+0x198/0x19c [ 37.409567][ T6419] [ 37.409567][ T6419] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 37.411087][ T6419] start_this_handle+0xf34/0x11c4 [ 37.412269][ T6419] jbd2__journal_start+0x298/0x544 [ 37.413427][ T6419] jbd2_journal_start+0x3c/0x4c [ 37.414658][ T6419] ocfs2_start_trans+0x3d0/0x71c [ 37.415825][ T6419] ocfs2_reserve_suballoc_bits+0x840/0x4254 [ 37.417221][ T6419] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 37.418649][ T6419] ocfs2_mknod+0xdc8/0x2438 [ 37.419665][ T6419] ocfs2_create+0x194/0x4d4 [ 37.420676][ T6419] path_openat+0x13e4/0x2b14 [ 37.421805][ T6419] do_filp_open+0x1e8/0x404 [ 37.422950][ T6419] do_sys_openat2+0x124/0x1b8 [ 37.424142][ T6419] __arm64_sys_openat+0x1f0/0x240 [ 37.425358][ T6419] invoke_syscall+0x98/0x2b8 [ 37.426456][ T6419] el0_svc_common+0x130/0x23c [ 37.427648][ T6419] do_el0_svc+0x48/0x58 [ 37.428643][ T6419] el0_svc+0x54/0x168 [ 37.429719][ T6419] el0t_64_sync_handler+0x84/0x108 [ 37.430872][ T6419] el0t_64_sync+0x198/0x19c [ 37.431939][ T6419] [ 37.431939][ T6419] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 37.433785][ T6419] down_read+0x58/0x2fc [ 37.434826][ T6419] ocfs2_start_trans+0x3c4/0x71c [ 37.436006][ T6419] ocfs2_reserve_suballoc_bits+0x840/0x4254 [ 37.437391][ T6419] ocfs2_reserve_new_metadata_blocks+0x384/0x848 [ 37.438898][ T6419] ocfs2_mknod+0xdc8/0x2438 [ 37.439960][ T6419] ocfs2_create+0x194/0x4d4 [ 37.441056][ T6419] path_openat+0x13e4/0x2b14 [ 37.442145][ T6419] do_filp_open+0x1e8/0x404 [ 37.443253][ T6419] do_sys_openat2+0x124/0x1b8 [ 37.444404][ T6419] __arm64_sys_openat+0x1f0/0x240 [ 37.445562][ T6419] invoke_syscall+0x98/0x2b8 [ 37.446709][ T6419] el0_svc_common+0x130/0x23c [ 37.447859][ T6419] do_el0_svc+0x48/0x58 [ 37.448977][ T6419] el0_svc+0x54/0x168 [ 37.450017][ T6419] el0t_64_sync_handler+0x84/0x108 [ 37.451281][ T6419] el0t_64_sync+0x198/0x19c [ 37.452439][ T6419] [ 37.452439][ T6419] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 37.454150][ T6419] ocfs2_start_trans+0x244/0x71c [ 37.455371][ T6419] ocfs2_mknod+0xe58/0x2438 [ 37.456441][ T6419] ocfs2_create+0x194/0x4d4 [ 37.457568][ T6419] path_openat+0x13e4/0x2b14 [ 37.458659][ T6419] do_filp_open+0x1e8/0x404 [ 37.459730][ T6419] do_sys_openat2+0x124/0x1b8 [ 37.460848][ T6419] __arm64_sys_openat+0x1f0/0x240 [ 37.462208][ T6419] invoke_syscall+0x98/0x2b8 [ 37.463374][ T6419] el0_svc_common+0x130/0x23c [ 37.464553][ T6419] do_el0_svc+0x48/0x58 [ 37.465536][ T6419] el0_svc+0x54/0x168 [ 37.466541][ T6419] el0t_64_sync_handler+0x84/0x108 [ 37.467704][ T6419] el0t_64_sync+0x198/0x19c [ 37.468739][ T6419] [ 37.468739][ T6419] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}: [ 37.471148][ T6419] __lock_acquire+0x34f0/0x7904 [ 37.472357][ T6419] lock_acquire+0x23c/0x724 [ 37.473542][ T6419] down_write+0x50/0xc0 [ 37.474670][ T6419] ocfs2_reserve_local_alloc_bits+0x108/0x24cc [ 37.476292][ T6419] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 37.477713][ T6419] ocfs2_reserve_clusters+0x3c/0x50 [ 37.478827][ T6419] ocfs2_init_xattr_set_ctxt+0x3fc/0x95c [ 37.480171][ T6419] ocfs2_xattr_set+0xbe0/0x1448 [ 37.481312][ T6419] ocfs2_xattr_trusted_set+0x4c/0x64 [ 37.482598][ T6419] __vfs_setxattr+0x3d8/0x400 [ 37.483752][ T6419] __vfs_setxattr_noperm+0x110/0x578 [ 37.485166][ T6419] __vfs_setxattr_locked+0x1ec/0x218 [ 37.486374][ T6419] vfs_setxattr+0x1a8/0x344 [ 37.487446][ T6419] filename_setxattr+0x260/0x404 [ 37.488768][ T6419] path_setxattrat+0x370/0x41c [ 37.489891][ T6419] __arm64_sys_lsetxattr+0xc0/0xdc [ 37.491110][ T6419] invoke_syscall+0x98/0x2b8 [ 37.492281][ T6419] el0_svc_common+0x130/0x23c [ 37.493461][ T6419] do_el0_svc+0x48/0x58 [ 37.494490][ T6419] el0_svc+0x54/0x168 [ 37.495539][ T6419] el0t_64_sync_handler+0x84/0x108 [ 37.496870][ T6419] el0t_64_sync+0x198/0x19c [ 37.498030][ T6419] [ 37.498030][ T6419] other info that might help us debug this: [ 37.498030][ T6419] [ 37.500231][ T6419] Chain exists of: [ 37.500231][ T6419] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5 --> jbd2_handle --> &oi->ip_xattr_sem [ 37.500231][ T6419] [ 37.503620][ T6419] Possible unsafe locking scenario: [ 37.503620][ T6419] [ 37.505255][ T6419] CPU0 CPU1 [ 37.506363][ T6419] ---- ---- [ 37.507467][ T6419] lock(&oi->ip_xattr_sem); [ 37.508513][ T6419] lock(jbd2_handle); [ 37.509963][ T6419] lock(&oi->ip_xattr_sem); [ 37.511539][ T6419] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 37.513188][ T6419] [ 37.513188][ T6419] *** DEADLOCK *** [ 37.513188][ T6419] [ 37.515049][ T6419] 3 locks held by syz-executor223/6419: [ 37.516320][ T6419] #0: ffff0000c48ce420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 37.518259][ T6419] #1: ffff0000dd18c2c0 (&sb->s_type->i_mutex_key#16){+.+.}-{4:4}, at: vfs_setxattr+0x17c/0x344 [ 37.520404][ T6419] #2: ffff0000dd18bff8 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x4e0/0x1448 [ 37.522620][ T6419] [ 37.522620][ T6419] stack backtrace: [ 37.523929][ T6419] CPU: 0 UID: 0 PID: 6419 Comm: syz-executor223 Not tainted 6.13.0-rc7-syzkaller-g1950a0af2d55 #0 [ 37.526364][ T6419] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 [ 37.528561][ T6419] Call trace: [ 37.529258][ T6419] show_stack+0x2c/0x3c (C) [ 37.530292][ T6419] dump_stack_lvl+0xe4/0x150 [ 37.531288][ T6419] dump_stack+0x1c/0x28 [ 37.532170][ T6419] print_circular_bug+0x154/0x1c0 [ 37.533341][ T6419] check_noncircular+0x310/0x404 [ 37.534463][ T6419] __lock_acquire+0x34f0/0x7904 [ 37.535464][ T6419] lock_acquire+0x23c/0x724 [ 37.536471][ T6419] down_write+0x50/0xc0 [ 37.537454][ T6419] ocfs2_reserve_local_alloc_bits+0x108/0x24cc [ 37.538783][ T6419] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 37.540219][ T6419] ocfs2_reserve_clusters+0x3c/0x50 [ 37.541581][ T6419] ocfs2_init_xattr_set_ctxt+0x3fc/0x95c [ 37.542784][ T6419] ocfs2_xattr_set+0xbe0/0x1448 [ 37.543786][ T6419] ocfs2_xattr_trusted_set+0x4c/0x64 [ 37.544916][ T6419] __vfs_setxattr+0x3d8/0x400 [ 37.546035][ T6419] __vfs_setxattr_noperm+0x110/0x578 [ 37.547220][ T6419] __vfs_setxattr_locked+0x1ec/0x218 [ 37.548355][ T6419] vfs_setxattr+0x1a8/0x344 [ 37.549372][ T6419] filename_setxattr+0x260/0x404 [ 37.550396][ T6419] path_setxattrat+0x370/0x41c [ 37.551512][ T6419] __arm64_sys_lsetxattr+0xc0/0xdc [ 37.552710][ T6419] invoke_syscall+0x98/0x2b8 [ 37.553674][ T6419] el0_svc_common+0x130/0x23c [ 37.554664][ T6419] do_el0_svc+0x48/0x58 [ 37.555638][ T6419] el0_svc+0x54/0x168 [ 37.556512][ T6419] el0t_64_sync_handler+0x84/0x108 [ 37.557624][ T6419] el0t_64_sync+0x198/0x19c