Warning: Permanently added '[localhost]:15619' (ED25519) to the list of known hosts. executing program syzkaller login: [ 78.763312][ T5304] loop0: detected capacity change from 0 to 32768 [ 78.770803][ T5304] ======================================================= [ 78.770803][ T5304] WARNING: The mand mount option has been deprecated and [ 78.770803][ T5304] and is ignored by this kernel. Remove the mand [ 78.770803][ T5304] option from the mount to silence this warning. [ 78.770803][ T5304] ======================================================= [ 78.843183][ T5304] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 78.867847][ T5304] [ 78.868947][ T5304] ====================================================== [ 78.871804][ T5304] WARNING: possible circular locking dependency detected [ 78.874562][ T5304] 6.16.0-rc3-syzkaller-00057-g92ca6c498a5e #0 Not tainted [ 78.878354][ T5304] ------------------------------------------------------ [ 78.881023][ T5304] syz-executor300/5304 is trying to acquire lock: [ 78.883673][ T5304] ffff8880461dbf60 (&oi->ip_alloc_sem){+.+.}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 78.889114][ T5304] [ 78.889114][ T5304] but task is already holding lock: [ 78.892058][ T5304] ffff8880461dbff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 78.896632][ T5304] [ 78.896632][ T5304] which lock already depends on the new lock. [ 78.896632][ T5304] [ 78.900799][ T5304] [ 78.900799][ T5304] the existing dependency chain (in reverse order) is: [ 78.904786][ T5304] [ 78.904786][ T5304] -> #4 (&oi->ip_xattr_sem){++++}-{4:4}: [ 78.908193][ T5304] lock_acquire+0x120/0x360 [ 78.910022][ T5304] down_read+0x46/0x2e0 [ 78.912110][ T5304] ocfs2_init_acl+0x2f9/0x720 [ 78.914275][ T5304] ocfs2_mknod+0x1321/0x2050 [ 78.916131][ T5304] ocfs2_create+0x1a5/0x440 [ 78.918296][ T5304] path_openat+0x14f1/0x3830 [ 78.920564][ T5304] do_filp_open+0x1fa/0x410 [ 78.922735][ T5304] do_sys_openat2+0x121/0x1c0 [ 78.925074][ T5304] __x64_sys_openat+0x138/0x170 [ 78.927411][ T5304] do_syscall_64+0xfa/0x3b0 [ 78.929590][ T5304] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.932299][ T5304] [ 78.932299][ T5304] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 78.935336][ T5304] lock_acquire+0x120/0x360 [ 78.937449][ T5304] start_this_handle+0x1fa7/0x21c0 [ 78.939814][ T5304] jbd2__journal_start+0x2c1/0x5b0 [ 78.942017][ T5304] jbd2_journal_start+0x2a/0x40 [ 78.944375][ T5304] ocfs2_start_trans+0x376/0x6d0 [ 78.946750][ T5304] ocfs2_mknod+0xe93/0x2050 [ 78.948950][ T5304] ocfs2_create+0x1a5/0x440 [ 78.951146][ T5304] path_openat+0x14f1/0x3830 [ 78.953364][ T5304] do_filp_open+0x1fa/0x410 [ 78.955577][ T5304] do_sys_openat2+0x121/0x1c0 [ 78.957930][ T5304] __x64_sys_openat+0x138/0x170 [ 78.960220][ T5304] do_syscall_64+0xfa/0x3b0 [ 78.962350][ T5304] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.965196][ T5304] [ 78.965196][ T5304] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 78.968522][ T5304] lock_acquire+0x120/0x360 [ 78.970646][ T5304] down_read+0x46/0x2e0 [ 78.972615][ T5304] ocfs2_start_trans+0x36a/0x6d0 [ 78.974822][ T5304] ocfs2_mknod+0xe93/0x2050 [ 78.976841][ T5304] ocfs2_create+0x1a5/0x440 [ 78.978732][ T5304] path_openat+0x14f1/0x3830 [ 78.980406][ T5304] do_filp_open+0x1fa/0x410 [ 78.982433][ T5304] do_sys_openat2+0x121/0x1c0 [ 78.984725][ T5304] __x64_sys_openat+0x138/0x170 [ 78.987079][ T5304] do_syscall_64+0xfa/0x3b0 [ 78.989084][ T5304] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 78.991660][ T5304] [ 78.991660][ T5304] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 78.994490][ T5304] lock_acquire+0x120/0x360 [ 78.996653][ T5304] ocfs2_start_trans+0x26b/0x6d0 [ 78.998717][ T5304] ocfs2_truncate_file+0x643/0x1420 [ 79.000853][ T5304] ocfs2_setattr+0x1520/0x1b40 [ 79.002984][ T5304] notify_change+0xb33/0xe40 [ 79.005161][ T5304] do_truncate+0x1a4/0x220 [ 79.007323][ T5304] path_openat+0x306c/0x3830 [ 79.009444][ T5304] do_filp_open+0x1fa/0x410 [ 79.011265][ T5304] do_sys_openat2+0x121/0x1c0 [ 79.013596][ T5304] __x64_sys_open+0x11e/0x150 [ 79.016307][ T5304] do_syscall_64+0xfa/0x3b0 [ 79.019204][ T5304] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.022127][ T5304] [ 79.022127][ T5304] -> #0 (&oi->ip_alloc_sem){+.+.}-{4:4}: [ 79.025443][ T5304] validate_chain+0xb9b/0x2140 [ 79.027751][ T5304] __lock_acquire+0xab9/0xd20 [ 79.030157][ T5304] lock_acquire+0x120/0x360 [ 79.032304][ T5304] down_write+0x96/0x1f0 [ 79.034391][ T5304] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.037093][ T5304] ocfs2_truncate_file+0xda0/0x1420 [ 79.039405][ T5304] ocfs2_setattr+0x1520/0x1b40 [ 79.041764][ T5304] notify_change+0xb33/0xe40 [ 79.044025][ T5304] do_truncate+0x1a4/0x220 [ 79.045980][ T5304] path_openat+0x306c/0x3830 [ 79.048105][ T5304] do_filp_open+0x1fa/0x410 [ 79.050231][ T5304] do_sys_openat2+0x121/0x1c0 [ 79.052308][ T5304] __x64_sys_open+0x11e/0x150 [ 79.054678][ T5304] do_syscall_64+0xfa/0x3b0 [ 79.056815][ T5304] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.059601][ T5304] [ 79.059601][ T5304] other info that might help us debug this: [ 79.059601][ T5304] [ 79.063916][ T5304] Chain exists of: [ 79.063916][ T5304] &oi->ip_alloc_sem --> jbd2_handle --> &oi->ip_xattr_sem [ 79.063916][ T5304] [ 79.069408][ T5304] Possible unsafe locking scenario: [ 79.069408][ T5304] [ 79.072581][ T5304] CPU0 CPU1 [ 79.075073][ T5304] ---- ---- [ 79.077372][ T5304] lock(&oi->ip_xattr_sem); [ 79.079371][ T5304] lock(jbd2_handle); [ 79.082261][ T5304] lock(&oi->ip_xattr_sem); [ 79.085305][ T5304] lock(&oi->ip_alloc_sem); [ 79.087384][ T5304] [ 79.087384][ T5304] *** DEADLOCK *** [ 79.087384][ T5304] [ 79.090832][ T5304] 3 locks held by syz-executor300/5304: [ 79.093225][ T5304] #0: ffff88803e326428 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 [ 79.096992][ T5304] #1: ffff8880461dc2c0 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: do_truncate+0x171/0x220 [ 79.101329][ T5304] #2: ffff8880461dbff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 79.106079][ T5304] [ 79.106079][ T5304] stack backtrace: [ 79.108580][ T5304] CPU: 0 UID: 0 PID: 5304 Comm: syz-executor300 Not tainted 6.16.0-rc3-syzkaller-00057-g92ca6c498a5e #0 PREEMPT(full) [ 79.108595][ T5304] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 79.108601][ T5304] Call Trace: [ 79.108609][ T5304] [ 79.108615][ T5304] dump_stack_lvl+0x189/0x250 [ 79.108634][ T5304] ? __pfx_dump_stack_lvl+0x10/0x10 [ 79.108649][ T5304] ? __pfx__printk+0x10/0x10 [ 79.108660][ T5304] ? print_lock_name+0xde/0x100 [ 79.108671][ T5304] print_circular_bug+0x2ee/0x310 [ 79.108683][ T5304] check_noncircular+0x134/0x160 [ 79.108694][ T5304] validate_chain+0xb9b/0x2140 [ 79.108707][ T5304] __lock_acquire+0xab9/0xd20 [ 79.108728][ T5304] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.108741][ T5304] lock_acquire+0x120/0x360 [ 79.108753][ T5304] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.108769][ T5304] down_write+0x96/0x1f0 [ 79.108779][ T5304] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.108791][ T5304] ? __pfx_down_write+0x10/0x10 [ 79.108803][ T5304] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.108817][ T5304] ? __pfx_ocfs2_try_remove_refcount_tree+0x10/0x10 [ 79.108830][ T5304] ? up_write+0x1c4/0x420 [ 79.108840][ T5304] ocfs2_truncate_file+0xda0/0x1420 [ 79.108859][ T5304] ? __pfx_ocfs2_truncate_file+0x10/0x10 [ 79.108874][ T5304] ? do_raw_spin_unlock+0x4d/0x240 [ 79.108884][ T5304] ? _raw_spin_unlock+0x28/0x50 [ 79.108896][ T5304] ? ocfs2_inode_lock_tracker+0x3ec/0x660 [ 79.108909][ T5304] ? __pfx_ocfs2_inode_lock_tracker+0x10/0x10 [ 79.108920][ T5304] ? ocfs2_rw_lock+0x13a/0x240 [ 79.108929][ T5304] ? __pfx___dquot_initialize+0x10/0x10 [ 79.108940][ T5304] ? __pfx_ocfs2_rw_lock+0x10/0x10 [ 79.108949][ T5304] ? setattr_prepare+0x1e7/0xac0 [ 79.108964][ T5304] ? jbd2_journal_begin_ordered_truncate+0xbb/0x150 [ 79.108981][ T5304] ocfs2_setattr+0x1520/0x1b40 [ 79.108993][ T5304] ? __pfx_ocfs2_setattr+0x10/0x10 [ 79.109001][ T5304] ? ktime_get_coarse_real_ts64_mg+0x52/0x1e0 [ 79.109014][ T5304] ? seqcount_lockdep_reader_access+0x175/0x1c0 [ 79.109029][ T5304] ? ktime_get_coarse_real_ts64_mg+0x1be/0x1e0 [ 79.109042][ T5304] ? current_time+0x222/0x370 [ 79.109054][ T5304] ? evm_inode_setattr+0x1b6/0x7d0 [ 79.109067][ T5304] ? __pfx_current_time+0x10/0x10 [ 79.109080][ T5304] ? try_break_deleg+0x79/0x130 [ 79.109093][ T5304] ? __pfx_ocfs2_setattr+0x10/0x10 [ 79.109102][ T5304] notify_change+0xb33/0xe40 [ 79.109119][ T5304] do_truncate+0x1a4/0x220 [ 79.109129][ T5304] ? __pfx_do_truncate+0x10/0x10 [ 79.109137][ T5304] ? apparmor_file_truncate+0x23e/0x2d0 [ 79.109153][ T5304] path_openat+0x306c/0x3830 [ 79.109168][ T5304] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 79.109188][ T5304] ? __pfx_path_openat+0x10/0x10 [ 79.109201][ T5304] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.109216][ T5304] do_filp_open+0x1fa/0x410 [ 79.109229][ T5304] ? __lock_acquire+0xab9/0xd20 [ 79.109243][ T5304] ? __pfx_do_filp_open+0x10/0x10 [ 79.109261][ T5304] ? _raw_spin_unlock+0x28/0x50 [ 79.109273][ T5304] ? alloc_fd+0x64c/0x6c0 [ 79.109285][ T5304] do_sys_openat2+0x121/0x1c0 [ 79.109298][ T5304] ? __pfx_do_sys_openat2+0x10/0x10 [ 79.109314][ T5304] __x64_sys_open+0x11e/0x150 [ 79.109328][ T5304] do_syscall_64+0xfa/0x3b0 [ 79.109337][ T5304] ? lockdep_hardirqs_on+0x9c/0x150 [ 79.109350][ T5304] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.109360][ T5304] ? clear_bhb_loop+0x60/0xb0 [ 79.109371][ T5304] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.109381][ T5304] RIP: 0033:0x7f6076688679 [ 79.109391][ T5304] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 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 [ 79.109400][ T5304] RSP: 002b:00007ffc28a5bf18 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 [ 79.109412][ T5304] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007f6076688679 [ 79.109419][ T5304] RDX: 0000000000000000 RSI: 000000000014927e RDI: 0000200000004ac0 [ 79.109425][ T5304] RBP: 00007f60766ff610 R08: 0000000000000000 R09: 0000000000000000 [ 79.109431][ T5304] R10: 000000000000442a R11: 0000000000000246 R12: 0000000000000001 [ 79.109437][ T5304] R13: 00007ffc28a5c0e8 R14: 0000000000000001 R15: 0000000000000001 [ 79.109447][ T5304] [ 86.668568][ T9] cfg80211: failed to load regulatory.db VM DIAGNOSIS: 01:36:41 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000073 RBX=0000000000000073 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=00000000000003f8 RSP=ffffc9000d25e850 R8 =ffff888033bc0237 R9 =1ffff11006778046 R10=dffffc0000000000 R11=ffffffff85473f50 R12=dffffc0000000000 R13=ffffffff99ac38e3 R14=ffffffff99dc8760 R15=0000000000000000 RIP=ffffffff85473fcc 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 0000555576cee380 ffffffff 00c00000 GS =0000 ffff88808d251000 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=00007f4c91956000 CR3=0000000043119000 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=0000000004000000 Opmask01=0000000000000000 Opmask02=000000000000001f Opmask03=0000000000000000 Opmask04=0000000000000000 Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0a2315b77b8ade7f 40dd0299a0fcbd2c ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 51e9f8908c31a160 21df7c32faa3160a ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00002875211f8875 00004461c933c461 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000081ba053281b 0000141f97a5941f ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 8d374101f233b2cd 62eb78fdca5483cc ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 2b32d4ec44a6d9cd 40dd0299a0fcbd2c ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 8d374101f233b2cd 62eb78fdca5483cc ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 2b32d4ec44a6d9cd 40dd0299a0fcbd2c ZMM08=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 4883baedaf03cbb3 ZMM09=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 f1a44dde03a07dc4 e52d6f8431bbbd26 ZMM10=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffffffffffff 0b0a090803020100 ZMM11=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 210fbf35c91bfb4e 0000000000000000 ZMM12=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0b0a090803020100 ffffffffffffffff ZMM13=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0c0d0e0f08090a0b 0405060700010203 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 666c61636f6c2c33 3030303030303030 3030303030303030 3030303d636f6c6c ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 ea16568524002c65 6e6f6e3d74616562 74726165682c7274 6e692c736b636f6c 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