Warning: Permanently added '10.128.1.78' (ED25519) to the list of known hosts. executing program [ 37.236958][ T6487] loop0: detected capacity change from 0 to 32768 [ 37.238062][ T6487] ======================================================= [ 37.238062][ T6487] WARNING: The mand mount option has been deprecated and [ 37.238062][ T6487] and is ignored by this kernel. Remove the mand [ 37.238062][ T6487] option from the mount to silence this warning. [ 37.238062][ T6487] ======================================================= [ 37.260238][ T6487] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 37.291383][ T6487] [ 37.292021][ T6487] ====================================================== [ 37.293827][ T6487] WARNING: possible circular locking dependency detected [ 37.295616][ T6487] 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0 Not tainted [ 37.297320][ T6487] ------------------------------------------------------ [ 37.299154][ T6487] syz-executor290/6487 is trying to acquire lock: [ 37.300835][ T6487] ffff0000e1435100 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{4:4}, at: __ocfs2_flush_truncate_log+0x2e8/0xf6c [ 37.304303][ T6487] [ 37.304303][ T6487] but task is already holding lock: [ 37.306328][ T6487] ffff0000dd72b480 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}, at: ocfs2_flush_truncate_log+0x44/0x6c [ 37.309751][ T6487] [ 37.309751][ T6487] which lock already depends on the new lock. [ 37.309751][ T6487] [ 37.312451][ T6487] [ 37.312451][ T6487] the existing dependency chain (in reverse order) is: [ 37.314884][ T6487] [ 37.314884][ T6487] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}: [ 37.317680][ T6487] down_write+0x50/0xc0 [ 37.318901][ T6487] __ocfs2_move_extents_range+0x13ec/0x2abc [ 37.320611][ T6487] ocfs2_move_extents+0x314/0x7f0 [ 37.322218][ T6487] ocfs2_ioctl_move_extents+0x424/0x5f0 [ 37.323876][ T6487] ocfs2_ioctl+0x1c4/0x738 [ 37.325195][ T6487] __arm64_sys_ioctl+0x14c/0x1c4 [ 37.326659][ T6487] invoke_syscall+0x98/0x2b8 [ 37.328013][ T6487] el0_svc_common+0x130/0x23c [ 37.329434][ T6487] do_el0_svc+0x48/0x58 [ 37.330629][ T6487] el0_svc+0x58/0x17c [ 37.331796][ T6487] el0t_64_sync_handler+0x78/0x108 [ 37.333247][ T6487] el0t_64_sync+0x198/0x19c [ 37.334518][ T6487] [ 37.334518][ T6487] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4){+.+.}-{4:4}: [ 37.337323][ T6487] __lock_acquire+0x1728/0x3058 [ 37.338739][ T6487] lock_acquire+0x14c/0x2e0 [ 37.340033][ T6487] down_write+0x50/0xc0 [ 37.341286][ T6487] __ocfs2_flush_truncate_log+0x2e8/0xf6c [ 37.343006][ T6487] ocfs2_flush_truncate_log+0x4c/0x6c [ 37.344532][ T6487] ocfs2_sync_fs+0xf8/0x2a4 [ 37.345818][ T6487] sync_filesystem+0x1a0/0x218 [ 37.347205][ T6487] generic_shutdown_super+0x70/0x2b8 [ 37.348761][ T6487] kill_block_super+0x44/0x90 [ 37.350108][ T6487] deactivate_locked_super+0xc4/0x12c [ 37.351682][ T6487] deactivate_super+0xe0/0x100 [ 37.353107][ T6487] cleanup_mnt+0x31c/0x3ac [ 37.354427][ T6487] __cleanup_mnt+0x20/0x30 [ 37.355697][ T6487] task_work_run+0x1dc/0x260 [ 37.356989][ T6487] do_exit+0x4e8/0x1998 [ 37.358199][ T6487] do_group_exit+0x194/0x22c [ 37.359535][ T6487] pid_child_should_wake+0x0/0x1dc [ 37.361035][ T6487] invoke_syscall+0x98/0x2b8 [ 37.362368][ T6487] el0_svc_common+0x130/0x23c [ 37.363721][ T6487] do_el0_svc+0x48/0x58 [ 37.364999][ T6487] el0_svc+0x58/0x17c [ 37.366159][ T6487] el0t_64_sync_handler+0x78/0x108 [ 37.367625][ T6487] el0t_64_sync+0x198/0x19c [ 37.368911][ T6487] [ 37.368911][ T6487] other info that might help us debug this: [ 37.368911][ T6487] [ 37.371600][ T6487] Possible unsafe locking scenario: [ 37.371600][ T6487] [ 37.373566][ T6487] CPU0 CPU1 [ 37.374960][ T6487] ---- ---- [ 37.376411][ T6487] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6); [ 37.378275][ T6487] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4); [ 37.380865][ T6487] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6); [ 37.383480][ T6487] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#4); [ 37.385451][ T6487] [ 37.385451][ T6487] *** DEADLOCK *** [ 37.385451][ T6487] [ 37.387577][ T6487] 2 locks held by syz-executor290/6487: [ 37.389064][ T6487] #0: ffff0000ca8e60e0 (&type->s_umount_key#48){+.+.}-{4:4}, at: deactivate_super+0xd8/0x100 [ 37.391848][ T6487] #1: ffff0000dd72b480 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}, at: ocfs2_flush_truncate_log+0x44/0x6c [ 37.395310][ T6487] [ 37.395310][ T6487] stack backtrace: [ 37.396838][ T6487] CPU: 0 UID: 0 PID: 6487 Comm: syz-executor290 Not tainted 6.15.0-rc7-syzkaller-gd7fa1af5b33e #0 PREEMPT [ 37.399880][ T6487] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 37.402543][ T6487] Call trace: [ 37.403393][ T6487] show_stack+0x2c/0x3c (C) [ 37.404538][ T6487] __dump_stack+0x30/0x40 [ 37.405705][ T6487] dump_stack_lvl+0xd8/0x12c [ 37.406887][ T6487] dump_stack+0x1c/0x28 [ 37.408010][ T6487] print_circular_bug+0x324/0x32c [ 37.409316][ T6487] check_noncircular+0x154/0x174 [ 37.410676][ T6487] __lock_acquire+0x1728/0x3058 [ 37.411916][ T6487] lock_acquire+0x14c/0x2e0 [ 37.413114][ T6487] down_write+0x50/0xc0 [ 37.414192][ T6487] __ocfs2_flush_truncate_log+0x2e8/0xf6c [ 37.415722][ T6487] ocfs2_flush_truncate_log+0x4c/0x6c [ 37.417143][ T6487] ocfs2_sync_fs+0xf8/0x2a4 [ 37.418329][ T6487] sync_filesystem+0x1a0/0x218 [ 37.419601][ T6487] generic_shutdown_super+0x70/0x2b8 [ 37.420998][ T6487] kill_block_super+0x44/0x90 [ 37.422267][ T6487] deactivate_locked_super+0xc4/0x12c [ 37.423729][ T6487] deactivate_super+0xe0/0x100 [ 37.424965][ T6487] cleanup_mnt+0x31c/0x3ac [ 37.426143][ T6487] __cleanup_mnt+0x20/0x30 [ 37.427396][ T6487] task_work_run+0x1dc/0x260 [ 37.428660][ T6487] do_exit+0x4e8/0x1998 [ 37.429746][ T6487] do_group_exit+0x194/0x22c [ 37.430972][ T6487] pid_child_should_wake+0x0/0x1dc [ 37.432327][ T6487] invoke_syscall+0x98/0x2b8 [ 37.433539][ T6487] el0_svc_common+0x130/0x23c [ 37.434802][ T6487] do_el0_svc+0x48/0x58 [ 37.435894][ T6487] el0_svc+0x58/0x17c [ 37.437007][ T6487] el0t_64_sync_handler+0x78/0x108 [ 37.438349][ T6487] el0t_64_sync+0x198/0x19c [ 37.450010][ T6487] ocfs2: Unmounting device (7,0) on (node local)