Warning: Permanently added '[localhost]:17675' (ED25519) to the list of known hosts. executing program syzkaller login: [ 79.220155][ T5311] loop0: detected capacity change from 0 to 32768 [ 79.229696][ T5311] ======================================================= [ 79.229696][ T5311] WARNING: The mand mount option has been deprecated and [ 79.229696][ T5311] and is ignored by this kernel. Remove the mand [ 79.229696][ T5311] option from the mount to silence this warning. [ 79.229696][ T5311] ======================================================= [ 79.300474][ T5311] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 79.318978][ T5311] [ 79.320087][ T5311] ====================================================== [ 79.323008][ T5311] WARNING: possible circular locking dependency detected [ 79.325949][ T5311] 6.15.0-syzkaller-10820-gcd2e103d57e5 #0 Not tainted [ 79.329868][ T5311] ------------------------------------------------------ [ 79.332790][ T5311] syz-executor438/5311 is trying to acquire lock: [ 79.335405][ T5311] ffff8880456abf60 (&oi->ip_alloc_sem){+.+.}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.340073][ T5311] [ 79.340073][ T5311] but task is already holding lock: [ 79.343227][ T5311] ffff8880456abff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 79.347418][ T5311] [ 79.347418][ T5311] which lock already depends on the new lock. [ 79.347418][ T5311] [ 79.351624][ T5311] [ 79.351624][ T5311] the existing dependency chain (in reverse order) is: [ 79.355294][ T5311] [ 79.355294][ T5311] -> #4 (&oi->ip_xattr_sem){++++}-{4:4}: [ 79.358537][ T5311] lock_acquire+0x120/0x360 [ 79.360532][ T5311] down_read+0x46/0x2e0 [ 79.362775][ T5311] ocfs2_init_acl+0x2f9/0x720 [ 79.364937][ T5311] ocfs2_mknod+0x1321/0x2050 [ 79.367204][ T5311] ocfs2_create+0x1a5/0x440 [ 79.369243][ T5311] path_openat+0x14f1/0x3830 [ 79.371457][ T5311] do_filp_open+0x1fa/0x410 [ 79.373741][ T5311] do_sys_openat2+0x121/0x1c0 [ 79.376035][ T5311] __x64_sys_openat+0x138/0x170 [ 79.378517][ T5311] do_syscall_64+0xfa/0x3b0 [ 79.380748][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.383665][ T5311] [ 79.383665][ T5311] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 79.387354][ T5311] lock_acquire+0x120/0x360 [ 79.389680][ T5311] start_this_handle+0x1fa7/0x21c0 [ 79.391989][ T5311] jbd2__journal_start+0x2c1/0x5b0 [ 79.394337][ T5311] jbd2_journal_start+0x2a/0x40 [ 79.396561][ T5311] ocfs2_start_trans+0x376/0x6d0 [ 79.398867][ T5311] ocfs2_mknod+0xe93/0x2050 [ 79.401201][ T5311] ocfs2_create+0x1a5/0x440 [ 79.403873][ T5311] path_openat+0x14f1/0x3830 [ 79.406552][ T5311] do_filp_open+0x1fa/0x410 [ 79.408692][ T5311] do_sys_openat2+0x121/0x1c0 [ 79.410825][ T5311] __x64_sys_openat+0x138/0x170 [ 79.413220][ T5311] do_syscall_64+0xfa/0x3b0 [ 79.415317][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.418261][ T5311] [ 79.418261][ T5311] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 79.421651][ T5311] lock_acquire+0x120/0x360 [ 79.423766][ T5311] down_read+0x46/0x2e0 [ 79.426057][ T5311] ocfs2_start_trans+0x36a/0x6d0 [ 79.428439][ T5311] ocfs2_mknod+0xe93/0x2050 [ 79.430556][ T5311] ocfs2_create+0x1a5/0x440 [ 79.432670][ T5311] path_openat+0x14f1/0x3830 [ 79.434831][ T5311] do_filp_open+0x1fa/0x410 [ 79.437011][ T5311] do_sys_openat2+0x121/0x1c0 [ 79.439198][ T5311] __x64_sys_openat+0x138/0x170 [ 79.441484][ T5311] do_syscall_64+0xfa/0x3b0 [ 79.443654][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.446391][ T5311] [ 79.446391][ T5311] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 79.449520][ T5311] lock_acquire+0x120/0x360 [ 79.451635][ T5311] ocfs2_start_trans+0x26b/0x6d0 [ 79.454011][ T5311] ocfs2_truncate_file+0x643/0x1420 [ 79.456599][ T5311] ocfs2_setattr+0x1520/0x1b40 [ 79.458980][ T5311] notify_change+0xb33/0xe40 [ 79.461122][ T5311] do_truncate+0x1a4/0x220 [ 79.463085][ T5311] path_openat+0x306c/0x3830 [ 79.465119][ T5311] do_filp_open+0x1fa/0x410 [ 79.467238][ T5311] do_sys_openat2+0x121/0x1c0 [ 79.469360][ T5311] __x64_sys_openat+0x138/0x170 [ 79.471529][ T5311] do_syscall_64+0xfa/0x3b0 [ 79.473729][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.476466][ T5311] [ 79.476466][ T5311] -> #0 (&oi->ip_alloc_sem){+.+.}-{4:4}: [ 79.479806][ T5311] validate_chain+0xb9b/0x2140 [ 79.482137][ T5311] __lock_acquire+0xab9/0xd20 [ 79.484332][ T5311] lock_acquire+0x120/0x360 [ 79.486503][ T5311] down_write+0x96/0x1f0 [ 79.488628][ T5311] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.491310][ T5311] ocfs2_truncate_file+0xda0/0x1420 [ 79.493776][ T5311] ocfs2_setattr+0x1520/0x1b40 [ 79.496046][ T5311] notify_change+0xb33/0xe40 [ 79.498478][ T5311] do_truncate+0x1a4/0x220 [ 79.500641][ T5311] path_openat+0x306c/0x3830 [ 79.502899][ T5311] do_filp_open+0x1fa/0x410 [ 79.505089][ T5311] do_sys_openat2+0x121/0x1c0 [ 79.507318][ T5311] __x64_sys_openat+0x138/0x170 [ 79.509559][ T5311] do_syscall_64+0xfa/0x3b0 [ 79.511696][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.514421][ T5311] [ 79.514421][ T5311] other info that might help us debug this: [ 79.514421][ T5311] [ 79.518667][ T5311] Chain exists of: [ 79.518667][ T5311] &oi->ip_alloc_sem --> jbd2_handle --> &oi->ip_xattr_sem [ 79.518667][ T5311] [ 79.524045][ T5311] Possible unsafe locking scenario: [ 79.524045][ T5311] [ 79.527243][ T5311] CPU0 CPU1 [ 79.529563][ T5311] ---- ---- [ 79.531884][ T5311] lock(&oi->ip_xattr_sem); [ 79.533957][ T5311] lock(jbd2_handle); [ 79.536809][ T5311] lock(&oi->ip_xattr_sem); [ 79.539681][ T5311] lock(&oi->ip_alloc_sem); [ 79.541590][ T5311] [ 79.541590][ T5311] *** DEADLOCK *** [ 79.541590][ T5311] [ 79.544910][ T5311] 3 locks held by syz-executor438/5311: [ 79.547345][ T5311] #0: ffff88803f0aa428 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 [ 79.551155][ T5311] #1: ffff8880456ac2c0 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: do_truncate+0x171/0x220 [ 79.555185][ T5311] #2: ffff8880456abff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 79.559504][ T5311] [ 79.559504][ T5311] stack backtrace: [ 79.561968][ T5311] CPU: 0 UID: 0 PID: 5311 Comm: syz-executor438 Not tainted 6.15.0-syzkaller-10820-gcd2e103d57e5 #0 PREEMPT(full) [ 79.561983][ T5311] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 79.561990][ T5311] Call Trace: [ 79.561997][ T5311] [ 79.562002][ T5311] dump_stack_lvl+0x189/0x250 [ 79.562022][ T5311] ? __pfx_dump_stack_lvl+0x10/0x10 [ 79.562036][ T5311] ? __pfx__printk+0x10/0x10 [ 79.562046][ T5311] ? print_lock_name+0xde/0x100 [ 79.562066][ T5311] print_circular_bug+0x2ee/0x310 [ 79.562082][ T5311] check_noncircular+0x134/0x160 [ 79.562096][ T5311] validate_chain+0xb9b/0x2140 [ 79.562114][ T5311] __lock_acquire+0xab9/0xd20 [ 79.562124][ T5311] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.562132][ T5311] lock_acquire+0x120/0x360 [ 79.562139][ T5311] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.562148][ T5311] down_write+0x96/0x1f0 [ 79.562161][ T5311] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.562171][ T5311] ? __pfx_down_write+0x10/0x10 [ 79.562189][ T5311] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.562200][ T5311] ? __pfx_ocfs2_try_remove_refcount_tree+0x10/0x10 [ 79.562210][ T5311] ? up_write+0x1c4/0x420 [ 79.562224][ T5311] ocfs2_truncate_file+0xda0/0x1420 [ 79.562239][ T5311] ? __pfx_ocfs2_truncate_file+0x10/0x10 [ 79.562251][ T5311] ? do_raw_spin_unlock+0x4d/0x240 [ 79.562260][ T5311] ? _raw_spin_unlock+0x28/0x50 [ 79.562268][ T5311] ? ocfs2_inode_lock_tracker+0x3ec/0x660 [ 79.562278][ T5311] ? __pfx_ocfs2_inode_lock_tracker+0x10/0x10 [ 79.562287][ T5311] ? ocfs2_rw_lock+0x13a/0x240 [ 79.562299][ T5311] ? __pfx___dquot_initialize+0x10/0x10 [ 79.562308][ T5311] ? __pfx_ocfs2_rw_lock+0x10/0x10 [ 79.562321][ T5311] ? setattr_prepare+0x1e7/0xac0 [ 79.562334][ T5311] ? jbd2_journal_begin_ordered_truncate+0xbb/0x150 [ 79.562349][ T5311] ocfs2_setattr+0x1520/0x1b40 [ 79.562362][ T5311] ? __pfx_ocfs2_setattr+0x10/0x10 [ 79.562373][ T5311] ? ktime_get_coarse_real_ts64_mg+0x52/0x1e0 [ 79.562385][ T5311] ? seqcount_lockdep_reader_access+0x175/0x1c0 [ 79.562400][ T5311] ? ns_to_timespec64+0x21/0xb0 [ 79.562410][ T5311] ? ktime_get_coarse_real_ts64_mg+0x175/0x1e0 [ 79.562420][ T5311] ? current_time+0x222/0x370 [ 79.562429][ T5311] ? evm_inode_setattr+0x1b6/0x7d0 [ 79.562443][ T5311] ? __pfx_current_time+0x10/0x10 [ 79.562453][ T5311] ? try_break_deleg+0x79/0x130 [ 79.562463][ T5311] ? __pfx_ocfs2_setattr+0x10/0x10 [ 79.562476][ T5311] notify_change+0xb33/0xe40 [ 79.562491][ T5311] do_truncate+0x1a4/0x220 [ 79.562505][ T5311] ? __pfx_do_truncate+0x10/0x10 [ 79.562516][ T5311] ? apparmor_file_truncate+0x23e/0x2d0 [ 79.562529][ T5311] path_openat+0x306c/0x3830 [ 79.562543][ T5311] ? arch_stack_walk+0xfc/0x150 [ 79.562563][ T5311] ? __pfx_path_openat+0x10/0x10 [ 79.562574][ T5311] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.562588][ T5311] do_filp_open+0x1fa/0x410 [ 79.562599][ T5311] ? __lock_acquire+0xab9/0xd20 [ 79.562611][ T5311] ? __pfx_do_filp_open+0x10/0x10 [ 79.562626][ T5311] ? _raw_spin_unlock+0x28/0x50 [ 79.562637][ T5311] ? alloc_fd+0x64c/0x6c0 [ 79.562667][ T5311] do_sys_openat2+0x121/0x1c0 [ 79.562678][ T5311] ? __pfx_do_sys_openat2+0x10/0x10 [ 79.562691][ T5311] ? rcu_is_watching+0x15/0xb0 [ 79.562704][ T5311] __x64_sys_openat+0x138/0x170 [ 79.562716][ T5311] do_syscall_64+0xfa/0x3b0 [ 79.562730][ T5311] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.562739][ T5311] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 79.562748][ T5311] ? clear_bhb_loop+0x60/0xb0 [ 79.562758][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.562767][ T5311] RIP: 0033:0x7fd552366ed9 [ 79.562778][ 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 [ 79.562785][ T5311] RSP: 002b:00007ffd81f45928 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 79.562795][ T5311] RAX: ffffffffffffffda RBX: 0000200000000100 RCX: 00007fd552366ed9 [ 79.562802][ T5311] RDX: 000000000000275a RSI: 0000200000000100 RDI: 00000000ffffff9c [ 79.562809][ T5311] RBP: 00737570635f6576 R08: 0000555558d174c0 R09: 0000555558d174c0 [ 79.562815][ T5311] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd81f45950 [ 79.562821][ T5311] R13: 00007ffd81f45b78 R14: 431bde82d7b634db R15: 00007fd5523b003b [ 79.562832][ 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 [ 86.639690][ T10] cfg80211: failed to load regulatory.db 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: 12:32:11 Registers: info registers vcpu 0 CPU#0 RAX=1ffffffff33b7660 RBX=00000000000003fd RCX=0000000000000000 RDX=00000000000003fd RSI=0000000000000000 RDI=0000000000000020 RBP=ffffffff99dbb9f0 RSP=ffffc9000d29e7f0 R8 =ffff8880337a8237 R9 =1ffff110066f5046 R10=dffffc0000000000 R11=ffffffff854619d0 R12=dffffc0000000000 R13=0000000000000000 R14=ffffffff99dbb760 R15=0000000000000000 RIP=ffffffff85461a47 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 0000555558d16380 ffffffff 00c00000 GS =0000 ffff88808d25f000 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=00007fb41ff909c0 CR3=00000000442d4000 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 6576697463656666 652e746573757063 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd81f44f20 00007ffd81f44f00 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd81f45060 00007ffd81f44ee0 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fd5523d06e4 00007fd5523e4240 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd81f44f20 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd81f45060 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd81f45060 00007ffd81f44ee0 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd81f44f20 00007ffd81f44f00 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