Warning: Permanently added '[localhost]:34063' (ED25519) to the list of known hosts. executing program syzkaller login: [ 86.464796][ T5318] loop0: detected capacity change from 0 to 32768 [ 86.472834][ T5318] ======================================================= [ 86.472834][ T5318] WARNING: The mand mount option has been deprecated and [ 86.472834][ T5318] and is ignored by this kernel. Remove the mand [ 86.472834][ T5318] option from the mount to silence this warning. [ 86.472834][ T5318] ======================================================= [ 86.547042][ T5318] ocfs2: Mounting device (7,0) on (node local, slot 0) with writeback data mode. [ 86.572032][ T5318] [ 86.573244][ T5318] ====================================================== [ 86.576313][ T5318] WARNING: possible circular locking dependency detected [ 86.579325][ T5318] 6.15.0-syzkaller-13743-g8630c59e9936 #0 Not tainted [ 86.583442][ T5318] ------------------------------------------------------ [ 86.587048][ T5318] syz-executor282/5318 is trying to acquire lock: [ 86.590053][ T5318] ffff888045a1bf60 (&oi->ip_alloc_sem){+.+.}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 86.595152][ T5318] [ 86.595152][ T5318] but task is already holding lock: [ 86.598486][ T5318] ffff888045a1bff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 86.603298][ T5318] [ 86.603298][ T5318] which lock already depends on the new lock. [ 86.603298][ T5318] [ 86.608305][ T5318] [ 86.608305][ T5318] the existing dependency chain (in reverse order) is: [ 86.612546][ T5318] [ 86.612546][ T5318] -> #4 (&oi->ip_xattr_sem){++++}-{4:4}: [ 86.615784][ T5318] lock_acquire+0x120/0x360 [ 86.617916][ T5318] down_read+0x46/0x2e0 [ 86.620101][ T5318] ocfs2_init_acl+0x2f9/0x720 [ 86.622740][ T5318] ocfs2_mknod+0x1321/0x2050 [ 86.625507][ T5318] ocfs2_create+0x1a5/0x440 [ 86.628112][ T5318] vfs_create+0x24b/0x400 [ 86.630433][ T5318] do_mknodat+0x3c6/0x4d0 [ 86.632670][ T5318] __x64_sys_mknod+0x8c/0xa0 [ 86.635079][ T5318] do_syscall_64+0xfa/0x3b0 [ 86.637502][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.640502][ T5318] [ 86.640502][ T5318] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 86.643600][ T5318] lock_acquire+0x120/0x360 [ 86.645771][ T5318] start_this_handle+0x1fa7/0x21c0 [ 86.648463][ T5318] jbd2__journal_start+0x2c1/0x5b0 [ 86.651552][ T5318] jbd2_journal_start+0x2a/0x40 [ 86.654000][ T5318] ocfs2_start_trans+0x376/0x6d0 [ 86.656563][ T5318] ocfs2_mknod+0xe93/0x2050 [ 86.658957][ T5318] ocfs2_create+0x1a5/0x440 [ 86.661309][ T5318] vfs_create+0x24b/0x400 [ 86.663713][ T5318] do_mknodat+0x3c6/0x4d0 [ 86.666312][ T5318] __x64_sys_mknod+0x8c/0xa0 [ 86.668864][ T5318] do_syscall_64+0xfa/0x3b0 [ 86.671809][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.675041][ T5318] [ 86.675041][ T5318] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 86.678913][ T5318] lock_acquire+0x120/0x360 [ 86.681353][ T5318] down_read+0x46/0x2e0 [ 86.683527][ T5318] ocfs2_start_trans+0x36a/0x6d0 [ 86.686028][ T5318] ocfs2_mknod+0xe93/0x2050 [ 86.688452][ T5318] ocfs2_create+0x1a5/0x440 [ 86.690997][ T5318] vfs_create+0x24b/0x400 [ 86.694314][ T5318] do_mknodat+0x3c6/0x4d0 [ 86.697801][ T5318] __x64_sys_mknod+0x8c/0xa0 [ 86.700566][ T5318] do_syscall_64+0xfa/0x3b0 [ 86.703004][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.705815][ T5318] [ 86.705815][ T5318] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 86.709105][ T5318] lock_acquire+0x120/0x360 [ 86.711876][ T5318] ocfs2_start_trans+0x26b/0x6d0 [ 86.715296][ T5318] ocfs2_truncate_file+0x643/0x1420 [ 86.718974][ T5318] ocfs2_setattr+0x1520/0x1b40 [ 86.721522][ T5318] notify_change+0xb33/0xe40 [ 86.723870][ T5318] do_truncate+0x1a4/0x220 [ 86.726243][ T5318] path_openat+0x306c/0x3830 [ 86.728688][ T5318] do_filp_open+0x1fa/0x410 [ 86.731203][ T5318] do_sys_openat2+0x121/0x1c0 [ 86.733676][ T5318] __x64_sys_creat+0x8f/0xc0 [ 86.736117][ T5318] do_syscall_64+0xfa/0x3b0 [ 86.738359][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.741244][ T5318] [ 86.741244][ T5318] -> #0 (&oi->ip_alloc_sem){+.+.}-{4:4}: [ 86.744893][ T5318] validate_chain+0xb9b/0x2140 [ 86.747760][ T5318] __lock_acquire+0xab9/0xd20 [ 86.750802][ T5318] lock_acquire+0x120/0x360 [ 86.753413][ T5318] down_write+0x96/0x1f0 [ 86.755732][ T5318] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 86.758840][ T5318] ocfs2_truncate_file+0xda0/0x1420 [ 86.761799][ T5318] ocfs2_setattr+0x1520/0x1b40 [ 86.764484][ T5318] notify_change+0xb33/0xe40 [ 86.767061][ T5318] do_truncate+0x1a4/0x220 [ 86.768898][ T5318] path_openat+0x306c/0x3830 [ 86.771095][ T5318] do_filp_open+0x1fa/0x410 [ 86.773409][ T5318] do_sys_openat2+0x121/0x1c0 [ 86.776088][ T5318] __x64_sys_creat+0x8f/0xc0 [ 86.779023][ T5318] do_syscall_64+0xfa/0x3b0 [ 86.781431][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.784317][ T5318] [ 86.784317][ T5318] other info that might help us debug this: [ 86.784317][ T5318] [ 86.789030][ T5318] Chain exists of: [ 86.789030][ T5318] &oi->ip_alloc_sem --> jbd2_handle --> &oi->ip_xattr_sem [ 86.789030][ T5318] [ 86.794766][ T5318] Possible unsafe locking scenario: [ 86.794766][ T5318] [ 86.798402][ T5318] CPU0 CPU1 [ 86.801548][ T5318] ---- ---- [ 86.804340][ T5318] lock(&oi->ip_xattr_sem); [ 86.806697][ T5318] lock(jbd2_handle); [ 86.809931][ T5318] lock(&oi->ip_xattr_sem); [ 86.813287][ T5318] lock(&oi->ip_alloc_sem); [ 86.815563][ T5318] [ 86.815563][ T5318] *** DEADLOCK *** [ 86.815563][ T5318] [ 86.821420][ T5318] 3 locks held by syz-executor282/5318: [ 86.824615][ T5318] #0: ffff888030fa0428 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 [ 86.829082][ T5318] #1: ffff888045a1c2c0 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: do_truncate+0x171/0x220 [ 86.834125][ T5318] #2: ffff888045a1bff8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 86.840447][ T5318] [ 86.840447][ T5318] stack backtrace: [ 86.843690][ T5318] CPU: 0 UID: 0 PID: 5318 Comm: syz-executor282 Not tainted 6.15.0-syzkaller-13743-g8630c59e9936 #0 PREEMPT(full) [ 86.843708][ T5318] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 86.843716][ T5318] Call Trace: [ 86.843725][ T5318] [ 86.843731][ T5318] dump_stack_lvl+0x189/0x250 [ 86.843767][ T5318] ? __pfx_dump_stack_lvl+0x10/0x10 [ 86.843783][ T5318] ? __pfx__printk+0x10/0x10 [ 86.843796][ T5318] ? print_lock_name+0xde/0x100 [ 86.843808][ T5318] print_circular_bug+0x2ee/0x310 [ 86.843821][ T5318] check_noncircular+0x134/0x160 [ 86.843833][ T5318] validate_chain+0xb9b/0x2140 [ 86.843848][ T5318] __lock_acquire+0xab9/0xd20 [ 86.843865][ T5318] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 86.843880][ T5318] lock_acquire+0x120/0x360 [ 86.843894][ T5318] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 86.843911][ T5318] down_write+0x96/0x1f0 [ 86.843924][ T5318] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 86.843937][ T5318] ? __pfx_down_write+0x10/0x10 [ 86.843950][ T5318] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 86.843965][ T5318] ? __pfx_ocfs2_try_remove_refcount_tree+0x10/0x10 [ 86.843980][ T5318] ? up_write+0x1c4/0x420 [ 86.843992][ T5318] ocfs2_truncate_file+0xda0/0x1420 [ 86.844005][ T5318] ? __pfx_ocfs2_truncate_file+0x10/0x10 [ 86.844016][ T5318] ? do_raw_spin_unlock+0x4d/0x240 [ 86.844028][ T5318] ? _raw_spin_unlock+0x28/0x50 [ 86.844042][ T5318] ? ocfs2_inode_lock_tracker+0x3ec/0x660 [ 86.844058][ T5318] ? __pfx_ocfs2_inode_lock_tracker+0x10/0x10 [ 86.844070][ T5318] ? ocfs2_rw_lock+0x13a/0x240 [ 86.844080][ T5318] ? __pfx___dquot_initialize+0x10/0x10 [ 86.844094][ T5318] ? __pfx_ocfs2_rw_lock+0x10/0x10 [ 86.844105][ T5318] ? setattr_prepare+0x1e7/0xac0 [ 86.844122][ T5318] ? inode_newsize_ok+0x11b/0x1c0 [ 86.844139][ T5318] ocfs2_setattr+0x1520/0x1b40 [ 86.844152][ T5318] ? __pfx_ocfs2_setattr+0x10/0x10 [ 86.844161][ T5318] ? ktime_get_coarse_real_ts64_mg+0x52/0x1e0 [ 86.844176][ T5318] ? seqcount_lockdep_reader_access+0x175/0x1c0 [ 86.844191][ T5318] ? ktime_get_coarse_real_ts64_mg+0x1be/0x1e0 [ 86.844205][ T5318] ? current_time+0x222/0x370 [ 86.844219][ T5318] ? evm_inode_setattr+0x1b6/0x7d0 [ 86.844257][ T5318] ? __pfx_current_time+0x10/0x10 [ 86.844272][ T5318] ? try_break_deleg+0x79/0x130 [ 86.844281][ T5318] ? __pfx_ocfs2_setattr+0x10/0x10 [ 86.844291][ T5318] notify_change+0xb33/0xe40 [ 86.844303][ T5318] do_truncate+0x1a4/0x220 [ 86.844315][ T5318] ? __pfx_do_truncate+0x10/0x10 [ 86.844325][ T5318] ? apparmor_file_truncate+0x23e/0x2d0 [ 86.844341][ T5318] path_openat+0x306c/0x3830 [ 86.844358][ T5318] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 86.844378][ T5318] ? __pfx_path_openat+0x10/0x10 [ 86.844393][ T5318] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.844407][ T5318] do_filp_open+0x1fa/0x410 [ 86.844422][ T5318] ? __lock_acquire+0xab9/0xd20 [ 86.844436][ T5318] ? __pfx_do_filp_open+0x10/0x10 [ 86.844456][ T5318] ? _raw_spin_unlock+0x28/0x50 [ 86.844470][ T5318] ? alloc_fd+0x64c/0x6c0 [ 86.844483][ T5318] do_sys_openat2+0x121/0x1c0 [ 86.844498][ T5318] ? __pfx_do_sys_openat2+0x10/0x10 [ 86.844514][ T5318] ? rcu_is_watching+0x15/0xb0 [ 86.844525][ T5318] __x64_sys_creat+0x8f/0xc0 [ 86.844540][ T5318] do_syscall_64+0xfa/0x3b0 [ 86.844552][ T5318] ? lockdep_hardirqs_on+0x9c/0x150 [ 86.844568][ T5318] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.844578][ T5318] ? clear_bhb_loop+0x60/0xb0 [ 86.844590][ T5318] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 86.844602][ T5318] RIP: 0033:0x7fac1ce52e99 [ 86.844616][ T5318] 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 [ 86.844626][ T5318] RSP: 002b:00007fff6a1ebc08 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 [ 86.844640][ T5318] RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007fac1ce52e99 [ 86.844648][ T5318] RDX: 00007fac1ce52e99 RSI: 0000000000000000 RDI: 0000200000000780 [ 86.844655][ T5318] RBP: 00007fac1cecb5f0 R08: 00005555600914c0 R09: 00005555600914c0 [ 86.844662][ T5318] R10: 0000000000004425 R11: 0000000000000246 R12: 00007fff6a1ebc30 [ 86.844669][ T5318] R13: 00007fff6a1ebe58 R14: 431bde82d7b634db R15: 00007fac1ce9c03b [ 86.844680][ T5318] 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 [ 92.105724][ 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 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: 14:29:55 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000035 RBX=0000000000000035 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=00000000000003f8 RSP=ffffc9000d23e850 R8 =ffff888033b48237 R9 =1ffff11006769046 R10=dffffc0000000000 R11=ffffffff85470170 R12=dffffc0000000000 R13=ffffffff99ac38db R14=ffffffff99dc8780 R15=0000000000000000 RIP=ffffffff854701ec 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 0000555560090380 ffffffff 00c00000 GS =0000 ffff88808d252000 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=000055f97590e218 CR3=0000000043ea5000 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=00000000f0000000 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 00007fff6a1eb200 00007fff6a1eb1e0 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff6a1eb340 00007fff6a1eb1c0 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fac1cebc6c4 00007fac1ced0240 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff6a1eb200 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff6a1eb340 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff6a1eb340 00007fff6a1eb1c0 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff6a1eb200 00007fff6a1eb1e0 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 767365725f726964 2c72746e692c736b 636f6c666c61636f 6c2c74696d6d6f63 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 000000002c343230 3030303030303030 3030303030303030 303d6c6576656c5f 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