Warning: Permanently added '10.128.0.50' (ED25519) to the list of known hosts. executing program [ 46.034054][ T4015] loop0: detected capacity change from 0 to 32768 [ 46.082224][ T4015] ======================================================= [ 46.082224][ T4015] WARNING: The mand mount option has been deprecated and [ 46.082224][ T4015] and is ignored by this kernel. Remove the mand [ 46.082224][ T4015] option from the mount to silence this warning. [ 46.082224][ T4015] ======================================================= [ 46.122589][ T4015] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 46.139107][ T4015] [ 46.139668][ T4015] ====================================================== [ 46.141151][ T4015] WARNING: possible circular locking dependency detected [ 46.142739][ T4015] 5.15.167-syzkaller #0 Not tainted [ 46.143986][ T4015] ------------------------------------------------------ [ 46.145507][ T4015] syz-executor319/4015 is trying to acquire lock: [ 46.146839][ T4015] ffff0000cbf46650 (sb_internal#2){.+.+}-{0:0}, at: ocfs2_setattr+0x94c/0x191c [ 46.148953][ T4015] [ 46.148953][ T4015] but task is already holding lock: [ 46.150552][ T4015] ffff0000e20e22e0 (&oi->ip_alloc_sem){+.+.}-{3:3}, at: ocfs2_setattr+0x940/0x191c [ 46.152705][ T4015] [ 46.152705][ T4015] which lock already depends on the new lock. [ 46.152705][ T4015] [ 46.155152][ T4015] [ 46.155152][ T4015] the existing dependency chain (in reverse order) is: [ 46.157147][ T4015] [ 46.157147][ T4015] -> #4 (&oi->ip_alloc_sem){+.+.}-{3:3}: [ 46.159081][ T4015] down_write+0xbc/0x12c [ 46.160124][ T4015] ocfs2_try_remove_refcount_tree+0xb4/0x2f0 [ 46.161740][ T4015] ocfs2_xattr_set+0x7b8/0x1478 [ 46.162857][ T4015] ocfs2_set_acl+0x410/0x4b4 [ 46.163963][ T4015] ocfs2_iop_set_acl+0x214/0x358 [ 46.165126][ T4015] posix_acl_xattr_set+0x2cc/0x378 [ 46.166364][ T4015] __vfs_removexattr+0x370/0x38c [ 46.167531][ T4015] __vfs_removexattr_locked+0x1d8/0x380 [ 46.168897][ T4015] vfs_removexattr+0xe0/0x23c [ 46.170068][ T4015] ovl_workdir_create+0x360/0x624 [ 46.171329][ T4015] ovl_get_workdir+0x344/0x1110 [ 46.172608][ T4015] ovl_fill_super+0x15b4/0x2254 [ 46.173722][ T4015] mount_nodev+0x68/0x104 [ 46.174713][ T4015] ovl_mount+0x3c/0x50 [ 46.175784][ T4015] legacy_get_tree+0xd4/0x16c [ 46.176900][ T4015] vfs_get_tree+0x90/0x274 [ 46.178008][ T4015] do_new_mount+0x278/0x8fc [ 46.179041][ T4015] path_mount+0x594/0x101c [ 46.180184][ T4015] __arm64_sys_mount+0x510/0x5e0 [ 46.181392][ T4015] invoke_syscall+0x98/0x2b8 [ 46.182570][ T4015] el0_svc_common+0x138/0x258 [ 46.183703][ T4015] do_el0_svc+0x58/0x14c [ 46.184773][ T4015] el0_svc+0x7c/0x1f0 [ 46.185702][ T4015] el0t_64_sync_handler+0x84/0xe4 [ 46.187002][ T4015] el0t_64_sync+0x1a0/0x1a4 [ 46.188147][ T4015] [ 46.188147][ T4015] -> #3 (&oi->ip_xattr_sem){++++}-{3:3}: [ 46.189895][ T4015] down_read+0xc0/0x398 [ 46.190968][ T4015] ocfs2_init_acl+0x2d0/0x778 [ 46.191980][ T4015] ocfs2_mknod+0x1558/0x24f8 [ 46.193104][ T4015] ocfs2_mkdir+0x184/0x4c8 [ 46.194107][ T4015] vfs_mkdir+0x334/0x4e4 [ 46.195220][ T4015] do_mkdirat+0x20c/0x610 [ 46.196205][ T4015] __arm64_sys_mkdirat+0x90/0xa8 [ 46.197350][ T4015] invoke_syscall+0x98/0x2b8 [ 46.198472][ T4015] el0_svc_common+0x138/0x258 [ 46.199644][ T4015] do_el0_svc+0x58/0x14c [ 46.200668][ T4015] el0_svc+0x7c/0x1f0 [ 46.201560][ T4015] el0t_64_sync_handler+0x84/0xe4 [ 46.202671][ T4015] el0t_64_sync+0x1a0/0x1a4 [ 46.203786][ T4015] [ 46.203786][ T4015] -> #2 (jbd2_handle){++++}-{0:0}: [ 46.205453][ T4015] start_this_handle+0xfc0/0x12a4 [ 46.206733][ T4015] jbd2__journal_start+0x29c/0x7b4 [ 46.207983][ T4015] jbd2_journal_start+0x3c/0x4c [ 46.209080][ T4015] ocfs2_start_trans+0x468/0x804 [ 46.210292][ T4015] ocfs2_mknod+0xe68/0x24f8 [ 46.211518][ T4015] ocfs2_mkdir+0x184/0x4c8 [ 46.212492][ T4015] vfs_mkdir+0x334/0x4e4 [ 46.213515][ T4015] do_mkdirat+0x20c/0x610 [ 46.214532][ T4015] __arm64_sys_mkdirat+0x90/0xa8 [ 46.215669][ T4015] invoke_syscall+0x98/0x2b8 [ 46.216835][ T4015] el0_svc_common+0x138/0x258 [ 46.218061][ T4015] do_el0_svc+0x58/0x14c [ 46.219060][ T4015] el0_svc+0x7c/0x1f0 [ 46.220165][ T4015] el0t_64_sync_handler+0x84/0xe4 [ 46.221299][ T4015] el0t_64_sync+0x1a0/0x1a4 [ 46.222482][ T4015] [ 46.222482][ T4015] -> #1 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 46.224469][ T4015] down_read+0xc0/0x398 [ 46.225476][ T4015] ocfs2_start_trans+0x45c/0x804 [ 46.226631][ T4015] ocfs2_mknod+0xe68/0x24f8 [ 46.227791][ T4015] ocfs2_mkdir+0x184/0x4c8 [ 46.228823][ T4015] vfs_mkdir+0x334/0x4e4 [ 46.229861][ T4015] do_mkdirat+0x20c/0x610 [ 46.230944][ T4015] __arm64_sys_mkdirat+0x90/0xa8 [ 46.232117][ T4015] invoke_syscall+0x98/0x2b8 [ 46.233290][ T4015] el0_svc_common+0x138/0x258 [ 46.234443][ T4015] do_el0_svc+0x58/0x14c [ 46.235543][ T4015] el0_svc+0x7c/0x1f0 [ 46.236551][ T4015] el0t_64_sync_handler+0x84/0xe4 [ 46.237663][ T4015] el0t_64_sync+0x1a0/0x1a4 [ 46.238827][ T4015] [ 46.238827][ T4015] -> #0 (sb_internal#2){.+.+}-{0:0}: [ 46.240862][ T4015] __lock_acquire+0x32d4/0x7638 [ 46.242039][ T4015] lock_acquire+0x240/0x77c [ 46.243073][ T4015] ocfs2_start_trans+0x2dc/0x804 [ 46.244248][ T4015] ocfs2_setattr+0x94c/0x191c [ 46.245461][ T4015] notify_change+0xa34/0xcf8 [ 46.246583][ T4015] ovl_workdir_create+0x498/0x624 [ 46.247841][ T4015] ovl_get_workdir+0x344/0x1110 [ 46.249070][ T4015] ovl_fill_super+0x15b4/0x2254 [ 46.250169][ T4015] mount_nodev+0x68/0x104 [ 46.251238][ T4015] ovl_mount+0x3c/0x50 [ 46.252258][ T4015] legacy_get_tree+0xd4/0x16c [ 46.253501][ T4015] vfs_get_tree+0x90/0x274 [ 46.254498][ T4015] do_new_mount+0x278/0x8fc [ 46.255658][ T4015] path_mount+0x594/0x101c [ 46.256699][ T4015] __arm64_sys_mount+0x510/0x5e0 [ 46.257828][ T4015] invoke_syscall+0x98/0x2b8 [ 46.258864][ T4015] el0_svc_common+0x138/0x258 [ 46.259960][ T4015] do_el0_svc+0x58/0x14c [ 46.260992][ T4015] el0_svc+0x7c/0x1f0 [ 46.261884][ T4015] el0t_64_sync_handler+0x84/0xe4 [ 46.263101][ T4015] el0t_64_sync+0x1a0/0x1a4 [ 46.264268][ T4015] [ 46.264268][ T4015] other info that might help us debug this: [ 46.264268][ T4015] [ 46.266491][ T4015] Chain exists of: [ 46.266491][ T4015] sb_internal#2 --> &oi->ip_xattr_sem --> &oi->ip_alloc_sem [ 46.266491][ T4015] [ 46.269369][ T4015] Possible unsafe locking scenario: [ 46.269369][ T4015] [ 46.270964][ T4015] CPU0 CPU1 [ 46.272022][ T4015] ---- ---- [ 46.273188][ T4015] lock(&oi->ip_alloc_sem); [ 46.274210][ T4015] lock(&oi->ip_xattr_sem); [ 46.275786][ T4015] lock(&oi->ip_alloc_sem); [ 46.277365][ T4015] lock(sb_internal#2); [ 46.278275][ T4015] [ 46.278275][ T4015] *** DEADLOCK *** [ 46.278275][ T4015] [ 46.280037][ T4015] 5 locks held by syz-executor319/4015: [ 46.281275][ T4015] #0: ffff0000dab2c0e0 (&type->s_umount_key#41/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 [ 46.283690][ T4015] #1: ffff0000cbf46460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 46.285671][ T4015] #2: ffff0000e20e1808 (&sb->s_type->i_mutex_key#17/1){+.+.}-{3:3}, at: ovl_workdir_create+0x130/0x624 [ 46.288136][ T4015] #3: ffff0000e20e2648 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: ovl_workdir_create+0x46c/0x624 [ 46.290625][ T4015] #4: ffff0000e20e22e0 (&oi->ip_alloc_sem){+.+.}-{3:3}, at: ocfs2_setattr+0x940/0x191c [ 46.292699][ T4015] [ 46.292699][ T4015] stack backtrace: [ 46.294025][ T4015] CPU: 1 PID: 4015 Comm: syz-executor319 Not tainted 5.15.167-syzkaller #0 [ 46.295814][ T4015] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 46.298093][ T4015] Call trace: [ 46.298799][ T4015] dump_backtrace+0x0/0x530 [ 46.299711][ T4015] show_stack+0x2c/0x3c [ 46.300597][ T4015] dump_stack_lvl+0x108/0x170 [ 46.301647][ T4015] dump_stack+0x1c/0x58 [ 46.302433][ T4015] print_circular_bug+0x150/0x1b8 [ 46.303597][ T4015] check_noncircular+0x2cc/0x378 [ 46.304678][ T4015] __lock_acquire+0x32d4/0x7638 [ 46.305759][ T4015] lock_acquire+0x240/0x77c [ 46.306727][ T4015] ocfs2_start_trans+0x2dc/0x804 [ 46.307806][ T4015] ocfs2_setattr+0x94c/0x191c [ 46.308794][ T4015] notify_change+0xa34/0xcf8 [ 46.309769][ T4015] ovl_workdir_create+0x498/0x624 [ 46.310824][ T4015] ovl_get_workdir+0x344/0x1110 [ 46.311896][ T4015] ovl_fill_super+0x15b4/0x2254 [ 46.313051][ T4015] mount_nodev+0x68/0x104 [ 46.314078][ T4015] ovl_mount+0x3c/0x50 [ 46.315014][ T4015] legacy_get_tree+0xd4/0x16c [ 46.315995][ T4015] vfs_get_tree+0x90/0x274 [ 46.317028][ T4015] do_new_mount+0x278/0x8fc [ 46.318065][ T4015] path_mount+0x594/0x101c [ 46.319011][ T4015] __arm64_sys_mount+0x510/0x5e0 [ 46.319949][ T4015] invoke_syscall+0x98/0x2b8 [ 46.320927][ T4015] el0_svc_common+0x138/0x258 [ 46.321954][ T4015] do_el0_svc+0x58/0x14c [ 46.322888][ T4015] el0_svc+0x7c/0x1f0 [ 46.323929][ T4015] el0t_64_sync_handler+0x84/0xe4 [ 46.325094][ T4015] el0t_64_sync+0x1a0/0x1a4 [ 46.326738][ T4015] overlayfs: upper fs does not support tmpfile. [ 46.328676][ T4015] overlayfs: upper fs does not support RENAME_WHITEOUT. [ 46.331244][ T4015] overlayfs: upper fs missing required features.