Warning: Permanently added '[localhost]:3582' (ED25519) to the list of known hosts. executing program syzkaller login: [ 79.799604][ T5310] loop0: detected capacity change from 0 to 32768 [ 79.817885][ T5310] (syz-executor146,5310,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. [ 79.834148][ T5310] (syz-executor146,5310,0):ocfs2_block_check_validate:402 ERROR: CRC32 failed: stored: 0xb3775c19, computed 0x2dd1c265. Applying ECC. [ 79.865506][ T5310] JBD2: Ignoring recovery information on journal [ 79.910225][ T5310] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 79.931668][ T5310] [ 79.932783][ T5310] ====================================================== [ 79.935704][ T5310] WARNING: possible circular locking dependency detected [ 79.938587][ T5310] 6.15.0-rc7-syzkaller #0 Not tainted [ 79.941964][ T5310] ------------------------------------------------------ [ 79.944853][ T5310] syz-executor146/5310 is trying to acquire lock: [ 79.947490][ T5310] ffff888044318660 (&oi->ip_alloc_sem){+.+.}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 79.955169][ T5310] [ 79.955169][ T5310] but task is already holding lock: [ 79.958304][ T5310] ffff8880443186f8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 79.962542][ T5310] [ 79.962542][ T5310] which lock already depends on the new lock. [ 79.962542][ T5310] [ 79.967002][ T5310] [ 79.967002][ T5310] the existing dependency chain (in reverse order) is: [ 79.970619][ T5310] [ 79.970619][ T5310] -> #4 (&oi->ip_xattr_sem){++++}-{4:4}: [ 79.973852][ T5310] lock_acquire+0x120/0x360 [ 79.975898][ T5310] down_read+0x46/0x2e0 [ 79.977954][ T5310] ocfs2_init_acl+0x2f9/0x720 [ 79.980427][ T5310] ocfs2_mknod+0x1321/0x2050 [ 79.983267][ T5310] ocfs2_create+0x1a5/0x440 [ 79.986260][ T5310] path_openat+0x14f4/0x3830 [ 79.988377][ T5310] do_filp_open+0x1fa/0x410 [ 79.990642][ T5310] do_sys_openat2+0x121/0x1c0 [ 79.992811][ T5310] __x64_sys_openat+0x138/0x170 [ 79.994796][ T5310] do_syscall_64+0xf6/0x210 [ 79.996585][ T5310] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.999064][ T5310] [ 79.999064][ T5310] -> #3 (jbd2_handle){.+.+}-{0:0}: [ 80.002077][ T5310] lock_acquire+0x120/0x360 [ 80.004444][ T5310] start_this_handle+0x1fa7/0x21c0 [ 80.006734][ T5310] jbd2__journal_start+0x2c1/0x5b0 [ 80.009073][ T5310] jbd2_journal_start+0x2a/0x40 [ 80.011395][ T5310] ocfs2_start_trans+0x376/0x6d0 [ 80.013697][ T5310] ocfs2_modify_bh+0xe8/0x470 [ 80.015688][ T5310] ocfs2_local_read_info+0x1465/0x17e0 [ 80.017919][ T5310] dquot_load_quota_sb+0x791/0xbd0 [ 80.020177][ T5310] dquot_load_quota_inode+0x2e1/0x5d0 [ 80.022786][ T5310] ocfs2_enable_quotas+0x1c6/0x450 [ 80.025147][ T5310] ocfs2_fill_super+0x5115/0x63d0 [ 80.027283][ T5310] get_tree_bdev_flags+0x40e/0x4d0 [ 80.029602][ T5310] vfs_get_tree+0x8f/0x2b0 [ 80.031632][ T5310] do_new_mount+0x24a/0xa40 [ 80.033805][ T5310] __se_sys_mount+0x317/0x410 [ 80.036106][ T5310] do_syscall_64+0xf6/0x210 [ 80.038339][ T5310] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.040858][ T5310] [ 80.040858][ T5310] -> #2 (&journal->j_trans_barrier){.+.+}-{4:4}: [ 80.044586][ T5310] lock_acquire+0x120/0x360 [ 80.047263][ T5310] down_read+0x46/0x2e0 [ 80.049687][ T5310] ocfs2_start_trans+0x36a/0x6d0 [ 80.051845][ T5310] ocfs2_modify_bh+0xe8/0x470 [ 80.053866][ T5310] ocfs2_local_read_info+0x1465/0x17e0 [ 80.056212][ T5310] dquot_load_quota_sb+0x791/0xbd0 [ 80.058604][ T5310] dquot_load_quota_inode+0x2e1/0x5d0 [ 80.061098][ T5310] ocfs2_enable_quotas+0x1c6/0x450 [ 80.063495][ T5310] ocfs2_fill_super+0x5115/0x63d0 [ 80.065900][ T5310] get_tree_bdev_flags+0x40e/0x4d0 [ 80.068474][ T5310] vfs_get_tree+0x8f/0x2b0 [ 80.070651][ T5310] do_new_mount+0x24a/0xa40 [ 80.072657][ T5310] __se_sys_mount+0x317/0x410 [ 80.074843][ T5310] do_syscall_64+0xf6/0x210 [ 80.077022][ T5310] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.079705][ T5310] [ 80.079705][ T5310] -> #1 (sb_internal#2){.+.+}-{0:0}: [ 80.082736][ T5310] lock_acquire+0x120/0x360 [ 80.084889][ T5310] ocfs2_start_trans+0x26b/0x6d0 [ 80.087119][ T5310] ocfs2_truncate_file+0x643/0x1420 [ 80.089374][ T5310] ocfs2_setattr+0x1520/0x1b40 [ 80.091566][ T5310] notify_change+0xb36/0xe40 [ 80.093701][ T5310] do_truncate+0x19a/0x220 [ 80.095754][ T5310] path_openat+0x306c/0x3830 [ 80.097791][ T5310] do_filp_open+0x1fa/0x410 [ 80.099698][ T5310] do_sys_openat2+0x121/0x1c0 [ 80.101731][ T5310] __x64_sys_openat+0x138/0x170 [ 80.103912][ T5310] do_syscall_64+0xf6/0x210 [ 80.106117][ T5310] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.108782][ T5310] [ 80.108782][ T5310] -> #0 (&oi->ip_alloc_sem){+.+.}-{4:4}: [ 80.111876][ T5310] validate_chain+0xb9b/0x2140 [ 80.114083][ T5310] __lock_acquire+0xaac/0xd20 [ 80.116252][ T5310] lock_acquire+0x120/0x360 [ 80.118262][ T5310] down_write+0x96/0x1f0 [ 80.120329][ T5310] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 80.122979][ T5310] ocfs2_truncate_file+0xda0/0x1420 [ 80.125392][ T5310] ocfs2_setattr+0x1520/0x1b40 [ 80.127560][ T5310] notify_change+0xb36/0xe40 [ 80.129622][ T5310] do_truncate+0x19a/0x220 [ 80.131595][ T5310] path_openat+0x306c/0x3830 [ 80.133843][ T5310] do_filp_open+0x1fa/0x410 [ 80.136010][ T5310] do_sys_openat2+0x121/0x1c0 [ 80.138239][ T5310] __x64_sys_openat+0x138/0x170 [ 80.140419][ T5310] do_syscall_64+0xf6/0x210 [ 80.142422][ T5310] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.145098][ T5310] [ 80.145098][ T5310] other info that might help us debug this: [ 80.145098][ T5310] [ 80.149295][ T5310] Chain exists of: [ 80.149295][ T5310] &oi->ip_alloc_sem --> jbd2_handle --> &oi->ip_xattr_sem [ 80.149295][ T5310] [ 80.154780][ T5310] Possible unsafe locking scenario: [ 80.154780][ T5310] [ 80.157788][ T5310] CPU0 CPU1 [ 80.159834][ T5310] ---- ---- [ 80.161958][ T5310] lock(&oi->ip_xattr_sem); [ 80.163823][ T5310] lock(jbd2_handle); [ 80.166516][ T5310] lock(&oi->ip_xattr_sem); [ 80.169398][ T5310] lock(&oi->ip_alloc_sem); [ 80.171305][ T5310] [ 80.171305][ T5310] *** DEADLOCK *** [ 80.171305][ T5310] [ 80.174624][ T5310] 3 locks held by syz-executor146/5310: [ 80.176994][ T5310] #0: ffff888042dc0420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 [ 80.180751][ T5310] #1: ffff8880443189c0 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: do_truncate+0x186/0x220 [ 80.185133][ T5310] #2: ffff8880443186f8 (&oi->ip_xattr_sem){++++}-{4:4}, at: ocfs2_try_remove_refcount_tree+0xa4/0x320 [ 80.189767][ T5310] [ 80.189767][ T5310] stack backtrace: [ 80.192319][ T5310] CPU: 0 UID: 0 PID: 5310 Comm: syz-executor146 Not tainted 6.15.0-rc7-syzkaller #0 PREEMPT(full) [ 80.192334][ T5310] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 80.192341][ T5310] Call Trace: [ 80.192348][ T5310] [ 80.192353][ T5310] dump_stack_lvl+0x189/0x250 [ 80.192370][ T5310] ? __pfx_dump_stack_lvl+0x10/0x10 [ 80.192379][ T5310] ? __pfx__printk+0x10/0x10 [ 80.192391][ T5310] ? print_lock_name+0xde/0x100 [ 80.192404][ T5310] print_circular_bug+0x2ee/0x310 [ 80.192415][ T5310] check_noncircular+0x134/0x160 [ 80.192426][ T5310] validate_chain+0xb9b/0x2140 [ 80.192440][ T5310] __lock_acquire+0xaac/0xd20 [ 80.192455][ T5310] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 80.192468][ T5310] lock_acquire+0x120/0x360 [ 80.192481][ T5310] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 80.192497][ T5310] down_write+0x96/0x1f0 [ 80.192513][ T5310] ? ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 80.192527][ T5310] ? __pfx_down_write+0x10/0x10 [ 80.192542][ T5310] ocfs2_try_remove_refcount_tree+0xb6/0x320 [ 80.192555][ T5310] ? __pfx_ocfs2_try_remove_refcount_tree+0x10/0x10 [ 80.192569][ T5310] ? up_write+0x1c4/0x420 [ 80.192579][ T5310] ocfs2_truncate_file+0xda0/0x1420 [ 80.192592][ T5310] ? __pfx_ocfs2_truncate_file+0x10/0x10 [ 80.192602][ T5310] ? do_raw_spin_unlock+0x4d/0x240 [ 80.192615][ T5310] ? _raw_spin_unlock+0x28/0x50 [ 80.192626][ T5310] ? ocfs2_inode_lock_tracker+0x3ec/0x660 [ 80.192640][ T5310] ? __pfx_ocfs2_inode_lock_tracker+0x10/0x10 [ 80.192652][ T5310] ? ocfs2_rw_lock+0x13a/0x240 [ 80.192662][ T5310] ? __pfx___dquot_initialize+0x10/0x10 [ 80.192675][ T5310] ? __pfx_ocfs2_rw_lock+0x10/0x10 [ 80.192685][ T5310] ? setattr_prepare+0x1e7/0xac0 [ 80.192697][ T5310] ? jbd2_journal_begin_ordered_truncate+0xbb/0x150 [ 80.192711][ T5310] ocfs2_setattr+0x1520/0x1b40 [ 80.192724][ T5310] ? __pfx_ocfs2_setattr+0x10/0x10 [ 80.192733][ T5310] ? ktime_get_coarse_real_ts64_mg+0x52/0x1e0 [ 80.192746][ T5310] ? seqcount_lockdep_reader_access+0x175/0x1c0 [ 80.192760][ T5310] ? __lock_acquire+0xaac/0xd20 [ 80.192773][ T5310] ? ktime_get_coarse_real_ts64_mg+0x1be/0x1e0 [ 80.192785][ T5310] ? current_time+0x222/0x370 [ 80.192798][ T5310] ? evm_inode_setattr+0x1b6/0x7d0 [ 80.192812][ T5310] ? __pfx_current_time+0x10/0x10 [ 80.192826][ T5310] ? try_break_deleg+0x79/0x130 [ 80.192834][ T5310] ? __pfx_ocfs2_setattr+0x10/0x10 [ 80.192844][ T5310] notify_change+0xb36/0xe40 [ 80.192856][ T5310] do_truncate+0x19a/0x220 [ 80.192868][ T5310] ? __pfx_do_truncate+0x10/0x10 [ 80.192878][ T5310] ? apparmor_file_truncate+0x23e/0x2d0 [ 80.192891][ T5310] path_openat+0x306c/0x3830 [ 80.192902][ T5310] ? arch_stack_walk+0xfc/0x150 [ 80.192921][ T5310] ? __pfx_path_openat+0x10/0x10 [ 80.192931][ T5310] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.192952][ T5310] do_filp_open+0x1fa/0x410 [ 80.192962][ T5310] ? __pfx_do_filp_open+0x10/0x10 [ 80.192976][ T5310] ? _raw_spin_unlock+0x28/0x50 [ 80.192986][ T5310] ? alloc_fd+0x64c/0x6c0 [ 80.193001][ T5310] do_sys_openat2+0x121/0x1c0 [ 80.193010][ T5310] ? __pfx_do_sys_openat2+0x10/0x10 [ 80.193020][ T5310] ? rcu_is_watching+0x15/0xb0 [ 80.193032][ T5310] __x64_sys_openat+0x138/0x170 [ 80.193042][ T5310] do_syscall_64+0xf6/0x210 [ 80.193058][ T5310] ? clear_bhb_loop+0x60/0xb0 [ 80.193069][ T5310] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.193079][ T5310] RIP: 0033:0x7f0c302e9b19 [ 80.193089][ T5310] 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 [ 80.193095][ T5310] RSP: 002b:00007fff32470ae8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 [ 80.193103][ T5310] RAX: ffffffffffffffda RBX: 0073746e6576652e RCX: 00007f0c302e9b19 [ 80.193109][ T5310] RDX: 0000000000007a05 RSI: 0000200000000280 RDI: 00000000ffffff9c [ 80.193113][ T5310] RBP: 652e79726f6d656d R08: 00005555725004c0 R09: 00005555725004c0 [ 80.193118][ T5310] R10: 0000000000001700 R11: 0000000000000246 R12: 00007fff32470b10 [ 80.193122][ T5310] R13: 00007fff32470d38 R14: 431bde82d7b634db R15: 00007f0c3033203b [ 80.193129][ T5310] 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 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: 21:19:36 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000030 RBX=0000000000000030 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=00000000000003f8 RSP=ffffc9000d4fe870 R8 =ffff888000cd8237 R9 =1ffff1100019b046 R10=dffffc0000000000 R11=ffffffff853e18b0 R12=dffffc0000000000 R13=ffffffff99850c5d R14=ffffffff99b55c40 R15=0000000000000000 RIP=ffffffff853e192c 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 00005555724ff380 ffffffff 00c00000 GS =0000 ffff88808d6c2000 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=00007f34517909c0 CR3=000000004379e000 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=0000000000000008 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 00007fff324700e0 00007fff324700c0 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff32470220 00007fff324700a0 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007f0c30352aa4 00007f0c30366240 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff324700e0 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff32470220 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff32470220 00007fff324700a0 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fff324700e0 00007fff324700c0 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 6f75717072672c72 746e696f6e2c6575 6e69746e6f633d73 726f7272652c656e ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 9ed8dc63b862eb36 d313266a6e4dfda6 5edf037880e35343 69fa9617002c6174 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