Warning: Permanently added '10.128.0.146' (ED25519) to the list of known hosts. executing program syzkaller login: [ 37.720060][ T4016] loop0: detected capacity change from 0 to 32768 [ 37.757842][ T4016] ======================================================= [ 37.757842][ T4016] WARNING: The mand mount option has been deprecated and [ 37.757842][ T4016] and is ignored by this kernel. Remove the mand [ 37.757842][ T4016] option from the mount to silence this warning. [ 37.757842][ T4016] ======================================================= [ 37.797911][ T4016] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 37.805411][ T4016] [ 37.806023][ T4016] ====================================================== [ 37.807929][ T4016] WARNING: possible circular locking dependency detected [ 37.809735][ T4016] 5.15.167-syzkaller #0 Not tainted [ 37.811061][ T4016] ------------------------------------------------------ [ 37.812869][ T4016] syz-executor348/4016 is trying to acquire lock: [ 37.814549][ T4016] ffff0000e20d6d88 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}, at: ocfs2_reserve_suballoc_bits+0x164/0x416c [ 37.818217][ T4016] [ 37.818217][ T4016] but task is already holding lock: [ 37.820195][ T4016] ffff0000e20dbff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x4e4/0x1478 [ 37.822755][ T4016] [ 37.822755][ T4016] which lock already depends on the new lock. [ 37.822755][ T4016] [ 37.825507][ T4016] [ 37.825507][ T4016] the existing dependency chain (in reverse order) is: [ 37.827767][ T4016] [ 37.827767][ T4016] -> #5 (&oi->ip_xattr_sem){++++}-{3:3}: [ 37.829798][ T4016] down_read+0xc0/0x398 [ 37.830906][ T4016] ocfs2_init_acl+0x2d0/0x778 [ 37.832310][ T4016] ocfs2_mknod+0x1558/0x24f8 [ 37.833739][ T4016] ocfs2_create+0x184/0x4c8 [ 37.835033][ T4016] path_openat+0xf18/0x26cc [ 37.836351][ T4016] do_filp_open+0x1a8/0x3b4 [ 37.837760][ T4016] do_sys_openat2+0x128/0x3e0 [ 37.839180][ T4016] __arm64_sys_openat+0x1f0/0x240 [ 37.840735][ T4016] invoke_syscall+0x98/0x2b8 [ 37.842116][ T4016] el0_svc_common+0x138/0x258 [ 37.843564][ T4016] do_el0_svc+0x58/0x14c [ 37.844780][ T4016] el0_svc+0x7c/0x1f0 [ 37.845962][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 37.847350][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 37.848647][ T4016] [ 37.848647][ T4016] -> #4 (jbd2_handle){.+.+}-{0:0}: [ 37.850531][ T4016] start_this_handle+0xfc0/0x12a4 [ 37.852039][ T4016] jbd2__journal_start+0x29c/0x7b4 [ 37.853493][ T4016] jbd2_journal_start+0x3c/0x4c [ 37.854746][ T4016] ocfs2_start_trans+0x468/0x804 [ 37.856140][ T4016] ocfs2_mknod+0xe68/0x24f8 [ 37.857467][ T4016] ocfs2_create+0x184/0x4c8 [ 37.858683][ T4016] path_openat+0xf18/0x26cc [ 37.860013][ T4016] do_filp_open+0x1a8/0x3b4 [ 37.861385][ T4016] do_sys_openat2+0x128/0x3e0 [ 37.862730][ T4016] __arm64_sys_openat+0x1f0/0x240 [ 37.864224][ T4016] invoke_syscall+0x98/0x2b8 [ 37.865615][ T4016] el0_svc_common+0x138/0x258 [ 37.866971][ T4016] do_el0_svc+0x58/0x14c [ 37.868172][ T4016] el0_svc+0x7c/0x1f0 [ 37.869298][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 37.870701][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 37.871971][ T4016] [ 37.871971][ T4016] -> #3 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 37.874110][ T4016] down_read+0xc0/0x398 [ 37.875335][ T4016] ocfs2_start_trans+0x45c/0x804 [ 37.876733][ T4016] ocfs2_mknod+0xe68/0x24f8 [ 37.877985][ T4016] ocfs2_create+0x184/0x4c8 [ 37.879209][ T4016] path_openat+0xf18/0x26cc [ 37.880499][ T4016] do_filp_open+0x1a8/0x3b4 [ 37.881778][ T4016] do_sys_openat2+0x128/0x3e0 [ 37.883134][ T4016] __arm64_sys_openat+0x1f0/0x240 [ 37.884508][ T4016] invoke_syscall+0x98/0x2b8 [ 37.885852][ T4016] el0_svc_common+0x138/0x258 [ 37.887089][ T4016] do_el0_svc+0x58/0x14c [ 37.888292][ T4016] el0_svc+0x7c/0x1f0 [ 37.889386][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 37.890797][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 37.892051][ T4016] [ 37.892051][ T4016] -> #2 (sb_internal#2){.+.+}-{0:0}: [ 37.894078][ T4016] ocfs2_start_trans+0x2dc/0x804 [ 37.895538][ T4016] ocfs2_mknod+0xe68/0x24f8 [ 37.896901][ T4016] ocfs2_create+0x184/0x4c8 [ 37.898176][ T4016] path_openat+0xf18/0x26cc [ 37.899499][ T4016] do_filp_open+0x1a8/0x3b4 [ 37.900777][ T4016] do_sys_openat2+0x128/0x3e0 [ 37.902144][ T4016] __arm64_sys_openat+0x1f0/0x240 [ 37.903528][ T4016] invoke_syscall+0x98/0x2b8 [ 37.904805][ T4016] el0_svc_common+0x138/0x258 [ 37.906089][ T4016] do_el0_svc+0x58/0x14c [ 37.907219][ T4016] el0_svc+0x7c/0x1f0 [ 37.908460][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 37.909914][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 37.911332][ T4016] [ 37.911332][ T4016] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{3:3}: [ 37.914107][ T4016] down_write+0xbc/0x12c [ 37.915365][ T4016] ocfs2_reserve_local_alloc_bits+0xfc/0x2474 [ 37.917107][ T4016] ocfs2_reserve_clusters_with_limit+0x194/0xabc [ 37.918826][ T4016] ocfs2_reserve_clusters+0x3c/0x50 [ 37.920329][ T4016] ocfs2_mknod+0xe08/0x24f8 [ 37.921657][ T4016] ocfs2_create+0x184/0x4c8 [ 37.923027][ T4016] path_openat+0xf18/0x26cc [ 37.924334][ T4016] do_filp_open+0x1a8/0x3b4 [ 37.925570][ T4016] do_sys_openat2+0x128/0x3e0 [ 37.926943][ T4016] __arm64_sys_openat+0x1f0/0x240 [ 37.928282][ T4016] invoke_syscall+0x98/0x2b8 [ 37.929547][ T4016] el0_svc_common+0x138/0x258 [ 37.930854][ T4016] do_el0_svc+0x58/0x14c [ 37.932108][ T4016] el0_svc+0x7c/0x1f0 [ 37.933222][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 37.934623][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 37.935903][ T4016] [ 37.935903][ T4016] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}: [ 37.938663][ T4016] __lock_acquire+0x32d4/0x7638 [ 37.940039][ T4016] lock_acquire+0x240/0x77c [ 37.941282][ T4016] down_write+0xbc/0x12c [ 37.942538][ T4016] ocfs2_reserve_suballoc_bits+0x164/0x416c [ 37.944207][ T4016] ocfs2_reserve_new_metadata_blocks+0x388/0x864 [ 37.945925][ T4016] ocfs2_init_xattr_set_ctxt+0x37c/0x950 [ 37.947461][ T4016] ocfs2_xattr_set+0xc08/0x1478 [ 37.948856][ T4016] ocfs2_xattr_trusted_set+0x4c/0x64 [ 37.950242][ T4016] __vfs_setxattr+0x388/0x3a4 [ 37.951601][ T4016] __vfs_setxattr_noperm+0x110/0x528 [ 37.953038][ T4016] __vfs_setxattr_locked+0x1ec/0x218 [ 37.954559][ T4016] vfs_setxattr+0x1a8/0x344 [ 37.955927][ T4016] setxattr+0x250/0x2b4 [ 37.957061][ T4016] path_setxattr+0x17c/0x258 [ 37.958362][ T4016] __arm64_sys_lsetxattr+0xbc/0xd8 [ 37.959834][ T4016] invoke_syscall+0x98/0x2b8 [ 37.961123][ T4016] el0_svc_common+0x138/0x258 [ 37.962369][ T4016] do_el0_svc+0x58/0x14c [ 37.963574][ T4016] el0_svc+0x7c/0x1f0 [ 37.964752][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 37.966087][ T4016] el0t_64_sync+0x1a0/0x1a4 [ 37.967439][ T4016] [ 37.967439][ T4016] other info that might help us debug this: [ 37.967439][ T4016] [ 37.969981][ T4016] Chain exists of: [ 37.969981][ T4016] &ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3 --> jbd2_handle --> &oi->ip_xattr_sem [ 37.969981][ T4016] [ 37.974009][ T4016] Possible unsafe locking scenario: [ 37.974009][ T4016] [ 37.975906][ T4016] CPU0 CPU1 [ 37.977273][ T4016] ---- ---- [ 37.978670][ T4016] lock(&oi->ip_xattr_sem); [ 37.979800][ T4016] lock(jbd2_handle); [ 37.981498][ T4016] lock(&oi->ip_xattr_sem); [ 37.983297][ T4016] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3); [ 37.985100][ T4016] [ 37.985100][ T4016] *** DEADLOCK *** [ 37.985100][ T4016] [ 37.987172][ T4016] 3 locks held by syz-executor348/4016: [ 37.988581][ T4016] #0: ffff0000dc67a460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 37.991017][ T4016] #1: ffff0000e20dc2c8 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_setxattr+0x17c/0x344 [ 37.993746][ T4016] #2: ffff0000e20dbff8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_xattr_set+0x4e4/0x1478 [ 37.996226][ T4016] [ 37.996226][ T4016] stack backtrace: [ 37.997713][ T4016] CPU: 1 PID: 4016 Comm: syz-executor348 Not tainted 5.15.167-syzkaller #0 [ 37.999914][ T4016] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 38.002538][ T4016] Call trace: [ 38.003378][ T4016] dump_backtrace+0x0/0x530 [ 38.004557][ T4016] show_stack+0x2c/0x3c [ 38.005628][ T4016] dump_stack_lvl+0x108/0x170 [ 38.006799][ T4016] dump_stack+0x1c/0x58 [ 38.007780][ T4016] print_circular_bug+0x150/0x1b8 [ 38.008993][ T4016] check_noncircular+0x2cc/0x378 [ 38.010257][ T4016] __lock_acquire+0x32d4/0x7638 [ 38.011511][ T4016] lock_acquire+0x240/0x77c [ 38.012683][ T4016] down_write+0xbc/0x12c [ 38.013929][ T4016] ocfs2_reserve_suballoc_bits+0x164/0x416c [ 38.015514][ T4016] ocfs2_reserve_new_metadata_blocks+0x388/0x864 [ 38.017134][ T4016] ocfs2_init_xattr_set_ctxt+0x37c/0x950 [ 38.018655][ T4016] ocfs2_xattr_set+0xc08/0x1478 [ 38.019999][ T4016] ocfs2_xattr_trusted_set+0x4c/0x64 [ 38.021380][ T4016] __vfs_setxattr+0x388/0x3a4 [ 38.022647][ T4016] __vfs_setxattr_noperm+0x110/0x528 [ 38.024031][ T4016] __vfs_setxattr_locked+0x1ec/0x218 [ 38.025524][ T4016] vfs_setxattr+0x1a8/0x344 [ 38.026689][ T4016] setxattr+0x250/0x2b4 [ 38.027708][ T4016] path_setxattr+0x17c/0x258 [ 38.028892][ T4016] __arm64_sys_lsetxattr+0xbc/0xd8 [ 38.030131][ T4016] invoke_syscall+0x98/0x2b8 [ 38.031369][ T4016] el0_svc_common+0x138/0x258 [ 38.032548][ T4016] do_el0_svc+0x58/0x14c [ 38.033643][ T4016] el0_svc+0x7c/0x1f0 [ 38.034736][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 38.035987][ T4016] el0t_64_sync+0x1a0/0x1a4 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program