Warning: Permanently added '[localhost]:48284' (ED25519) to the list of known hosts. executing program [ 68.958637][ T5304] loop0: detected capacity change from 0 to 32768 [ 68.969344][ T5304] ======================================================= [ 68.969344][ T5304] WARNING: The mand mount option has been deprecated and [ 68.969344][ T5304] and is ignored by this kernel. Remove the mand [ 68.969344][ T5304] option from the mount to silence this warning. [ 68.969344][ T5304] ======================================================= [ 69.014384][ T5304] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 69.037910][ T5304] syz-executor231 (5304) used greatest stack depth: 19128 bytes left executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 71.084096][ T14] [ 71.085157][ T14] ====================================================== [ 71.088188][ T14] WARNING: possible circular locking dependency detected [ 71.091254][ T14] 6.14.0-rc6-syzkaller-00103-g4003c9e78778 #0 Not tainted [ 71.095045][ T14] ------------------------------------------------------ [ 71.098044][ T14] kworker/u4:1/14 is trying to acquire lock: [ 71.100547][ T14] ffff8880447bd100 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}, at: __ocfs2_flush_truncate_log+0x388/0x1240 [ 71.105805][ T14] [ 71.105805][ T14] but task is already holding lock: [ 71.108720][ T14] ffff8880447c3480 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}, at: ocfs2_truncate_log_worker+0x9a/0x1b0 [ 71.114132][ T14] [ 71.114132][ T14] which lock already depends on the new lock. [ 71.114132][ T14] [ 71.118606][ T14] [ 71.118606][ T14] the existing dependency chain (in reverse order) is: [ 71.122216][ T14] [ 71.122216][ T14] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}: [ 71.126366][ T14] lock_acquire+0x1ed/0x550 [ 71.128318][ T14] down_write+0x99/0x220 [ 71.130403][ T14] __ocfs2_move_extents_range+0x1f0b/0x4440 [ 71.133250][ T14] ocfs2_move_extents+0x3ee/0xac0 [ 71.135661][ T14] ocfs2_ioctl_move_extents+0x61a/0x830 [ 71.138256][ T14] ocfs2_ioctl+0x196/0x7d0 [ 71.140292][ T14] __se_sys_ioctl+0xf5/0x170 [ 71.142461][ T14] do_syscall_64+0xf3/0x230 [ 71.144610][ T14] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 71.147251][ T14] [ 71.147251][ T14] -> #0 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{4:4}: [ 71.151573][ T14] validate_chain+0x18ef/0x5920 [ 71.153875][ T14] __lock_acquire+0x1397/0x2100 [ 71.156083][ T14] lock_acquire+0x1ed/0x550 [ 71.158122][ T14] down_write+0x99/0x220 [ 71.160119][ T14] __ocfs2_flush_truncate_log+0x388/0x1240 [ 71.162765][ T14] ocfs2_truncate_log_worker+0xa2/0x1b0 [ 71.165223][ T14] process_scheduled_works+0xabe/0x18e0 [ 71.167943][ T14] worker_thread+0x870/0xd30 [ 71.170193][ T14] kthread+0x7a9/0x920 [ 71.172195][ T14] ret_from_fork+0x4b/0x80 [ 71.174288][ T14] ret_from_fork_asm+0x1a/0x30 [ 71.176410][ T14] [ 71.176410][ T14] other info that might help us debug this: [ 71.176410][ T14] [ 71.180503][ T14] Possible unsafe locking scenario: [ 71.180503][ T14] [ 71.183585][ T14] CPU0 CPU1 [ 71.185960][ T14] ---- ---- [ 71.188272][ T14] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6); [ 71.191285][ T14] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 71.195302][ T14] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6); [ 71.199144][ T14] lock(&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5); [ 71.202130][ T14] [ 71.202130][ T14] *** DEADLOCK *** [ 71.202130][ T14] [ 71.205281][ T14] 3 locks held by kworker/u4:1/14: [ 71.207364][ T14] #0: ffff88803f7b2948 ((wq_completion)ocfs2_wq){+.+.}-{0:0}, at: process_scheduled_works+0x98b/0x18e0 [ 71.212132][ T14] #1: ffffc9000040fc60 ((work_completion)(&(&osb->osb_truncate_log_wq)->work)){+.+.}-{0:0}, at: process_scheduled_works+0x9c6/0x18e0 [ 71.217737][ T14] #2: ffff8880447c3480 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{4:4}, at: ocfs2_truncate_log_worker+0x9a/0x1b0 [ 71.223249][ T14] [ 71.223249][ T14] stack backtrace: [ 71.225684][ T14] CPU: 0 UID: 0 PID: 14 Comm: kworker/u4:1 Not tainted 6.14.0-rc6-syzkaller-00103-g4003c9e78778 #0 [ 71.225698][ T14] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 71.225706][ T14] Workqueue: ocfs2_wq ocfs2_truncate_log_worker [ 71.225722][ T14] Call Trace: [ 71.225728][ T14] [ 71.225733][ T14] dump_stack_lvl+0x241/0x360 [ 71.225746][ T14] ? __pfx_dump_stack_lvl+0x10/0x10 [ 71.225757][ T14] ? __pfx__printk+0x10/0x10 [ 71.225768][ T14] print_circular_bug+0x13a/0x1b0 [ 71.225780][ T14] check_noncircular+0x36a/0x4a0 [ 71.225792][ T14] ? __pfx_check_noncircular+0x10/0x10 [ 71.225802][ T14] ? lockdep_lock+0x123/0x2b0 [ 71.225817][ T14] validate_chain+0x18ef/0x5920 [ 71.225832][ T14] ? __pfx_validate_chain+0x10/0x10 [ 71.225843][ T14] ? mark_lock+0x9a/0x360 [ 71.225854][ T14] ? ocfs2_get_system_file_inode+0x1e3/0x840 [ 71.225868][ T14] ? __pfx_lock_release+0x10/0x10 [ 71.225882][ T14] ? mark_lock+0x9a/0x360 [ 71.225891][ T14] __lock_acquire+0x1397/0x2100 [ 71.225908][ T14] lock_acquire+0x1ed/0x550 [ 71.225920][ T14] ? __ocfs2_flush_truncate_log+0x388/0x1240 [ 71.225936][ T14] ? __pfx_lock_acquire+0x10/0x10 [ 71.225949][ T14] ? __pfx___might_resched+0x10/0x10 [ 71.225962][ T14] ? __pfx_ocfs2_get_system_file_inode+0x10/0x10 [ 71.225975][ T14] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 71.225987][ T14] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 71.226000][ T14] down_write+0x99/0x220 [ 71.226008][ T14] ? __ocfs2_flush_truncate_log+0x388/0x1240 [ 71.226022][ T14] ? __pfx_down_write+0x10/0x10 [ 71.226031][ T14] ? __wake_up_common_lock+0x18c/0x1e0 [ 71.226046][ T14] __ocfs2_flush_truncate_log+0x388/0x1240 [ 71.226063][ T14] ? __pfx___ocfs2_flush_truncate_log+0x10/0x10 [ 71.226080][ T14] ? down_write+0x18c/0x220 [ 71.226089][ T14] ? __pfx_down_write+0x10/0x10 [ 71.226097][ T14] ? __pfx_lock_acquire+0x10/0x10 [ 71.226109][ T14] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 71.226123][ T14] ocfs2_truncate_log_worker+0xa2/0x1b0 [ 71.226134][ T14] ? __pfx_ocfs2_truncate_log_worker+0x10/0x10 [ 71.226145][ T14] ? process_scheduled_works+0x9c6/0x18e0 [ 71.226157][ T14] process_scheduled_works+0xabe/0x18e0 [ 71.226173][ T14] ? __pfx_process_scheduled_works+0x10/0x10 [ 71.226186][ T14] ? assign_work+0x364/0x3d0 [ 71.226198][ T14] worker_thread+0x870/0xd30 [ 71.226211][ T14] ? __kthread_parkme+0x169/0x1d0 [ 71.226225][ T14] ? __pfx_worker_thread+0x10/0x10 [ 71.226237][ T14] kthread+0x7a9/0x920 [ 71.226250][ T14] ? __pfx_kthread+0x10/0x10 [ 71.226263][ T14] ? __pfx_worker_thread+0x10/0x10 [ 71.226275][ T14] ? __pfx_kthread+0x10/0x10 [ 71.226288][ T14] ? __pfx_kthread+0x10/0x10 [ 71.226302][ T14] ? __pfx_kthread+0x10/0x10 [ 71.226315][ T14] ? _raw_spin_unlock_irq+0x23/0x50 [ 71.226326][ T14] ? lockdep_hardirqs_on+0x99/0x150 [ 71.226338][ T14] ? __pfx_kthread+0x10/0x10 [ 71.226351][ T14] ret_from_fork+0x4b/0x80 [ 71.226371][ T14] ? __pfx_kthread+0x10/0x10 [ 71.226383][ T14] ret_from_fork_asm+0x1a/0x30 [ 71.226399][ T14] 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 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program VM DIAGNOSIS: 07:59:06 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000030 RBX=ffffffff9a999100 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000040e9d0 R8 =ffffffff8584353b R9 =1ffff11003e3a046 R10=dffffc0000000000 R11=ffffffff858434f0 R12=dffffc0000000000 R13=0000000000000030 R14=0000000000000030 R15=00000000000003f8 RIP=ffffffff8584356e RFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0000 0000000000000000 ffffffff 00c00000 CS =0010 0000000000000000 ffffffff 00a09b00 DPL=0 CS64 [-RA] SS =0000 0000000000000000 ffffffff 00c00000 DS =0000 0000000000000000 ffffffff 00c00000 FS =0000 0000000000000000 ffffffff 00c00000 GS =0000 ffff88801fc00000 ffffffff 00c00000 LDT=0000 0000000000000000 ffffffff 00c00000 TR =0040 fffffe0000003000 00004087 00008b00 DPL=0 TSS64-busy GDT= fffffe0000001000 0000007f IDT= fffffe0000000000 00000fff CR0=80050033 CR2=00007fa4ae4f9000 CR3=00000000406aa000 CR4=00352ef0 DR0=0000000000000000 DR1=0000000000000000 DR2=0000000000000000 DR3=0000000000000000 DR6=00000000fffe0ff0 DR7=0000000000000400 EFER=0000000000000d01 FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80 FPR0=0000000000000000 0000 FPR1=0000000000000000 0000 FPR2=0000000000000000 0000 FPR3=0000000000000000 0000 FPR4=0000000000000000 0000 FPR5=0000000000000000 0000 FPR6=0000000000000000 0000 FPR7=0000000000000000 0000 Opmask00=0000000000440401 Opmask01=0000000000000001 Opmask02=00000000fff7ffff Opmask03=0000000000000000 Opmask04=0000000000000000 Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff8367a020 00007fff8367a000 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff8367a160 00007fff83679fe0 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fa4b683d804 00007fa4b6851260 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff8367a020 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff8367a160 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff8367a160 00007fff83679fe0 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff8367a020 00007fff8367a000 ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM14=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM15=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM16=0000000000000000 0000000000000000 0000000000000000 0000000000000000 49e810d4689b1371 37937d0f6fa17db6 fa16fa0667f0001f 651c4fcfddec9c78 ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2525252525252525 2525252525252525 2525252525252525 2525252525252525 ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 65723d73726f7272 6500747865003036 36396f7369007265 6c6c616b7a797300 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 40571856574a5757 4000515d40001513 131c4a564c005740 4949444e5f5c5600 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM27=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM28=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM29=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM30=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM31=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000