Warning: Permanently added '10.128.0.172' (ED25519) to the list of known hosts. executing program [ 37.875956][ T6485] loop0: detected capacity change from 0 to 32768 [ 37.877191][ T6485] ======================================================= [ 37.877191][ T6485] WARNING: The mand mount option has been deprecated and [ 37.877191][ T6485] and is ignored by this kernel. Remove the mand [ 37.877191][ T6485] option from the mount to silence this warning. [ 37.877191][ T6485] ======================================================= [ 37.904263][ T6485] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 37.929084][ T6485] [ 37.929759][ T6485] ====================================================== [ 37.931693][ T6485] WARNING: possible circular locking dependency detected [ 37.933619][ T6485] 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0 Not tainted [ 37.935314][ T6485] ------------------------------------------------------ [ 37.937338][ T6485] syz-executor388/6485 is trying to acquire lock: [ 37.939045][ T6485] ffff0000ddbb5100 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{4:4}, at: __ocfs2_flush_truncate_log+0x2e8/0xf6c [ 37.942559][ T6485] [ 37.942559][ T6485] but task is already holding lock: [ 37.944508][ T6485] ffff0000ddbbb480 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}, at: ocfs2_flush_truncate_log+0x44/0x6c [ 37.947999][ T6485] [ 37.947999][ T6485] which lock already depends on the new lock. [ 37.947999][ T6485] [ 37.950832][ T6485] [ 37.950832][ T6485] the existing dependency chain (in reverse order) is: [ 37.953258][ T6485] [ 37.953258][ T6485] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}: [ 37.956065][ T6485] down_write+0x50/0xc0 [ 37.957398][ T6485] __ocfs2_move_extents_range+0x13ec/0x2abc [ 37.959111][ T6485] ocfs2_move_extents+0x314/0x7f0 [ 37.960513][ T6485] ocfs2_ioctl_move_extents+0x424/0x5f0 [ 37.962129][ T6485] ocfs2_ioctl+0x1c4/0x738 [ 37.963431][ T6485] __arm64_sys_ioctl+0x14c/0x1c4 [ 37.964919][ T6485] invoke_syscall+0x98/0x2b8 [ 37.966225][ T6485] el0_svc_common+0x130/0x23c [ 37.967577][ T6485] do_el0_svc+0x48/0x58 [ 37.968797][ T6485] el0_svc+0x58/0x17c [ 37.970088][ T6485] el0t_64_sync_handler+0x78/0x108 [ 37.971588][ T6485] el0t_64_sync+0x198/0x19c [ 37.972907][ T6485] [ 37.972907][ T6485] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{4:4}: [ 37.975678][ T6485] __lock_acquire+0x1728/0x3058 [ 37.977096][ T6485] lock_acquire+0x14c/0x2e0 [ 37.978453][ T6485] down_write+0x50/0xc0 [ 37.979714][ T6485] __ocfs2_flush_truncate_log+0x2e8/0xf6c [ 37.981413][ T6485] ocfs2_flush_truncate_log+0x4c/0x6c [ 37.982988][ T6485] ocfs2_sync_fs+0xf8/0x2a4 [ 37.984379][ T6485] sync_filesystem+0x1a0/0x218 [ 37.985797][ T6485] generic_shutdown_super+0x70/0x2b8 [ 37.987338][ T6485] kill_block_super+0x44/0x90 [ 37.988753][ T6485] deactivate_locked_super+0xc4/0x12c [ 37.990261][ T6485] deactivate_super+0xe0/0x100 [ 37.991619][ T6485] cleanup_mnt+0x31c/0x3ac [ 37.992900][ T6485] __cleanup_mnt+0x20/0x30 [ 37.994147][ T6485] task_work_run+0x1dc/0x260 [ 37.995492][ T6485] do_exit+0x4e8/0x1998 [ 37.996684][ T6485] do_group_exit+0x194/0x22c [ 37.998050][ T6485] pid_child_should_wake+0x0/0x1dc [ 37.999560][ T6485] invoke_syscall+0x98/0x2b8 [ 38.001055][ T6485] el0_svc_common+0x130/0x23c [ 38.002489][ T6485] do_el0_svc+0x48/0x58 [ 38.003753][ T6485] el0_svc+0x58/0x17c [ 38.004962][ T6485] el0t_64_sync_handler+0x78/0x108 [ 38.006493][ T6485] el0t_64_sync+0x198/0x19c [ 38.007844][ T6485] [ 38.007844][ T6485] other info that might help us debug this: [ 38.007844][ T6485] [ 38.010516][ T6485] Possible unsafe locking scenario: [ 38.010516][ T6485] [ 38.012508][ T6485] CPU0 CPU1 [ 38.013951][ T6485] ---- ---- [ 38.015354][ T6485] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6); [ 38.017304][ T6485] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4); [ 38.019976][ T6485] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6); [ 38.022685][ T6485] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4); [ 38.024607][ T6485] [ 38.024607][ T6485] *** DEADLOCK *** [ 38.024607][ T6485] [ 38.026696][ T6485] 2 locks held by syz-executor388/6485: [ 38.028194][ T6485] #0: ffff0000ca4740e0 (&type->s_umount_key#48){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 [ 38.031010][ T6485] #1: ffff0000ddbbb480 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}, at: ocfs2_flush_truncate_log+0x44/0x6c [ 38.034488][ T6485] [ 38.034488][ T6485] stack backtrace: [ 38.036091][ T6485] CPU: 0 UID: 0 PID: 6485 Comm: syz-executor388 Not tainted 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0 PREEMPT [ 38.039160][ T6485] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 38.041865][ T6485] Call trace: [ 38.042733][ T6485] show_stack+0x2c/0x3c (C) [ 38.043931][ T6485] __dump_stack+0x30/0x40 [ 38.045080][ T6485] dump_stack_lvl+0xd8/0x12c [ 38.046278][ T6485] dump_stack+0x1c/0x28 [ 38.047437][ T6485] print_circular_bug+0x324/0x32c [ 38.048768][ T6485] check_noncircular+0x154/0x174 [ 38.050066][ T6485] __lock_acquire+0x1728/0x3058 [ 38.051318][ T6485] lock_acquire+0x14c/0x2e0 [ 38.052541][ T6485] down_write+0x50/0xc0 [ 38.053655][ T6485] __ocfs2_flush_truncate_log+0x2e8/0xf6c [ 38.055198][ T6485] ocfs2_flush_truncate_log+0x4c/0x6c [ 38.056638][ T6485] ocfs2_sync_fs+0xf8/0x2a4 [ 38.057858][ T6485] sync_filesystem+0x1a0/0x218 [ 38.059111][ T6485] generic_shutdown_super+0x70/0x2b8 [ 38.060540][ T6485] kill_block_super+0x44/0x90 [ 38.061792][ T6485] deactivate_locked_super+0xc4/0x12c [ 38.063242][ T6485] deactivate_super+0xe0/0x100 [ 38.064457][ T6485] cleanup_mnt+0x31c/0x3ac [ 38.065607][ T6485] __cleanup_mnt+0x20/0x30 [ 38.066743][ T6485] task_work_run+0x1dc/0x260 [ 38.067956][ T6485] do_exit+0x4e8/0x1998 [ 38.069092][ T6485] do_group_exit+0x194/0x22c [ 38.070301][ T6485] pid_child_should_wake+0x0/0x1dc [ 38.071658][ T6485] invoke_syscall+0x98/0x2b8 [ 38.072878][ T6485] el0_svc_common+0x130/0x23c [ 38.074161][ T6485] do_el0_svc+0x48/0x58 [ 38.075260][ T6485] el0_svc+0x58/0x17c [ 38.076329][ T6485] el0t_64_sync_handler+0x78/0x108 [ 38.077702][ T6485] el0t_64_sync+0x198/0x19c [ 38.085362][ T6485] ocfs2: Unmounting device (7,0) on (node local)