Warning: Permanently added '[localhost]:53035' (ED25519) to the list of known hosts. executing program syzkaller login: [ 83.982155][ T5316] loop0: detected capacity change from 0 to 32768 [ 83.996035][ T5316] ======================================================= [ 83.996035][ T5316] WARNING: The mand mount option has been deprecated and [ 83.996035][ T5316] and is ignored by this kernel. Remove the mand [ 83.996035][ T5316] option from the mount to silence this warning. [ 83.996035][ T5316] ======================================================= [ 84.059789][ T5316] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 84.081206][ T5316] [ 84.082284][ T5316] ====================================================== [ 84.085485][ T5316] WARNING: possible circular locking dependency detected [ 84.088564][ T5316] 6.15.0-syzkaller-11802-g1af80d00e1e0 #0 Not tainted [ 84.092574][ T5316] ------------------------------------------------------ [ 84.095567][ T5316] syz-executor205/5316 is trying to acquire lock: [ 84.098785][ T5316] ffff888043ee3f60 (&oi->ip_alloc_sem){+.+.}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 84.104173][ T5316] [ 84.104173][ T5316] but task is already holding lock: [ 84.107594][ T5316] ffff888043ee3ff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 84.112236][ T5316] [ 84.112236][ T5316] which lock already depends on the new lock. [ 84.112236][ T5316] [ 84.116728][ T5316] [ 84.116728][ T5316] the existing dependency chain (in reverse order) is: [ 84.120778][ T5316] [ 84.120778][ T5316] -> #4 (&oi->ip_xattr_sem){++++}-{4:4}: [ 84.124201][ T5316] lock_acquire+0x120/0x360 [ 84.126482][ T5316] down_read+0x46/0x2e0 [ 84.128521][ T5316] ocfs2_init_acl+0x2f9/0x720 [ 84.130853][ T5316] ocfs2_mknod+0x1321/0x2050 [ 84.133116][ T5316] ocfs2_create+0x1a5/0x440 [ 84.135354][ T5316] path_openat+0x14f1/0x3830 [ 84.137380][ T5316] do_filp_open+0x1fa/0x410 [ 84.139561][ T5316] do_sys_openat2+0x121/0x1c0 [ 84.141867][ T5316] __x64_sys_openat+0x138/0x170 [ 84.144204][ T5316] do_syscall_64+0xfa/0x3b0 [ 84.146479][ T5316] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.149109][ T5316] [ 84.149109][ T5316] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 84.152440][ T5316] lock_acquire+0x120/0x360 [ 84.154790][ T5316] start_this_handle+0x1fa7/0x21c0 [ 84.157259][ T5316] jbd2__journal_start+0x2c1/0x5b0 [ 84.159670][ T5316] jbd2_journal_start+0x2a/0x40 [ 84.162064][ T5316] ocfs2_start_trans+0x376/0x6d0 [ 84.164384][ T5316] ocfs2_mknod+0xe93/0x2050 [ 84.166393][ T5316] ocfs2_create+0x1a5/0x440 [ 84.168499][ T5316] path_openat+0x14f1/0x3830 [ 84.170788][ T5316] do_filp_open+0x1fa/0x410 [ 84.172835][ T5316] do_sys_openat2+0x121/0x1c0 [ 84.174978][ T5316] __x64_sys_openat+0x138/0x170 [ 84.177237][ T5316] do_syscall_64+0xfa/0x3b0 [ 84.179463][ T5316] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.182359][ T5316] [ 84.182359][ T5316] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 84.186092][ T5316] lock_acquire+0x120/0x360 [ 84.188538][ T5316] down_read+0x46/0x2e0 [ 84.191100][ T5316] ocfs2_start_trans+0x36a/0x6d0 [ 84.193766][ T5316] ocfs2_mknod+0xe93/0x2050 [ 84.196008][ T5316] ocfs2_create+0x1a5/0x440 [ 84.198290][ T5316] path_openat+0x14f1/0x3830 [ 84.200704][ T5316] do_filp_open+0x1fa/0x410 [ 84.202720][ T5316] do_sys_openat2+0x121/0x1c0 [ 84.205008][ T5316] __x64_sys_openat+0x138/0x170 [ 84.207379][ T5316] do_syscall_64+0xfa/0x3b0 [ 84.209700][ T5316] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.212666][ T5316] [ 84.212666][ T5316] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 84.215973][ T5316] lock_acquire+0x120/0x360 [ 84.218220][ T5316] ocfs2_start_trans+0x26b/0x6d0 [ 84.220736][ T5316] ocfs2_truncate_file+0x643/0x1420 [ 84.223385][ T5316] ocfs2_setattr+0x1520/0x1b40 [ 84.225881][ T5316] notify_change+0xb33/0xe40 [ 84.228251][ T5316] do_truncate+0x1a4/0x220 [ 84.230395][ T5316] path_openat+0x306c/0x3830 [ 84.232737][ T5316] do_filp_open+0x1fa/0x410 [ 84.235082][ T5316] do_sys_openat2+0x121/0x1c0 [ 84.237503][ T5316] __x64_sys_openat+0x138/0x170 [ 84.239766][ T5316] do_syscall_64+0xfa/0x3b0 [ 84.242046][ T5316] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.244937][ T5316] [ 84.244937][ T5316] -> #0 (&oi->ip_alloc_sem){+.+.}-{4:4}: [ 84.248414][ T5316] validate_chain+0xb9b/0x2140 [ 84.250880][ T5316] __lock_acquire+0xab9/0xd20 [ 84.253275][ T5316] lock_acquire+0x120/0x360 [ 84.255292][ T5316] down_write+0x96/0x1f0 [ 84.257392][ T5316] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 84.260357][ T5316] ocfs2_truncate_file+0xda0/0x1420 [ 84.262927][ T5316] ocfs2_setattr+0x1520/0x1b40 [ 84.265242][ T5316] notify_change+0xb33/0xe40 [ 84.267514][ T5316] do_truncate+0x1a4/0x220 [ 84.269819][ T5316] path_openat+0x306c/0x3830 [ 84.272297][ T5316] do_filp_open+0x1fa/0x410 [ 84.274389][ T5316] do_sys_openat2+0x121/0x1c0 [ 84.276714][ T5316] __x64_sys_openat+0x138/0x170 [ 84.279052][ T5316] do_syscall_64+0xfa/0x3b0 [ 84.281426][ T5316] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.284127][ T5316] [ 84.284127][ T5316] other info that might help us debug this: [ 84.284127][ T5316] [ 84.288130][ T5316] Chain exists of: [ 84.288130][ T5316] &oi->ip_alloc_sem --> jbd2_handle --> &oi->ip_xattr_sem [ 84.288130][ T5316] [ 84.293248][ T5316] Possible unsafe locking scenario: [ 84.293248][ T5316] [ 84.296227][ T5316] CPU0 CPU1 [ 84.298530][ T5316] ---- ---- [ 84.300924][ T5316] lock(&oi->ip_xattr_sem); [ 84.302973][ T5316] lock(jbd2_handle); [ 84.305729][ T5316] lock(&oi->ip_xattr_sem); [ 84.308775][ T5316] lock(&oi->ip_alloc_sem); [ 84.310825][ T5316] [ 84.310825][ T5316] *** DEADLOCK *** [ 84.310825][ T5316] [ 84.314117][ T5316] 3 locks held by syz-executor205/5316: [ 84.316316][ T5316] #0: ffff88803a488428 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 [ 84.320393][ T5316] #1: ffff888043ee42c0 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: do_truncate+0x171/0x220 [ 84.324701][ T5316] #2: ffff888043ee3ff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 84.329510][ T5316] [ 84.329510][ T5316] stack backtrace: [ 84.332095][ T5316] CPU: 0 UID: 0 PID: 5316 Comm: syz-executor205 Not tainted 6.15.0-syzkaller-11802-g1af80d00e1e0 #0 PREEMPT(full) [ 84.332110][ T5316] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 84.332118][ T5316] Call Trace: [ 84.332125][ T5316] [ 84.332131][ T5316] dump_stack_lvl+0x189/0x250 [ 84.332180][ T5316] ? __pfx_dump_stack_lvl+0x10/0x10 [ 84.332197][ T5316] ? __pfx__printk+0x10/0x10 [ 84.332208][ T5316] ? print_lock_name+0xde/0x100 [ 84.332219][ T5316] print_circular_bug+0x2ee/0x310 [ 84.332231][ T5316] check_noncircular+0x134/0x160 [ 84.332243][ T5316] validate_chain+0xb9b/0x2140 [ 84.332257][ T5316] __lock_acquire+0xab9/0xd20 [ 84.332274][ T5316] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 84.332287][ T5316] lock_acquire+0x120/0x360 [ 84.332301][ T5316] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 84.332317][ T5316] down_write+0x96/0x1f0 [ 84.332328][ T5316] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 84.332340][ T5316] ? __pfx_down_write+0x10/0x10 [ 84.332352][ T5316] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 84.332366][ T5316] ? __pfx_ocfs2_try_remove_refcount_tree+0x10/0x10 [ 84.332380][ T5316] ? up_write+0x1c4/0x420 [ 84.332391][ T5316] ocfs2_truncate_file+0xda0/0x1420 [ 84.332404][ T5316] ? __pfx_ocfs2_truncate_file+0x10/0x10 [ 84.332413][ T5316] ? do_raw_spin_unlock+0x4d/0x240 [ 84.332425][ T5316] ? _raw_spin_unlock+0x28/0x50 [ 84.332437][ T5316] ? ocfs2_inode_lock_tracker+0x3ec/0x660 [ 84.332452][ T5316] ? __pfx_ocfs2_inode_lock_tracker+0x10/0x10 [ 84.332463][ T5316] ? ocfs2_rw_lock+0x13a/0x240 [ 84.332473][ T5316] ? __pfx___dquot_initialize+0x10/0x10 [ 84.332486][ T5316] ? __pfx_ocfs2_rw_lock+0x10/0x10 [ 84.332496][ T5316] ? setattr_prepare+0x1e7/0xac0 [ 84.332512][ T5316] ? jbd2_journal_begin_ordered_truncate+0xbb/0x150 [ 84.332530][ T5316] ocfs2_setattr+0x1520/0x1b40 [ 84.332542][ T5316] ? __pfx_ocfs2_setattr+0x10/0x10 [ 84.332552][ T5316] ? ktime_get_coarse_real_ts64_mg+0x52/0x1e0 [ 84.332565][ T5316] ? seqcount_lockdep_reader_access+0x175/0x1c0 [ 84.332579][ T5316] ? ns_to_timespec64+0x21/0xb0 [ 84.332592][ T5316] ? ktime_get_coarse_real_ts64_mg+0x175/0x1e0 [ 84.332606][ T5316] ? current_time+0x222/0x370 [ 84.332619][ T5316] ? evm_inode_setattr+0x1b6/0x7d0 [ 84.332629][ T5316] ? __pfx_current_time+0x10/0x10 [ 84.332644][ T5316] ? try_break_deleg+0x79/0x130 [ 84.332658][ T5316] ? __pfx_ocfs2_setattr+0x10/0x10 [ 84.332667][ T5316] notify_change+0xb33/0xe40 [ 84.332691][ T5316] do_truncate+0x1a4/0x220 [ 84.332702][ T5316] ? __pfx_do_truncate+0x10/0x10 [ 84.332711][ T5316] ? apparmor_file_truncate+0x23e/0x2d0 [ 84.332729][ T5316] path_openat+0x306c/0x3830 [ 84.332744][ T5316] ? arch_stack_walk+0xfc/0x150 [ 84.332761][ T5316] ? __pfx_path_openat+0x10/0x10 [ 84.332774][ T5316] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.332788][ T5316] do_filp_open+0x1fa/0x410 [ 84.332802][ T5316] ? __lock_acquire+0xab9/0xd20 [ 84.332816][ T5316] ? __pfx_do_filp_open+0x10/0x10 [ 84.332835][ T5316] ? _raw_spin_unlock+0x28/0x50 [ 84.332848][ T5316] ? alloc_fd+0x64c/0x6c0 [ 84.332861][ T5316] do_sys_openat2+0x121/0x1c0 [ 84.332874][ T5316] ? __pfx_do_sys_openat2+0x10/0x10 [ 84.332889][ T5316] ? rcu_is_watching+0x15/0xb0 [ 84.332899][ T5316] __x64_sys_openat+0x138/0x170 [ 84.332914][ T5316] do_syscall_64+0xfa/0x3b0 [ 84.332930][ T5316] ? lockdep_hardirqs_on+0x9c/0x150 [ 84.332943][ T5316] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.332953][ T5316] ? clear_bhb_loop+0x60/0xb0 [ 84.332964][ T5316] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 84.332973][ T5316] RIP: 0033:0x7f4f96958ed9 [ 84.332985][ T5316] 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 [ 84.332994][ T5316] RSP: 002b:00007ffe25d69f58 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 84.333005][ T5316] RAX: ffffffffffffffda RBX: 0000200000000280 RCX: 00007f4f96958ed9 [ 84.333013][ T5316] RDX: 000000000000275a RSI: 0000200000000280 RDI: 00000000ffffff9c [ 84.333020][ T5316] RBP: 00007f4f969d15f0 R08: 000055559277f4c0 R09: 000055559277f4c0 [ 84.333026][ T5316] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffe25d69f80 [ 84.333033][ T5316] R13: 00007ffe25d6a1a8 R14: 431bde82d7b634db R15: 000020000000028f [ 84.333044][ T5316] 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 [ 91.844369][ T54] 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 VM DIAGNOSIS: 00:05:00 Registers: info registers vcpu 0 CPU#0 RAX=000000000000007a RBX=000000000000007a RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=00000000000003f8 RSP=ffffc9000d316850 R8 =ffff888033c58237 R9 =1ffff1100678b046 R10=dffffc0000000000 R11=ffffffff85461540 R12=dffffc0000000000 R13=ffffffff99ab98e1 R14=ffffffff99dbe760 R15=0000000000000000 RIP=ffffffff854615bc 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 000055559277e380 ffffffff 00c00000 GS =0000 ffff88808d25c000 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=00007f4692d909c0 CR3=0000000043229000 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 656c6c6f72746e6f 632e70756f726763 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffe25d69550 00007ffe25d69530 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffe25d69690 00007ffe25d69510 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007f4f969c26e4 00007f4f969d6240 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffe25d69550 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffe25d69690 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffe25d69690 00007ffe25d69510 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffe25d69550 00007ffe25d69530 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