Warning: Permanently added '10.128.1.230' (ED25519) to the list of known hosts. executing program [ 41.111983][ T4017] loop0: detected capacity change from 0 to 32768 [ 41.151959][ T4017] ======================================================= [ 41.151959][ T4017] WARNING: The mand mount option has been deprecated and [ 41.151959][ T4017] and is ignored by this kernel. Remove the mand [ 41.151959][ T4017] option from the mount to silence this warning. [ 41.151959][ T4017] ======================================================= [ 41.201769][ T4017] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 41.213950][ T4017] [ 41.214579][ T4017] ====================================================== [ 41.216359][ T4017] WARNING: possible circular locking dependency detected [ 41.217974][ T4017] 5.15.167-syzkaller #0 Not tainted [ 41.219171][ T4017] ------------------------------------------------------ [ 41.220704][ T4017] syz-executor221/4017 is trying to acquire lock: [ 41.222044][ T4017] ffff0000caf7e650 (sb_internal#2){.+.+}-{0:0}, at: ocfs2_setattr+0x94c/0x191c [ 41.224393][ T4017] [ 41.224393][ T4017] but task is already holding lock: [ 41.226004][ T4017] ffff0000ddad5be0 (&oi->ip_alloc_sem){+.+.}-{3:3}, at: ocfs2_setattr+0x940/0x191c [ 41.228272][ T4017] [ 41.228272][ T4017] which lock already depends on the new lock. [ 41.228272][ T4017] [ 41.230768][ T4017] [ 41.230768][ T4017] the existing dependency chain (in reverse order) is: [ 41.232839][ T4017] [ 41.232839][ T4017] -> #4 (&oi->ip_alloc_sem){+.+.}-{3:3}: [ 41.234733][ T4017] down_write+0xbc/0x12c [ 41.235844][ T4017] ocfs2_try_remove_refcount_tree+0xb4/0x2f0 [ 41.237322][ T4017] ocfs2_xattr_set+0x7b8/0x1478 [ 41.238681][ T4017] ocfs2_set_acl+0x410/0x4b4 [ 41.239876][ T4017] ocfs2_iop_set_acl+0x214/0x358 [ 41.241106][ T4017] posix_acl_xattr_set+0x2cc/0x378 [ 41.242426][ T4017] __vfs_removexattr+0x370/0x38c [ 41.243662][ T4017] __vfs_removexattr_locked+0x1d8/0x380 [ 41.245218][ T4017] vfs_removexattr+0xe0/0x23c [ 41.246462][ T4017] ovl_workdir_create+0x360/0x624 [ 41.247760][ T4017] ovl_get_workdir+0x344/0x1110 [ 41.249055][ T4017] ovl_fill_super+0x15b4/0x2254 [ 41.250356][ T4017] mount_nodev+0x68/0x104 [ 41.251555][ T4017] ovl_mount+0x3c/0x50 [ 41.252735][ T4017] legacy_get_tree+0xd4/0x16c [ 41.253974][ T4017] vfs_get_tree+0x90/0x274 [ 41.255185][ T4017] do_new_mount+0x278/0x8fc [ 41.256392][ T4017] path_mount+0x594/0x101c [ 41.257629][ T4017] __arm64_sys_mount+0x510/0x5e0 [ 41.258832][ T4017] invoke_syscall+0x98/0x2b8 [ 41.260070][ T4017] el0_svc_common+0x138/0x258 [ 41.261308][ T4017] do_el0_svc+0x58/0x14c [ 41.262415][ T4017] el0_svc+0x7c/0x1f0 [ 41.263530][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 41.264890][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 41.266162][ T4017] [ 41.266162][ T4017] -> #3 (&oi->ip_xattr_sem){++++}-{3:3}: [ 41.268132][ T4017] down_read+0xc0/0x398 [ 41.269168][ T4017] ocfs2_init_acl+0x2d0/0x778 [ 41.270357][ T4017] ocfs2_mknod+0x1558/0x24f8 [ 41.271582][ T4017] ocfs2_mkdir+0x184/0x4c8 [ 41.272771][ T4017] vfs_mkdir+0x334/0x4e4 [ 41.274027][ T4017] do_mkdirat+0x20c/0x610 [ 41.275248][ T4017] __arm64_sys_mkdirat+0x90/0xa8 [ 41.276474][ T4017] invoke_syscall+0x98/0x2b8 [ 41.277751][ T4017] el0_svc_common+0x138/0x258 [ 41.279182][ T4017] do_el0_svc+0x58/0x14c [ 41.280308][ T4017] el0_svc+0x7c/0x1f0 [ 41.281432][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 41.282772][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 41.284089][ T4017] [ 41.284089][ T4017] -> #2 (jbd2_handle){.+.+}-{0:0}: [ 41.285738][ T4017] start_this_handle+0xfc0/0x12a4 [ 41.287156][ T4017] jbd2__journal_start+0x29c/0x7b4 [ 41.288550][ T4017] jbd2_journal_start+0x3c/0x4c [ 41.289819][ T4017] ocfs2_start_trans+0x468/0x804 [ 41.291194][ T4017] ocfs2_mknod+0xe68/0x24f8 [ 41.292351][ T4017] ocfs2_mkdir+0x184/0x4c8 [ 41.293558][ T4017] vfs_mkdir+0x334/0x4e4 [ 41.294786][ T4017] do_mkdirat+0x20c/0x610 [ 41.295830][ T4017] __arm64_sys_mkdirat+0x90/0xa8 [ 41.297235][ T4017] invoke_syscall+0x98/0x2b8 [ 41.298425][ T4017] el0_svc_common+0x138/0x258 [ 41.299619][ T4017] do_el0_svc+0x58/0x14c [ 41.300716][ T4017] el0_svc+0x7c/0x1f0 [ 41.301796][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 41.303216][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 41.304446][ T4017] [ 41.304446][ T4017] -> #1 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 41.306471][ T4017] down_read+0xc0/0x398 [ 41.307494][ T4017] ocfs2_start_trans+0x45c/0x804 [ 41.308756][ T4017] ocfs2_mknod+0xe68/0x24f8 [ 41.309979][ T4017] ocfs2_mkdir+0x184/0x4c8 [ 41.310993][ T4017] vfs_mkdir+0x334/0x4e4 [ 41.312132][ T4017] do_mkdirat+0x20c/0x610 [ 41.313254][ T4017] __arm64_sys_mkdirat+0x90/0xa8 [ 41.314585][ T4017] invoke_syscall+0x98/0x2b8 [ 41.315817][ T4017] el0_svc_common+0x138/0x258 [ 41.317002][ T4017] do_el0_svc+0x58/0x14c [ 41.318155][ T4017] el0_svc+0x7c/0x1f0 [ 41.319162][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 41.320399][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 41.321495][ T4017] [ 41.321495][ T4017] -> #0 (sb_internal#2){.+.+}-{0:0}: [ 41.323271][ T4017] __lock_acquire+0x32d4/0x7638 [ 41.324640][ T4017] lock_acquire+0x240/0x77c [ 41.325796][ T4017] ocfs2_start_trans+0x2dc/0x804 [ 41.327120][ T4017] ocfs2_setattr+0x94c/0x191c [ 41.328325][ T4017] notify_change+0xa34/0xcf8 [ 41.329525][ T4017] ovl_workdir_create+0x498/0x624 [ 41.330768][ T4017] ovl_get_workdir+0x344/0x1110 [ 41.332226][ T4017] ovl_fill_super+0x15b4/0x2254 [ 41.333429][ T4017] mount_nodev+0x68/0x104 [ 41.334527][ T4017] ovl_mount+0x3c/0x50 [ 41.335547][ T4017] legacy_get_tree+0xd4/0x16c [ 41.336798][ T4017] vfs_get_tree+0x90/0x274 [ 41.338014][ T4017] do_new_mount+0x278/0x8fc [ 41.339206][ T4017] path_mount+0x594/0x101c [ 41.340317][ T4017] __arm64_sys_mount+0x510/0x5e0 [ 41.341681][ T4017] invoke_syscall+0x98/0x2b8 [ 41.342845][ T4017] el0_svc_common+0x138/0x258 [ 41.344013][ T4017] do_el0_svc+0x58/0x14c [ 41.345227][ T4017] el0_svc+0x7c/0x1f0 [ 41.346429][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 41.347678][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 41.348875][ T4017] [ 41.348875][ T4017] other info that might help us debug this: [ 41.348875][ T4017] [ 41.351455][ T4017] Chain exists of: [ 41.351455][ T4017] sb_internal#2 --> &oi->ip_xattr_sem --> &oi->ip_alloc_sem [ 41.351455][ T4017] [ 41.354813][ T4017] Possible unsafe locking scenario: [ 41.354813][ T4017] [ 41.356464][ T4017] CPU0 CPU1 [ 41.357710][ T4017] ---- ---- [ 41.358882][ T4017] lock(&oi->ip_alloc_sem); [ 41.359832][ T4017] lock(&oi->ip_xattr_sem); [ 41.361596][ T4017] lock(&oi->ip_alloc_sem); [ 41.363230][ T4017] lock(sb_internal#2); [ 41.364240][ T4017] [ 41.364240][ T4017] *** DEADLOCK *** [ 41.364240][ T4017] [ 41.366050][ T4017] 5 locks held by syz-executor221/4017: [ 41.367351][ T4017] #0: ffff0000caf720e0 (&type->s_umount_key#41/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 [ 41.370013][ T4017] #1: ffff0000caf7e460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 41.372105][ T4017] #2: ffff0000ddad5108 (&sb->s_type->i_mutex_key#17/1){+.+.}-{3:3}, at: ovl_workdir_create+0x130/0x624 [ 41.374770][ T4017] #3: ffff0000ddad5f48 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: ovl_workdir_create+0x46c/0x624 [ 41.377324][ T4017] #4: ffff0000ddad5be0 (&oi->ip_alloc_sem){+.+.}-{3:3}, at: ocfs2_setattr+0x940/0x191c [ 41.379668][ T4017] [ 41.379668][ T4017] stack backtrace: [ 41.381090][ T4017] CPU: 1 PID: 4017 Comm: syz-executor221 Not tainted 5.15.167-syzkaller #0 [ 41.383131][ T4017] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 41.385578][ T4017] Call trace: [ 41.386313][ T4017] dump_backtrace+0x0/0x530 [ 41.387474][ T4017] show_stack+0x2c/0x3c [ 41.388482][ T4017] dump_stack_lvl+0x108/0x170 [ 41.389669][ T4017] dump_stack+0x1c/0x58 [ 41.390670][ T4017] print_circular_bug+0x150/0x1b8 [ 41.391791][ T4017] check_noncircular+0x2cc/0x378 [ 41.392921][ T4017] __lock_acquire+0x32d4/0x7638 [ 41.394095][ T4017] lock_acquire+0x240/0x77c [ 41.395122][ T4017] ocfs2_start_trans+0x2dc/0x804 [ 41.396310][ T4017] ocfs2_setattr+0x94c/0x191c [ 41.397392][ T4017] notify_change+0xa34/0xcf8 [ 41.398458][ T4017] ovl_workdir_create+0x498/0x624 [ 41.399561][ T4017] ovl_get_workdir+0x344/0x1110 [ 41.400729][ T4017] ovl_fill_super+0x15b4/0x2254 [ 41.401992][ T4017] mount_nodev+0x68/0x104 [ 41.403032][ T4017] ovl_mount+0x3c/0x50 [ 41.404057][ T4017] legacy_get_tree+0xd4/0x16c [ 41.405177][ T4017] vfs_get_tree+0x90/0x274 [ 41.406140][ T4017] do_new_mount+0x278/0x8fc [ 41.407241][ T4017] path_mount+0x594/0x101c [ 41.408353][ T4017] __arm64_sys_mount+0x510/0x5e0 [ 41.409514][ T4017] invoke_syscall+0x98/0x2b8 [ 41.410573][ T4017] el0_svc_common+0x138/0x258 [ 41.411761][ T4017] do_el0_svc+0x58/0x14c [ 41.412758][ T4017] el0_svc+0x7c/0x1f0 [ 41.413764][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 41.414992][ T4017] el0t_64_sync+0x1a0/0x1a4 [ 41.416562][ T4017] overlayfs: upper fs does not support tmpfile. [ 41.418700][ T4017] overlayfs: upper fs does not support RENAME_WHITEOUT. [ 41.420934][ T4017] overlayfs: upper fs missing required features.