Warning: Permanently added '10.128.1.187' (ED25519) to the list of known hosts. executing program [ 40.906470][ T4022] loop0: detected capacity change from 0 to 32768 [ 40.941254][ T4022] ======================================================= [ 40.941254][ T4022] WARNING: The mand mount option has been deprecated and [ 40.941254][ T4022] and is ignored by this kernel. Remove the mand [ 40.941254][ T4022] option from the mount to silence this warning. [ 40.941254][ T4022] ======================================================= [ 40.991014][ T4022] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 41.002279][ T4022] [ 41.002876][ T4022] ====================================================== [ 41.004339][ T4022] WARNING: possible circular locking dependency detected [ 41.005725][ T4022] 5.15.167-syzkaller #0 Not tainted [ 41.006912][ T4022] ------------------------------------------------------ [ 41.008378][ T4022] syz-executor158/4022 is trying to acquire lock: [ 41.009671][ T4022] ffff0000cd134650 (sb_internal#2){.+.+}-{0:0}, at: ocfs2_setattr+0x94c/0x191c [ 41.011575][ T4022] [ 41.011575][ T4022] but task is already holding lock: [ 41.013192][ T4022] ffff0000e1c45be0 (&oi->ip_alloc_sem){+.+.}-{3:3}, at: ocfs2_setattr+0x940/0x191c [ 41.015165][ T4022] [ 41.015165][ T4022] which lock already depends on the new lock. [ 41.015165][ T4022] [ 41.017464][ T4022] [ 41.017464][ T4022] the existing dependency chain (in reverse order) is: [ 41.019348][ T4022] [ 41.019348][ T4022] -> #4 (&oi->ip_alloc_sem){+.+.}-{3:3}: [ 41.021244][ T4022] down_write+0xbc/0x12c [ 41.022440][ T4022] ocfs2_try_remove_refcount_tree+0xb4/0x2f0 [ 41.023958][ T4022] ocfs2_xattr_set+0x7b8/0x1478 [ 41.025252][ T4022] ocfs2_set_acl+0x410/0x4b4 [ 41.026465][ T4022] ocfs2_iop_set_acl+0x214/0x358 [ 41.027828][ T4022] posix_acl_xattr_set+0x2cc/0x378 [ 41.029120][ T4022] __vfs_removexattr+0x370/0x38c [ 41.030252][ T4022] __vfs_removexattr_locked+0x1d8/0x380 [ 41.031510][ T4022] vfs_removexattr+0xe0/0x23c [ 41.032593][ T4022] ovl_workdir_create+0x360/0x624 [ 41.033733][ T4022] ovl_get_workdir+0x344/0x1110 [ 41.034898][ T4022] ovl_fill_super+0x15b4/0x2254 [ 41.035992][ T4022] mount_nodev+0x68/0x104 [ 41.037010][ T4022] ovl_mount+0x3c/0x50 [ 41.037941][ T4022] legacy_get_tree+0xd4/0x16c [ 41.039072][ T4022] vfs_get_tree+0x90/0x274 [ 41.040166][ T4022] do_new_mount+0x278/0x8fc [ 41.041195][ T4022] path_mount+0x594/0x101c [ 41.042247][ T4022] __arm64_sys_mount+0x510/0x5e0 [ 41.043529][ T4022] invoke_syscall+0x98/0x2b8 [ 41.044650][ T4022] el0_svc_common+0x138/0x258 [ 41.045797][ T4022] do_el0_svc+0x58/0x14c [ 41.046789][ T4022] el0_svc+0x7c/0x1f0 [ 41.047708][ T4022] el0t_64_sync_handler+0x84/0xe4 [ 41.048904][ T4022] el0t_64_sync+0x1a0/0x1a4 [ 41.049990][ T4022] [ 41.049990][ T4022] -> #3 (&oi->ip_xattr_sem){++++}-{3:3}: [ 41.051661][ T4022] down_read+0xc0/0x398 [ 41.052633][ T4022] ocfs2_init_acl+0x2d0/0x778 [ 41.053720][ T4022] ocfs2_mknod+0x1558/0x24f8 [ 41.054811][ T4022] ocfs2_mkdir+0x184/0x4c8 [ 41.055777][ T4022] vfs_mkdir+0x334/0x4e4 [ 41.056799][ T4022] do_mkdirat+0x20c/0x610 [ 41.057827][ T4022] __arm64_sys_mkdirat+0x90/0xa8 [ 41.058966][ T4022] invoke_syscall+0x98/0x2b8 [ 41.060181][ T4022] el0_svc_common+0x138/0x258 [ 41.061315][ T4022] do_el0_svc+0x58/0x14c [ 41.062370][ T4022] el0_svc+0x7c/0x1f0 [ 41.063397][ T4022] el0t_64_sync_handler+0x84/0xe4 [ 41.064606][ T4022] el0t_64_sync+0x1a0/0x1a4 [ 41.065674][ T4022] [ 41.065674][ T4022] -> #2 (jbd2_handle){.+.+}-{0:0}: [ 41.067092][ T4022] start_this_handle+0xfc0/0x12a4 [ 41.068290][ T4022] jbd2__journal_start+0x29c/0x7b4 [ 41.069576][ T4022] jbd2_journal_start+0x3c/0x4c [ 41.070740][ T4022] ocfs2_start_trans+0x468/0x804 [ 41.071986][ T4022] ocfs2_mknod+0xe68/0x24f8 [ 41.073059][ T4022] ocfs2_mkdir+0x184/0x4c8 [ 41.074181][ T4022] vfs_mkdir+0x334/0x4e4 [ 41.075175][ T4022] do_mkdirat+0x20c/0x610 [ 41.076121][ T4022] __arm64_sys_mkdirat+0x90/0xa8 [ 41.077272][ T4022] invoke_syscall+0x98/0x2b8 [ 41.078438][ T4022] el0_svc_common+0x138/0x258 [ 41.079576][ T4022] do_el0_svc+0x58/0x14c [ 41.080602][ T4022] el0_svc+0x7c/0x1f0 [ 41.081522][ T4022] el0t_64_sync_handler+0x84/0xe4 [ 41.082713][ T4022] el0t_64_sync+0x1a0/0x1a4 [ 41.083774][ T4022] [ 41.083774][ T4022] -> #1 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 41.085524][ T4022] down_read+0xc0/0x398 [ 41.086517][ T4022] ocfs2_start_trans+0x45c/0x804 [ 41.087694][ T4022] ocfs2_mknod+0xe68/0x24f8 [ 41.088836][ T4022] ocfs2_mkdir+0x184/0x4c8 [ 41.089936][ T4022] vfs_mkdir+0x334/0x4e4 [ 41.091015][ T4022] do_mkdirat+0x20c/0x610 [ 41.092238][ T4022] __arm64_sys_mkdirat+0x90/0xa8 [ 41.093385][ T4022] invoke_syscall+0x98/0x2b8 [ 41.094556][ T4022] el0_svc_common+0x138/0x258 [ 41.095702][ T4022] do_el0_svc+0x58/0x14c [ 41.096791][ T4022] el0_svc+0x7c/0x1f0 [ 41.097730][ T4022] el0t_64_sync_handler+0x84/0xe4 [ 41.098862][ T4022] el0t_64_sync+0x1a0/0x1a4 [ 41.099992][ T4022] [ 41.099992][ T4022] -> #0 (sb_internal#2){.+.+}-{0:0}: [ 41.101584][ T4022] __lock_acquire+0x32d4/0x7638 [ 41.102681][ T4022] lock_acquire+0x240/0x77c [ 41.103704][ T4022] ocfs2_start_trans+0x2dc/0x804 [ 41.104857][ T4022] ocfs2_setattr+0x94c/0x191c [ 41.105938][ T4022] notify_change+0xa34/0xcf8 [ 41.107121][ T4022] ovl_workdir_create+0x498/0x624 [ 41.108365][ T4022] ovl_get_workdir+0x344/0x1110 [ 41.109534][ T4022] ovl_fill_super+0x15b4/0x2254 [ 41.110688][ T4022] mount_nodev+0x68/0x104 [ 41.111609][ T4022] ovl_mount+0x3c/0x50 [ 41.112545][ T4022] legacy_get_tree+0xd4/0x16c [ 41.113707][ T4022] vfs_get_tree+0x90/0x274 [ 41.114696][ T4022] do_new_mount+0x278/0x8fc [ 41.115812][ T4022] path_mount+0x594/0x101c [ 41.116978][ T4022] __arm64_sys_mount+0x510/0x5e0 [ 41.118034][ T4022] invoke_syscall+0x98/0x2b8 [ 41.119065][ T4022] el0_svc_common+0x138/0x258 [ 41.120284][ T4022] do_el0_svc+0x58/0x14c [ 41.121389][ T4022] el0_svc+0x7c/0x1f0 [ 41.122370][ T4022] el0t_64_sync_handler+0x84/0xe4 [ 41.123465][ T4022] el0t_64_sync+0x1a0/0x1a4 [ 41.124547][ T4022] [ 41.124547][ T4022] other info that might help us debug this: [ 41.124547][ T4022] [ 41.126729][ T4022] Chain exists of: [ 41.126729][ T4022] sb_internal#2 --> &oi->ip_xattr_sem --> &oi->ip_alloc_sem [ 41.126729][ T4022] [ 41.129695][ T4022] Possible unsafe locking scenario: [ 41.129695][ T4022] [ 41.131273][ T4022] CPU0 CPU1 [ 41.132475][ T4022] ---- ---- [ 41.133735][ T4022] lock(&oi->ip_alloc_sem); [ 41.134747][ T4022] lock(&oi->ip_xattr_sem); [ 41.136381][ T4022] lock(&oi->ip_alloc_sem); [ 41.138215][ T4022] lock(sb_internal#2); [ 41.139248][ T4022] [ 41.139248][ T4022] *** DEADLOCK *** [ 41.139248][ T4022] [ 41.141010][ T4022] 5 locks held by syz-executor158/4022: [ 41.142294][ T4022] #0: ffff0000cd11e0e0 (&type->s_umount_key#41/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 [ 41.144397][ T4022] #1: ffff0000cd134460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 41.146594][ T4022] #2: ffff0000e1c45108 (&sb->s_type->i_mutex_key#17/1){+.+.}-{3:3}, at: ovl_workdir_create+0x130/0x624 [ 41.149369][ T4022] #3: ffff0000e1c45f48 (&sb->s_type->i_mutex_key#19){+.+.}-{3:3}, at: ovl_workdir_create+0x46c/0x624 [ 41.151809][ T4022] #4: ffff0000e1c45be0 (&oi->ip_alloc_sem){+.+.}-{3:3}, at: ocfs2_setattr+0x940/0x191c [ 41.153882][ T4022] [ 41.153882][ T4022] stack backtrace: [ 41.155165][ T4022] CPU: 1 PID: 4022 Comm: syz-executor158 Not tainted 5.15.167-syzkaller #0 [ 41.156972][ T4022] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 41.159090][ T4022] Call trace: [ 41.159804][ T4022] dump_backtrace+0x0/0x530 [ 41.160731][ T4022] show_stack+0x2c/0x3c [ 41.161579][ T4022] dump_stack_lvl+0x108/0x170 [ 41.162590][ T4022] dump_stack+0x1c/0x58 [ 41.163583][ T4022] print_circular_bug+0x150/0x1b8 [ 41.164624][ T4022] check_noncircular+0x2cc/0x378 [ 41.165775][ T4022] __lock_acquire+0x32d4/0x7638 [ 41.166816][ T4022] lock_acquire+0x240/0x77c [ 41.167808][ T4022] ocfs2_start_trans+0x2dc/0x804 [ 41.168874][ T4022] ocfs2_setattr+0x94c/0x191c [ 41.169879][ T4022] notify_change+0xa34/0xcf8 [ 41.171007][ T4022] ovl_workdir_create+0x498/0x624 [ 41.172158][ T4022] ovl_get_workdir+0x344/0x1110 [ 41.173380][ T4022] ovl_fill_super+0x15b4/0x2254 [ 41.174427][ T4022] mount_nodev+0x68/0x104 [ 41.175381][ T4022] ovl_mount+0x3c/0x50 [ 41.176267][ T4022] legacy_get_tree+0xd4/0x16c [ 41.177371][ T4022] vfs_get_tree+0x90/0x274 [ 41.178327][ T4022] do_new_mount+0x278/0x8fc [ 41.179404][ T4022] path_mount+0x594/0x101c [ 41.180379][ T4022] __arm64_sys_mount+0x510/0x5e0 [ 41.181436][ T4022] invoke_syscall+0x98/0x2b8 [ 41.182497][ T4022] el0_svc_common+0x138/0x258 [ 41.183504][ T4022] do_el0_svc+0x58/0x14c [ 41.184356][ T4022] el0_svc+0x7c/0x1f0 [ 41.185290][ T4022] el0t_64_sync_handler+0x84/0xe4 [ 41.186416][ T4022] el0t_64_sync+0x1a0/0x1a4 [ 41.188080][ T4022] overlayfs: upper fs does not support tmpfile. [ 41.190244][ T4022] overlayfs: upper fs does not support RENAME_WHITEOUT. [ 41.192589][ T4022] overlayfs: upper fs missing required features.