Warning: Permanently added '[localhost]:40256' (ED25519) to the list of known hosts. executing program syzkaller login: [ 77.343131][ T5302] loop0: detected capacity change from 0 to 32768 [ 77.352854][ T5302] ======================================================= [ 77.352854][ T5302] WARNING: The mand mount option has been deprecated and [ 77.352854][ T5302] and is ignored by this kernel. Remove the mand [ 77.352854][ T5302] option from the mount to silence this warning. [ 77.352854][ T5302] ======================================================= [ 77.403899][ T5302] ocfs2: Slot 0 on device (7,0) was already allocated to this node! [ 77.432809][ T5302] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 77.444676][ T5302] [ 77.445615][ T5302] ====================================================== [ 77.447977][ T5302] WARNING: possible circular locking dependency detected [ 77.450408][ T5302] 6.15.0-rc5-syzkaller-00043-gd76bb1ebb558 #0 Not tainted [ 77.454288][ T5302] ------------------------------------------------------ [ 77.457202][ T5302] syz-executor208/5302 is trying to acquire lock: [ 77.459850][ T5302] ffff8880470cbf60 (&oi->ip_alloc_sem){+.+.}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 77.465285][ T5302] [ 77.465285][ T5302] but task is already holding lock: [ 77.468474][ T5302] ffff8880470cbff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 77.473058][ T5302] [ 77.473058][ T5302] which lock already depends on the new lock. [ 77.473058][ T5302] [ 77.477547][ T5302] [ 77.477547][ T5302] the existing dependency chain (in reverse order) is: [ 77.481621][ T5302] [ 77.481621][ T5302] -> #4 (&oi->ip_xattr_sem){++++}-{4:4}: [ 77.485102][ T5302] lock_acquire+0x120/0x360 [ 77.487218][ T5302] down_read+0x46/0x2e0 [ 77.489380][ T5302] ocfs2_init_acl+0x2f9/0x720 [ 77.491625][ T5302] ocfs2_mknod+0x1321/0x2050 [ 77.493739][ T5302] ocfs2_create+0x1a5/0x440 [ 77.495881][ T5302] path_openat+0x14f1/0x3830 [ 77.498109][ T5302] do_filp_open+0x1fa/0x410 [ 77.500290][ T5302] do_sys_openat2+0x121/0x1c0 [ 77.502493][ T5302] __x64_sys_open+0x11e/0x150 [ 77.504747][ T5302] do_syscall_64+0xf6/0x210 [ 77.506932][ T5302] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.509725][ T5302] [ 77.509725][ T5302] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 77.512914][ T5302] lock_acquire+0x120/0x360 [ 77.515189][ T5302] start_this_handle+0x1fa7/0x21c0 [ 77.517641][ T5302] jbd2__journal_start+0x2c1/0x5b0 [ 77.520075][ T5302] jbd2_journal_start+0x2a/0x40 [ 77.522493][ T5302] ocfs2_start_trans+0x376/0x6d0 [ 77.524813][ T5302] ocfs2_mknod+0xe93/0x2050 [ 77.526972][ T5302] ocfs2_create+0x1a5/0x440 [ 77.529100][ T5302] path_openat+0x14f1/0x3830 [ 77.531263][ T5302] do_filp_open+0x1fa/0x410 [ 77.533342][ T5302] do_sys_openat2+0x121/0x1c0 [ 77.535515][ T5302] __x64_sys_open+0x11e/0x150 [ 77.537624][ T5302] do_syscall_64+0xf6/0x210 [ 77.539752][ T5302] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.542364][ T5302] [ 77.542364][ T5302] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 77.545828][ T5302] lock_acquire+0x120/0x360 [ 77.548004][ T5302] down_read+0x46/0x2e0 [ 77.550071][ T5302] ocfs2_start_trans+0x36a/0x6d0 [ 77.552421][ T5302] ocfs2_mknod+0xe93/0x2050 [ 77.554553][ T5302] ocfs2_create+0x1a5/0x440 [ 77.556716][ T5302] path_openat+0x14f1/0x3830 [ 77.558852][ T5302] do_filp_open+0x1fa/0x410 [ 77.560959][ T5302] do_sys_openat2+0x121/0x1c0 [ 77.563086][ T5302] __x64_sys_open+0x11e/0x150 [ 77.565295][ T5302] do_syscall_64+0xf6/0x210 [ 77.567425][ T5302] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.570212][ T5302] [ 77.570212][ T5302] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 77.573564][ T5302] lock_acquire+0x120/0x360 [ 77.575735][ T5302] ocfs2_start_trans+0x26b/0x6d0 [ 77.577937][ T5302] ocfs2_truncate_file+0x643/0x1420 [ 77.580264][ T5302] ocfs2_setattr+0x1520/0x1b40 [ 77.582542][ T5302] notify_change+0xb33/0xe40 [ 77.584825][ T5302] do_truncate+0x19a/0x220 [ 77.586789][ T5302] path_openat+0x306c/0x3830 [ 77.588692][ T5302] do_filp_open+0x1fa/0x410 [ 77.590750][ T5302] do_sys_openat2+0x121/0x1c0 [ 77.592776][ T5302] __x64_sys_creat+0x8f/0xc0 [ 77.597015][ T5302] do_syscall_64+0xf6/0x210 [ 77.599291][ T5302] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.601962][ T5302] [ 77.601962][ T5302] -> #0 (&oi->ip_alloc_sem){+.+.}-{4:4}: [ 77.605269][ T5302] validate_chain+0xb9b/0x2140 [ 77.607427][ T5302] __lock_acquire+0xaac/0xd20 [ 77.609676][ T5302] lock_acquire+0x120/0x360 [ 77.611773][ T5302] down_write+0x96/0x1f0 [ 77.613579][ T5302] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 77.616414][ T5302] ocfs2_truncate_file+0xda0/0x1420 [ 77.618839][ T5302] ocfs2_setattr+0x1520/0x1b40 [ 77.621188][ T5302] notify_change+0xb33/0xe40 [ 77.623292][ T5302] do_truncate+0x19a/0x220 [ 77.625395][ T5302] path_openat+0x306c/0x3830 [ 77.627388][ T5302] do_filp_open+0x1fa/0x410 [ 77.629503][ T5302] do_sys_openat2+0x121/0x1c0 [ 77.631471][ T5302] __x64_sys_creat+0x8f/0xc0 [ 77.633662][ T5302] do_syscall_64+0xf6/0x210 [ 77.635757][ T5302] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.638305][ T5302] [ 77.638305][ T5302] other info that might help us debug this: [ 77.638305][ T5302] [ 77.642350][ T5302] Chain exists of: [ 77.642350][ T5302] &oi->ip_alloc_sem --> jbd2_handle --> &oi->ip_xattr_sem [ 77.642350][ T5302] [ 77.648171][ T5302] Possible unsafe locking scenario: [ 77.648171][ T5302] [ 77.651308][ T5302] CPU0 CPU1 [ 77.653534][ T5302] ---- ---- [ 77.655689][ T5302] lock(&oi->ip_xattr_sem); [ 77.657634][ T5302] lock(jbd2_handle); [ 77.660415][ T5302] lock(&oi->ip_xattr_sem); [ 77.663350][ T5302] lock(&oi->ip_alloc_sem); [ 77.665176][ T5302] [ 77.665176][ T5302] *** DEADLOCK *** [ 77.665176][ T5302] [ 77.668504][ T5302] 3 locks held by syz-executor208/5302: [ 77.670890][ T5302] #0: ffff8880122d0420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 [ 77.674538][ T5302] #1: ffff8880470cc2c0 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: do_truncate+0x186/0x220 [ 77.678890][ T5302] #2: ffff8880470cbff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 77.683349][ T5302] [ 77.683349][ T5302] stack backtrace: [ 77.685893][ T5302] CPU: 0 UID: 0 PID: 5302 Comm: syz-executor208 Not tainted 6.15.0-rc5-syzkaller-00043-gd76bb1ebb558 #0 PREEMPT(full) [ 77.685905][ T5302] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 77.685909][ T5302] Call Trace: [ 77.685916][ T5302] [ 77.685922][ T5302] dump_stack_lvl+0x189/0x250 [ 77.685939][ T5302] ? __pfx_dump_stack_lvl+0x10/0x10 [ 77.685952][ T5302] ? __pfx__printk+0x10/0x10 [ 77.685963][ T5302] ? print_lock_name+0xde/0x100 [ 77.685978][ T5302] print_circular_bug+0x2ee/0x310 [ 77.685988][ T5302] check_noncircular+0x134/0x160 [ 77.685997][ T5302] validate_chain+0xb9b/0x2140 [ 77.686011][ T5302] __lock_acquire+0xaac/0xd20 [ 77.686025][ T5302] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 77.686037][ T5302] lock_acquire+0x120/0x360 [ 77.686048][ T5302] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 77.686063][ T5302] down_write+0x96/0x1f0 [ 77.686076][ T5302] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 77.686088][ T5302] ? __pfx_down_write+0x10/0x10 [ 77.686102][ T5302] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 77.686114][ T5302] ? __pfx_ocfs2_try_remove_refcount_tree+0x10/0x10 [ 77.686122][ T5302] ? up_write+0x1c4/0x420 [ 77.686128][ T5302] ocfs2_truncate_file+0xda0/0x1420 [ 77.686136][ T5302] ? __pfx_ocfs2_truncate_file+0x10/0x10 [ 77.686142][ T5302] ? do_raw_spin_unlock+0x4d/0x240 [ 77.686149][ T5302] ? _raw_spin_unlock+0x28/0x50 [ 77.686155][ T5302] ? ocfs2_inode_lock_tracker+0x3ec/0x660 [ 77.686164][ T5302] ? __pfx_ocfs2_inode_lock_tracker+0x10/0x10 [ 77.686171][ T5302] ? ocfs2_rw_lock+0x13a/0x240 [ 77.686177][ T5302] ? __pfx___dquot_initialize+0x10/0x10 [ 77.686186][ T5302] ? __pfx_ocfs2_rw_lock+0x10/0x10 [ 77.686192][ T5302] ? setattr_prepare+0x1e7/0xac0 [ 77.686199][ T5302] ? jbd2_journal_begin_ordered_truncate+0xbb/0x150 [ 77.686206][ T5302] ocfs2_setattr+0x1520/0x1b40 [ 77.686214][ T5302] ? __pfx_ocfs2_setattr+0x10/0x10 [ 77.686220][ T5302] ? ktime_get_coarse_real_ts64_mg+0x57/0x210 [ 77.686228][ T5302] ? seqcount_lockdep_reader_access+0x175/0x1c0 [ 77.686236][ T5302] ? ktime_get_coarse_real_ts64_mg+0x1f5/0x210 [ 77.686244][ T5302] ? current_time+0x222/0x370 [ 77.686252][ T5302] ? evm_inode_setattr+0x1b6/0x7d0 [ 77.686259][ T5302] ? __pfx_current_time+0x10/0x10 [ 77.686272][ T5302] ? try_break_deleg+0x79/0x130 [ 77.686278][ T5302] ? __pfx_ocfs2_setattr+0x10/0x10 [ 77.686284][ T5302] notify_change+0xb33/0xe40 [ 77.686291][ T5302] do_truncate+0x19a/0x220 [ 77.686298][ T5302] ? __pfx_do_truncate+0x10/0x10 [ 77.686304][ T5302] ? apparmor_file_truncate+0x23e/0x2d0 [ 77.686315][ T5302] path_openat+0x306c/0x3830 [ 77.686322][ T5302] ? _raw_spin_unlock_irqrestore+0xad/0x110 [ 77.686329][ T5302] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 77.686342][ T5302] ? __pfx_path_openat+0x10/0x10 [ 77.686350][ T5302] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.686362][ T5302] do_filp_open+0x1fa/0x410 [ 77.686368][ T5302] ? __pfx_do_filp_open+0x10/0x10 [ 77.686376][ T5302] ? _raw_spin_unlock+0x28/0x50 [ 77.686381][ T5302] ? alloc_fd+0x64c/0x6c0 [ 77.686390][ T5302] do_sys_openat2+0x121/0x1c0 [ 77.686399][ T5302] ? __pfx_do_sys_openat2+0x10/0x10 [ 77.686408][ T5302] ? rcu_is_watching+0x15/0xb0 [ 77.686418][ T5302] __x64_sys_creat+0x8f/0xc0 [ 77.686424][ T5302] do_syscall_64+0xf6/0x210 [ 77.686432][ T5302] ? clear_bhb_loop+0x45/0xa0 [ 77.686439][ T5302] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.686445][ T5302] RIP: 0033:0x7faba1b0a6f9 [ 77.686452][ T5302] 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 [ 77.686458][ T5302] RSP: 002b:00007ffc119715e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 77.686492][ T5302] RAX: ffffffffffffffda RBX: 00007ffc119717c8 RCX: 00007faba1b0a6f9 [ 77.686498][ T5302] RDX: 00007faba1b0a6f9 RSI: 0000000000000090 RDI: 0000200000000040 [ 77.686502][ T5302] RBP: 00007faba1b81610 R08: 0000000000000000 R09: 0000000000000000 [ 77.686506][ T5302] R10: 0000000000000073 R11: 0000000000000246 R12: 0000000000000001 [ 77.686510][ T5302] R13: 00007ffc119717b8 R14: 0000000000000001 R15: 0000000000000001 [ 77.686516][ T5302] [ 86.660812][ T10] cfg80211: failed to load regulatory.db VM DIAGNOSIS: 11:50:43 Registers: info registers vcpu 0 CPU#0 RAX=1ffffffff3369960 RBX=00000000000003fd RCX=0000000000000000 RDX=00000000000003fd RSI=0000000000000000 RDI=0000000000000020 RBP=ffffffff99b4ce50 RSP=ffffc9000d32e830 R8 =ffff8880008a8237 R9 =1ffff11000115046 R10=dffffc0000000000 R11=ffffffff853db1a0 R12=dffffc0000000000 R13=0000000000000000 R14=ffffffff99b4cbc0 R15=0000000000000000 RIP=ffffffff853db217 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 000055558491e380 ffffffff 00c00000 GS =0000 ffff88808d6cb000 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=000055b967ce6c20 CR3=00000000403b9000 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=0000000000000020 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 00007ffc11970be0 00007ffc11970bc0 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc11970d20 00007ffc11970ba0 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007faba1b73624 00007faba1b86240 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc11970be0 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc11970d20 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc11970d20 00007ffc11970ba0 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc11970be0 00007ffc11970bc0 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 6f722d746e756f6d 65723d73726f7272 652c736b636f6c66 6c61636f6c2c6c6c ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 49e7f85bc8be8cca df9a7fde0d1a8979 e3d298b643218504 b5a9002c6c63612c 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