Warning: Permanently added '10.128.1.2' (ED25519) to the list of known hosts. executing program [ 42.550306][ T6489] loop0: detected capacity change from 0 to 32768 [ 42.551783][ T6489] ======================================================= [ 42.551783][ T6489] WARNING: The mand mount option has been deprecated and [ 42.551783][ T6489] and is ignored by this kernel. Remove the mand [ 42.551783][ T6489] option from the mount to silence this warning. [ 42.551783][ T6489] ======================================================= [ 42.571542][ T6489] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 42.602535][ T6489] [ 42.603162][ T6489] ====================================================== [ 42.604865][ T6489] WARNING: possible circular locking dependency detected [ 42.606544][ T6489] 6.15.0-rc6-syzkaller-gc919f08732cc #0 Not tainted [ 42.608169][ T6489] ------------------------------------------------------ [ 42.610024][ T6489] syz-executor210/6489 is trying to acquire lock: [ 42.611637][ T6489] ffff0000e1315100 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{4:4}, at: __ocfs2_flush_truncate_log+0x2e8/0xf6c [ 42.614941][ T6489] [ 42.614941][ T6489] but task is already holding lock: [ 42.616793][ T6489] ffff0000e131b480 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}, at: ocfs2_flush_truncate_log+0x44/0x6c [ 42.620054][ T6489] [ 42.620054][ T6489] which lock already depends on the new lock. [ 42.620054][ T6489] [ 42.622866][ T6489] [ 42.622866][ T6489] the existing dependency chain (in reverse order) is: [ 42.625118][ T6489] [ 42.625118][ T6489] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}: [ 42.627841][ T6489] down_write+0x50/0xc0 [ 42.629100][ T6489] __ocfs2_move_extents_range+0x13ec/0x2abc [ 42.630722][ T6489] ocfs2_move_extents+0x314/0x7f0 [ 42.632102][ T6489] ocfs2_ioctl_move_extents+0x424/0x5f0 [ 42.633706][ T6489] ocfs2_ioctl+0x1c4/0x738 [ 42.635003][ T6489] __arm64_sys_ioctl+0x14c/0x1c4 [ 42.636436][ T6489] invoke_syscall+0x98/0x2b8 [ 42.637840][ T6489] el0_svc_common+0x130/0x23c [ 42.639164][ T6489] do_el0_svc+0x48/0x58 [ 42.640385][ T6489] el0_svc+0x58/0x17c [ 42.641596][ T6489] el0t_64_sync_handler+0x78/0x108 [ 42.643036][ T6489] el0t_64_sync+0x198/0x19c [ 42.644381][ T6489] [ 42.644381][ T6489] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{4:4}: [ 42.647143][ T6489] __lock_acquire+0x1728/0x3058 [ 42.648566][ T6489] lock_acquire+0x14c/0x2e0 [ 42.649802][ T6489] down_write+0x50/0xc0 [ 42.651019][ T6489] __ocfs2_flush_truncate_log+0x2e8/0xf6c [ 42.652625][ T6489] ocfs2_flush_truncate_log+0x4c/0x6c [ 42.654122][ T6489] ocfs2_sync_fs+0xf8/0x2a4 [ 42.655509][ T6489] sync_filesystem+0x1a0/0x218 [ 42.656875][ T6489] generic_shutdown_super+0x70/0x2b8 [ 42.658359][ T6489] kill_block_super+0x44/0x90 [ 42.659799][ T6489] deactivate_locked_super+0xc4/0x12c [ 42.661369][ T6489] deactivate_super+0xe0/0x100 [ 42.662775][ T6489] cleanup_mnt+0x31c/0x3ac [ 42.664057][ T6489] __cleanup_mnt+0x20/0x30 [ 42.665343][ T6489] task_work_run+0x1dc/0x260 [ 42.666633][ T6489] do_exit+0x4e8/0x1998 [ 42.667872][ T6489] do_group_exit+0x194/0x22c [ 42.669182][ T6489] pid_child_should_wake+0x0/0x1dc [ 42.670587][ T6489] invoke_syscall+0x98/0x2b8 [ 42.671928][ T6489] el0_svc_common+0x130/0x23c [ 42.673257][ T6489] do_el0_svc+0x48/0x58 [ 42.674470][ T6489] el0_svc+0x58/0x17c [ 42.675660][ T6489] el0t_64_sync_handler+0x78/0x108 [ 42.677070][ T6489] el0t_64_sync+0x198/0x19c [ 42.678285][ T6489] [ 42.678285][ T6489] other info that might help us debug this: [ 42.678285][ T6489] [ 42.680945][ T6489] Possible unsafe locking scenario: [ 42.680945][ T6489] [ 42.682874][ T6489] CPU0 CPU1 [ 42.684203][ T6489] ---- ---- [ 42.685691][ T6489] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6); [ 42.687578][ T6489] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4); [ 42.690279][ T6489] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6); [ 42.692720][ T6489] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4); [ 42.694566][ T6489] [ 42.694566][ T6489] *** DEADLOCK *** [ 42.694566][ T6489] [ 42.696692][ T6489] 2 locks held by syz-executor210/6489: [ 42.698120][ T6489] #0: ffff0000da3e40e0 (&type->s_umount_key#48){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 [ 42.700753][ T6489] #1: ffff0000e131b480 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}, at: ocfs2_flush_truncate_log+0x44/0x6c [ 42.704210][ T6489] [ 42.704210][ T6489] stack backtrace: [ 42.705742][ T6489] CPU: 0 UID: 0 PID: 6489 Comm: syz-executor210 Not tainted 6.15.0-rc6-syzkaller-gc919f08732cc #0 PREEMPT [ 42.708724][ T6489] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 42.711348][ T6489] Call trace: [ 42.712178][ T6489] show_stack+0x2c/0x3c (C) [ 42.713299][ T6489] __dump_stack+0x30/0x40 [ 42.714413][ T6489] dump_stack_lvl+0xd8/0x12c [ 42.715587][ T6489] dump_stack+0x1c/0x28 [ 42.716624][ T6489] print_circular_bug+0x324/0x32c [ 42.717876][ T6489] check_noncircular+0x154/0x174 [ 42.718906][ T6489] __lock_acquire+0x1728/0x3058 [ 42.720091][ T6489] lock_acquire+0x14c/0x2e0 [ 42.721180][ T6489] down_write+0x50/0xc0 [ 42.722201][ T6489] __ocfs2_flush_truncate_log+0x2e8/0xf6c [ 42.723651][ T6489] ocfs2_flush_truncate_log+0x4c/0x6c [ 42.725001][ T6489] ocfs2_sync_fs+0xf8/0x2a4 [ 42.726180][ T6489] sync_filesystem+0x1a0/0x218 [ 42.727356][ T6489] generic_shutdown_super+0x70/0x2b8 [ 42.728646][ T6489] kill_block_super+0x44/0x90 [ 42.729851][ T6489] deactivate_locked_super+0xc4/0x12c [ 42.731239][ T6489] deactivate_super+0xe0/0x100 [ 42.732404][ T6489] cleanup_mnt+0x31c/0x3ac [ 42.733526][ T6489] __cleanup_mnt+0x20/0x30 [ 42.734629][ T6489] task_work_run+0x1dc/0x260 [ 42.735755][ T6489] do_exit+0x4e8/0x1998 [ 42.736858][ T6489] do_group_exit+0x194/0x22c [ 42.737974][ T6489] pid_child_should_wake+0x0/0x1dc [ 42.739341][ T6489] invoke_syscall+0x98/0x2b8 [ 42.740548][ T6489] el0_svc_common+0x130/0x23c [ 42.741741][ T6489] do_el0_svc+0x48/0x58 [ 42.742744][ T6489] el0_svc+0x58/0x17c [ 42.743737][ T6489] el0t_64_sync_handler+0x78/0x108 [ 42.745046][ T6489] el0t_64_sync+0x198/0x19c [ 42.753864][ T6489] ocfs2: Unmounting device (7,0) on (node local)