Warning: Permanently added '[localhost]:33815' (ED25519) to the list of known hosts. executing program [ 77.356893][ T5311] loop0: detected capacity change from 0 to 32768 [ 77.368755][ T5311] ======================================================= [ 77.368755][ T5311] WARNING: The mand mount option has been deprecated and [ 77.368755][ T5311] and is ignored by this kernel. Remove the mand [ 77.368755][ T5311] option from the mount to silence this warning. [ 77.368755][ T5311] ======================================================= [ 77.428991][ T5311] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 77.443878][ T5311] [ 77.445012][ T5311] ====================================================== [ 77.447674][ T5311] WARNING: possible circular locking dependency detected [ 77.450540][ T5311] 6.14.0-rc5-syzkaller-00013-g99fa936e8e4f #0 Not tainted [ 77.454873][ T5311] ------------------------------------------------------ [ 77.457592][ T5311] syz-executor360/5311 is trying to acquire lock: [ 77.460059][ T5311] ffff888045ab3f60 (&oi->ip_alloc_sem){+.+.}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xb6/0x330 [ 77.464335][ T5311] [ 77.464335][ T5311] but task is already holding lock: [ 77.467378][ T5311] ffff888045ab3ff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa5/0x330 [ 77.471898][ T5311] [ 77.471898][ T5311] which lock already depends on the new lock. [ 77.471898][ T5311] [ 77.475945][ T5311] [ 77.475945][ T5311] the existing dependency chain (in reverse order) is: [ 77.479641][ T5311] [ 77.479641][ T5311] -> #4 (&oi->ip_xattr_sem){++++}-{4:4}: [ 77.483152][ T5311] lock_acquire+0x1ed/0x550 [ 77.485318][ T5311] down_read+0xb1/0xa40 [ 77.487372][ T5311] ocfs2_init_acl+0x397/0x930 [ 77.489648][ T5311] ocfs2_mknod+0x1c05/0x2b30 [ 77.491443][ T5311] ocfs2_create+0x1ab/0x470 [ 77.493551][ T5311] path_openat+0x193c/0x3590 [ 77.495948][ T5311] do_filp_open+0x27f/0x4e0 [ 77.498433][ T5311] do_sys_openat2+0x13e/0x1d0 [ 77.500392][ T5311] __x64_sys_open+0x225/0x270 [ 77.502331][ T5311] do_syscall_64+0xf3/0x230 [ 77.504385][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.507029][ T5311] [ 77.507029][ T5311] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 77.509904][ T5311] lock_acquire+0x1ed/0x550 [ 77.512080][ T5311] start_this_handle+0x1eb4/0x2110 [ 77.514579][ T5311] jbd2__journal_start+0x2da/0x5d0 [ 77.516630][ T5311] jbd2_journal_start+0x29/0x40 [ 77.518649][ T5311] ocfs2_start_trans+0x3c9/0x700 [ 77.520866][ T5311] ocfs2_mknod+0x150c/0x2b30 [ 77.523369][ T5311] ocfs2_create+0x1ab/0x470 [ 77.525876][ T5311] path_openat+0x193c/0x3590 [ 77.527974][ T5311] do_filp_open+0x27f/0x4e0 [ 77.529852][ T5311] do_sys_openat2+0x13e/0x1d0 [ 77.531777][ T5311] __x64_sys_open+0x225/0x270 [ 77.533905][ T5311] do_syscall_64+0xf3/0x230 [ 77.535927][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.538377][ T5311] [ 77.538377][ T5311] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 77.541816][ T5311] lock_acquire+0x1ed/0x550 [ 77.544881][ T5311] down_read+0xb1/0xa40 [ 77.547572][ T5311] ocfs2_start_trans+0x3be/0x700 [ 77.550214][ T5311] ocfs2_mknod+0x150c/0x2b30 [ 77.552344][ T5311] ocfs2_create+0x1ab/0x470 [ 77.554499][ T5311] path_openat+0x193c/0x3590 [ 77.556468][ T5311] do_filp_open+0x27f/0x4e0 [ 77.558328][ T5311] do_sys_openat2+0x13e/0x1d0 [ 77.560385][ T5311] __x64_sys_open+0x225/0x270 [ 77.562489][ T5311] do_syscall_64+0xf3/0x230 [ 77.564349][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.567001][ T5311] [ 77.567001][ T5311] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 77.570815][ T5311] lock_acquire+0x1ed/0x550 [ 77.573198][ T5311] ocfs2_start_trans+0x2b9/0x700 [ 77.575207][ T5311] ocfs2_truncate_file+0x69a/0x1560 [ 77.577312][ T5311] ocfs2_setattr+0x1890/0x1ef0 [ 77.579321][ T5311] notify_change+0xbca/0xe90 [ 77.581404][ T5311] do_truncate+0x220/0x310 [ 77.583273][ T5311] path_openat+0x2e1b/0x3590 [ 77.585205][ T5311] do_filp_open+0x27f/0x4e0 [ 77.587137][ T5311] do_sys_openat2+0x13e/0x1d0 [ 77.589202][ T5311] __x64_sys_open+0x225/0x270 [ 77.591357][ T5311] do_syscall_64+0xf3/0x230 [ 77.593850][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.596550][ T5311] [ 77.596550][ T5311] -> #0 (&oi->ip_alloc_sem){+.+.}-{4:4}: [ 77.599474][ T5311] validate_chain+0x18ef/0x5920 [ 77.601567][ T5311] __lock_acquire+0x1397/0x2100 [ 77.603633][ T5311] lock_acquire+0x1ed/0x550 [ 77.605675][ T5311] down_write+0x99/0x220 [ 77.607889][ T5311] ocfs2_try_remove_refcount_tree+0xb6/0x330 [ 77.610427][ T5311] ocfs2_truncate_file+0xe1b/0x1560 [ 77.612833][ T5311] ocfs2_setattr+0x1890/0x1ef0 [ 77.615081][ T5311] notify_change+0xbca/0xe90 [ 77.617148][ T5311] do_truncate+0x220/0x310 [ 77.618859][ T5311] path_openat+0x2e1b/0x3590 [ 77.620741][ T5311] do_filp_open+0x27f/0x4e0 [ 77.622685][ T5311] do_sys_openat2+0x13e/0x1d0 [ 77.624698][ T5311] __x64_sys_open+0x225/0x270 [ 77.626754][ T5311] do_syscall_64+0xf3/0x230 [ 77.629031][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.632064][ T5311] [ 77.632064][ T5311] other info that might help us debug this: [ 77.632064][ T5311] [ 77.636773][ T5311] Chain exists of: [ 77.636773][ T5311] &oi->ip_alloc_sem --> jbd2_handle --> &oi->ip_xattr_sem [ 77.636773][ T5311] [ 77.641530][ T5311] Possible unsafe locking scenario: [ 77.641530][ T5311] [ 77.644260][ T5311] CPU0 CPU1 [ 77.646268][ T5311] ---- ---- [ 77.648438][ T5311] lock(&oi->ip_xattr_sem); [ 77.650569][ T5311] lock(jbd2_handle); [ 77.653488][ T5311] lock(&oi->ip_xattr_sem); [ 77.656566][ T5311] lock(&oi->ip_alloc_sem); [ 77.658500][ T5311] [ 77.658500][ T5311] *** DEADLOCK *** [ 77.658500][ T5311] [ 77.661633][ T5311] 3 locks held by syz-executor360/5311: [ 77.663747][ T5311] #0: ffff888044c04420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 77.667379][ T5311] #1: ffff888045ab42c0 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: do_truncate+0x20c/0x310 [ 77.671730][ T5311] #2: ffff888045ab3ff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa5/0x330 [ 77.676473][ T5311] [ 77.676473][ T5311] stack backtrace: [ 77.678833][ T5311] CPU: 0 UID: 0 PID: 5311 Comm: syz-executor360 Not tainted 6.14.0-rc5-syzkaller-00013-g99fa936e8e4f #0 [ 77.678849][ T5311] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 77.678855][ T5311] Call Trace: [ 77.678863][ T5311] [ 77.678869][ T5311] dump_stack_lvl+0x241/0x360 [ 77.678886][ T5311] ? __pfx_dump_stack_lvl+0x10/0x10 [ 77.678897][ T5311] ? __pfx__printk+0x10/0x10 [ 77.678909][ T5311] print_circular_bug+0x13a/0x1b0 [ 77.678923][ T5311] check_noncircular+0x36a/0x4a0 [ 77.678934][ T5311] ? __pfx_check_noncircular+0x10/0x10 [ 77.678945][ T5311] ? lockdep_lock+0x123/0x2b0 [ 77.678959][ T5311] validate_chain+0x18ef/0x5920 [ 77.678971][ T5311] ? __pfx_validate_chain+0x10/0x10 [ 77.678980][ T5311] ? stack_trace_save+0x118/0x1d0 [ 77.678991][ T5311] ? __pfx_stack_trace_save+0x10/0x10 [ 77.679004][ T5311] ? lockdep_unlock+0x16a/0x300 [ 77.679019][ T5311] ? mark_lock+0x9a/0x360 [ 77.679026][ T5311] __lock_acquire+0x1397/0x2100 [ 77.679040][ T5311] lock_acquire+0x1ed/0x550 [ 77.679052][ T5311] ? ocfs2_try_remove_refcount_tree+0xb6/0x330 [ 77.679067][ T5311] ? __pfx_lock_acquire+0x10/0x10 [ 77.679079][ T5311] ? __pfx___might_resched+0x10/0x10 [ 77.679090][ T5311] ? ocfs2_truncate_file+0xd45/0x1560 [ 77.679101][ T5311] ? __pfx_lock_release+0x10/0x10 [ 77.679113][ T5311] down_write+0x99/0x220 [ 77.679128][ T5311] ? ocfs2_try_remove_refcount_tree+0xb6/0x330 [ 77.679141][ T5311] ? __pfx_down_write+0x10/0x10 [ 77.679155][ T5311] ocfs2_try_remove_refcount_tree+0xb6/0x330 [ 77.679170][ T5311] ? __pfx_ocfs2_try_remove_refcount_tree+0x10/0x10 [ 77.679183][ T5311] ? ocfs2_metadata_cache_get_super+0x43/0x80 [ 77.679198][ T5311] ? ocfs2_inode_cache_get_super+0xd/0x40 [ 77.679211][ T5311] ocfs2_truncate_file+0xe1b/0x1560 [ 77.679222][ T5311] ? ocfs2_inode_lock_tracker+0x45a/0x760 [ 77.679237][ T5311] ? __pfx_ocfs2_truncate_file+0x10/0x10 [ 77.679247][ T5311] ? do_raw_spin_unlock+0x58/0x8b0 [ 77.679259][ T5311] ? __asan_memset+0x23/0x50 [ 77.679271][ T5311] ? _raw_spin_unlock+0x28/0x50 [ 77.679281][ T5311] ? ocfs2_inode_lock_tracker+0x45a/0x760 [ 77.679294][ T5311] ? __pfx_ocfs2_inode_lock_tracker+0x10/0x10 [ 77.679306][ T5311] ? ocfs2_rw_lock+0x13e/0x260 [ 77.679318][ T5311] ? __pfx_ocfs2_rw_lock+0x10/0x10 [ 77.679329][ T5311] ? setattr_prepare+0x1f5/0xb20 [ 77.679341][ T5311] ? jbd2_journal_begin_ordered_truncate+0xc0/0x160 [ 77.679357][ T5311] ocfs2_setattr+0x1890/0x1ef0 [ 77.679371][ T5311] ? __pfx_ocfs2_setattr+0x10/0x10 [ 77.679381][ T5311] ? seqcount_lockdep_reader_access+0x1d7/0x220 [ 77.679395][ T5311] ? __pfx_seqcount_lockdep_reader_access+0x10/0x10 [ 77.679410][ T5311] ? ktime_get_coarse_real_ts64_mg+0x20c/0x220 [ 77.679425][ T5311] ? current_time+0x279/0x3a0 [ 77.679439][ T5311] ? evm_inode_setattr+0x1b2/0x7d0 [ 77.679456][ T5311] ? security_inode_setattr+0xdb/0x350 [ 77.679466][ T5311] ? __pfx_ocfs2_setattr+0x10/0x10 [ 77.679477][ T5311] notify_change+0xbca/0xe90 [ 77.679490][ T5311] do_truncate+0x220/0x310 [ 77.679500][ T5311] ? __pfx_do_truncate+0x10/0x10 [ 77.679509][ T5311] ? apparmor_file_truncate+0x297/0x350 [ 77.679526][ T5311] path_openat+0x2e1b/0x3590 [ 77.679540][ T5311] ? __pfx_path_openat+0x10/0x10 [ 77.679553][ T5311] do_filp_open+0x27f/0x4e0 [ 77.679562][ T5311] ? __pfx_do_filp_open+0x10/0x10 [ 77.679570][ T5311] ? do_raw_spin_lock+0x14f/0x370 [ 77.679588][ T5311] do_sys_openat2+0x13e/0x1d0 [ 77.679629][ T5311] ? __might_fault+0xaa/0x120 [ 77.679639][ T5311] ? __pfx_do_sys_openat2+0x10/0x10 [ 77.679652][ T5311] ? rcu_is_watching+0x15/0xb0 [ 77.679663][ T5311] ? __rseq_handle_notify_resume+0x34d/0x14e0 [ 77.679682][ T5311] __x64_sys_open+0x225/0x270 [ 77.679695][ T5311] ? __pfx___x64_sys_open+0x10/0x10 [ 77.679708][ T5311] ? do_syscall_64+0x100/0x230 [ 77.679723][ T5311] ? do_syscall_64+0xb6/0x230 [ 77.679736][ T5311] do_syscall_64+0xf3/0x230 [ 77.679748][ T5311] ? clear_bhb_loop+0x35/0x90 [ 77.679762][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.679776][ T5311] RIP: 0033:0x7fe24354ae99 [ 77.679787][ T5311] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 77.679795][ T5311] RSP: 002b:00007fffe2731b08 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 77.679813][ T5311] RAX: ffffffffffffffda RBX: 0000400000000180 RCX: 00007fe24354ae99 [ 77.679821][ T5311] RDX: 0000000000000000 RSI: 000000000014927e RDI: 0000400000000180 [ 77.679827][ T5311] RBP: 00007fe2435c35f0 R08: 0000555581f874c0 R09: 0000555581f874c0 [ 77.679834][ T5311] R10: 0000000000004425 R11: 0000000000000246 R12: 00007fffe2731b30 [ 77.679840][ T5311] R13: 00007fffe2731d58 R14: 431bde82d7b634db R15: 00007fe24359403b [ 77.679850][ T5311] 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 [ 86.795745][ T790] cfg80211: failed to load regulatory.db executing program executing program executing program executing program executing program VM DIAGNOSIS: 03:27:47 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000079 RBX=ffffffff9a9960a0 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000d27e330 R8 =ffffffff8583f34b R9 =1ffff11006853046 R10=dffffc0000000000 R11=ffffffff8583f300 R12=dffffc0000000000 R13=0000000000000079 R14=0000000000000079 R15=00000000000003f8 RIP=ffffffff8583f37e 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 =0018 0000000000000000 ffffffff 00c09300 DPL=0 DS [-WA] DS =0000 0000000000000000 ffffffff 00c00000 FS =0000 0000555581f86380 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=00007f5d71795ed8 CR3=000000004309c000 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=00000000fffff800 Opmask01=0000000000000000 Opmask02=000000000000001f 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 00007fffe2731100 00007fffe27310e0 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fffe2731240 00007fffe27310c0 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fe2435b46e4 00007fe2435c8240 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fffe2731100 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fffe2731240 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fffe2731240 00007fffe27310c0 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fffe2731100 00007fffe27310e0 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 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM17=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000000327366636f ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 6b636f6c666c6163 6f6c2c74696d6d6f 635f636e7973615f 6c616e72756f6a2c ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3030303030303030 30303d6c6576656c 5f767365725f7269 642c72746e692c73 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000002c3030 3030303030303030 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