Warning: Permanently added '[localhost]:15761' (ED25519) to the list of known hosts. executing program syzkaller login: [ 95.402063][ T5102] loop0: detected capacity change from 0 to 32768 [ 95.417564][ T5102] ======================================================= [ 95.417564][ T5102] WARNING: The mand mount option has been deprecated and [ 95.417564][ T5102] and is ignored by this kernel. Remove the mand [ 95.417564][ T5102] option from the mount to silence this warning. [ 95.417564][ T5102] ======================================================= [ 95.504849][ T5102] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 95.519096][ T5102] [ 95.519921][ T5102] ====================================================== [ 95.522222][ T5102] WARNING: possible circular locking dependency detected [ 95.524500][ T5102] 6.11.0-rc7-syzkaller-00039-g77f587896757 #0 Not tainted [ 95.528035][ T5102] ------------------------------------------------------ [ 95.530393][ T5102] syz-executor271/5102 is trying to acquire lock: [ 95.532482][ T5102] ffff88804048a610 (sb_internal#2){.+.+}-{0:0}, at: ocfs2_write_begin_nolock+0x226b/0x4d30 [ 95.535657][ T5102] [ 95.535657][ T5102] but task is already holding lock: [ 95.538209][ T5102] ffff888041fdcda0 (&oi->ip_alloc_sem){++++}-{3:3}, at: ocfs2_write_begin+0x1d1/0x3a0 [ 95.541412][ T5102] [ 95.541412][ T5102] which lock already depends on the new lock. [ 95.541412][ T5102] [ 95.545050][ T5102] [ 95.545050][ T5102] the existing dependency chain (in reverse order) is: [ 95.548035][ T5102] [ 95.548035][ T5102] -> #4 (&oi->ip_alloc_sem){++++}-{3:3}: [ 95.550597][ T5102] lock_acquire+0x1ed/0x550 [ 95.552443][ T5102] down_write+0x99/0x220 [ 95.553858][ T5102] ocfs2_try_remove_refcount_tree+0xb6/0x330 [ 95.555706][ T5102] ocfs2_xattr_set+0xa4f/0x1930 [ 95.557264][ T5102] ocfs2_set_acl+0x4cb/0x580 [ 95.559280][ T5102] ocfs2_iop_set_acl+0x24a/0x3c0 [ 95.561036][ T5102] vfs_set_acl+0x7fd/0xa60 [ 95.562468][ T5102] path_setxattr+0x3bd/0x4d0 [ 95.564072][ T5102] __x64_sys_lsetxattr+0xb8/0xd0 [ 95.565751][ T5102] do_syscall_64+0xf3/0x230 [ 95.567433][ T5102] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.569504][ T5102] [ 95.569504][ T5102] -> #3 (&oi->ip_xattr_sem){++++}-{3:3}: [ 95.572510][ T5102] lock_acquire+0x1ed/0x550 [ 95.574499][ T5102] down_read+0xb1/0xa40 [ 95.576521][ T5102] ocfs2_init_acl+0x397/0x930 [ 95.578853][ T5102] ocfs2_mknod+0x1c05/0x2b40 [ 95.581160][ T5102] ocfs2_mkdir+0x1ab/0x480 [ 95.583291][ T5102] vfs_mkdir+0x2f9/0x4f0 [ 95.585266][ T5102] do_mkdirat+0x264/0x3a0 [ 95.587302][ T5102] __x64_sys_mkdirat+0x87/0xa0 [ 95.589586][ T5102] do_syscall_64+0xf3/0x230 [ 95.591761][ T5102] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.594531][ T5102] [ 95.594531][ T5102] -> #2 (jbd2_handle){++++}-{0:0}: [ 95.597770][ T5102] lock_acquire+0x1ed/0x550 [ 95.599964][ T5102] start_this_handle+0x1eb4/0x2110 [ 95.602423][ T5102] jbd2__journal_start+0x2da/0x5d0 [ 95.604599][ T5102] jbd2_journal_start+0x29/0x40 [ 95.606694][ T5102] ocfs2_start_trans+0x3c9/0x700 [ 95.608844][ T5102] ocfs2_mknod+0x150c/0x2b40 [ 95.610868][ T5102] ocfs2_mkdir+0x1ab/0x480 [ 95.612845][ T5102] vfs_mkdir+0x2f9/0x4f0 [ 95.614746][ T5102] do_mkdirat+0x264/0x3a0 [ 95.616663][ T5102] __x64_sys_mkdirat+0x87/0xa0 [ 95.618773][ T5102] do_syscall_64+0xf3/0x230 [ 95.620705][ T5102] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.622775][ T5102] [ 95.622775][ T5102] -> #1 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 95.625561][ T5102] lock_acquire+0x1ed/0x550 [ 95.627289][ T5102] down_read+0xb1/0xa40 [ 95.628921][ T5102] ocfs2_start_trans+0x3be/0x700 [ 95.630865][ T5102] ocfs2_mknod+0x150c/0x2b40 [ 95.632791][ T5102] ocfs2_mkdir+0x1ab/0x480 [ 95.634555][ T5102] vfs_mkdir+0x2f9/0x4f0 [ 95.636018][ T5102] do_mkdirat+0x264/0x3a0 [ 95.637703][ T5102] __x64_sys_mkdirat+0x87/0xa0 [ 95.639352][ T5102] do_syscall_64+0xf3/0x230 [ 95.640912][ T5102] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.643070][ T5102] [ 95.643070][ T5102] -> #0 (sb_internal#2){.+.+}-{0:0}: [ 95.645694][ T5102] validate_chain+0x18e0/0x5900 [ 95.647513][ T5102] __lock_acquire+0x137a/0x2040 [ 95.649381][ T5102] lock_acquire+0x1ed/0x550 [ 95.651124][ T5102] ocfs2_start_trans+0x2b9/0x700 [ 95.652907][ T5102] ocfs2_write_begin_nolock+0x226b/0x4d30 [ 95.654915][ T5102] ocfs2_write_begin+0x205/0x3a0 [ 95.656854][ T5102] generic_perform_write+0x399/0x840 [ 95.658741][ T5102] ocfs2_file_write_iter+0x17b4/0x1f60 [ 95.660769][ T5102] vfs_write+0xa72/0xc90 [ 95.662428][ T5102] ksys_write+0x1a0/0x2c0 [ 95.664135][ T5102] do_syscall_64+0xf3/0x230 [ 95.666021][ T5102] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.668388][ T5102] [ 95.668388][ T5102] other info that might help us debug this: [ 95.668388][ T5102] [ 95.672413][ T5102] Chain exists of: [ 95.672413][ T5102] sb_internal#2 --> &oi->ip_xattr_sem --> &oi->ip_alloc_sem [ 95.672413][ T5102] [ 95.677466][ T5102] Possible unsafe locking scenario: [ 95.677466][ T5102] [ 95.680380][ T5102] CPU0 CPU1 [ 95.682454][ T5102] ---- ---- [ 95.684569][ T5102] lock(&oi->ip_alloc_sem); [ 95.686375][ T5102] lock(&oi->ip_xattr_sem); [ 95.689157][ T5102] lock(&oi->ip_alloc_sem); [ 95.691930][ T5102] rlock(sb_internal#2); [ 95.693588][ T5102] [ 95.693588][ T5102] *** DEADLOCK *** [ 95.693588][ T5102] [ 95.696479][ T5102] 3 locks held by syz-executor271/5102: [ 95.698462][ T5102] #0: ffff88804048a420 (sb_writers#9){.+.+}-{0:0}, at: vfs_write+0x227/0xc90 [ 95.701632][ T5102] #1: ffff888041fdd100 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: ocfs2_file_write_iter+0x46a/0x1f60 [ 95.705813][ T5102] #2: ffff888041fdcda0 (&oi->ip_alloc_sem){++++}-{3:3}, at: ocfs2_write_begin+0x1d1/0x3a0 [ 95.709602][ T5102] [ 95.709602][ T5102] stack backtrace: [ 95.711909][ T5102] CPU: 0 UID: 0 PID: 5102 Comm: syz-executor271 Not tainted 6.11.0-rc7-syzkaller-00039-g77f587896757 #0 [ 95.715899][ T5102] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 95.719942][ T5102] Call Trace: [ 95.721265][ T5102] [ 95.722436][ T5102] dump_stack_lvl+0x241/0x360 [ 95.724285][ T5102] ? __pfx_dump_stack_lvl+0x10/0x10 [ 95.726369][ T5102] ? print_circular_bug+0x130/0x1a0 [ 95.728022][ T5102] check_noncircular+0x36a/0x4a0 [ 95.730000][ T5102] ? __pfx_check_noncircular+0x10/0x10 [ 95.732079][ T5102] ? lockdep_lock+0x123/0x2b0 [ 95.733853][ T5102] ? add_lock_to_list+0x1de/0x2e0 [ 95.735768][ T5102] validate_chain+0x18e0/0x5900 [ 95.737720][ T5102] ? __pfx_validate_chain+0x10/0x10 [ 95.739764][ T5102] ? mark_lock+0x9a/0x350 [ 95.741489][ T5102] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 95.743706][ T5102] ? _raw_spin_unlock_irqrestore+0x8f/0x140 [ 95.745785][ T5102] ? lockdep_hardirqs_on+0x99/0x150 [ 95.747430][ T5102] ? mark_lock+0x9a/0x350 [ 95.749169][ T5102] __lock_acquire+0x137a/0x2040 [ 95.751105][ T5102] lock_acquire+0x1ed/0x550 [ 95.752846][ T5102] ? ocfs2_write_begin_nolock+0x226b/0x4d30 [ 95.754932][ T5102] ? __pfx_lock_acquire+0x10/0x10 [ 95.756815][ T5102] ? __pfx_lock_release+0x10/0x10 [ 95.758593][ T5102] ? __pfx___might_resched+0x10/0x10 [ 95.760541][ T5102] ? do_raw_spin_unlock+0x58/0x8b0 [ 95.762557][ T5102] ocfs2_start_trans+0x2b9/0x700 [ 95.764523][ T5102] ? ocfs2_write_begin_nolock+0x226b/0x4d30 [ 95.766858][ T5102] ? __pfx_ocfs2_start_trans+0x10/0x10 [ 95.769002][ T5102] ? __kasan_kmalloc+0x98/0xb0 [ 95.770877][ T5102] ? ocfs2_write_begin_nolock+0x435/0x4d30 [ 95.773177][ T5102] ? __kmalloc_cache_noprof+0x19c/0x2c0 [ 95.775319][ T5102] ocfs2_write_begin_nolock+0x226b/0x4d30 [ 95.777479][ T5102] ? __lock_acquire+0x137a/0x2040 [ 95.779476][ T5102] ? __pfx_ocfs2_read_blocks+0x10/0x10 [ 95.781623][ T5102] ? __pfx_ocfs2_write_begin_nolock+0x10/0x10 [ 95.783967][ T5102] ? __pfx_lock_acquire+0x10/0x10 [ 95.785956][ T5102] ? mark_lock+0x9a/0x350 [ 95.787659][ T5102] ? __lock_acquire+0x137a/0x2040 [ 95.789674][ T5102] ? __pfx_lock_acquire+0x10/0x10 [ 95.791683][ T5102] ? __pfx___might_resched+0x10/0x10 [ 95.793792][ T5102] ? down_write+0x18c/0x220 [ 95.795544][ T5102] ? __pfx_down_write+0x10/0x10 [ 95.797458][ T5102] ocfs2_write_begin+0x205/0x3a0 [ 95.799328][ T5102] ? __pfx_ocfs2_write_begin+0x10/0x10 [ 95.801286][ T5102] ? fault_in_iov_iter_readable+0x229/0x280 [ 95.803537][ T5102] generic_perform_write+0x399/0x840 [ 95.805670][ T5102] ? __pfx_generic_perform_write+0x10/0x10 [ 95.808104][ T5102] ? __generic_file_write_iter+0x105/0x230 [ 95.810321][ T5102] ? ocfs2_file_write_iter+0x1793/0x1f60 [ 95.812519][ T5102] ocfs2_file_write_iter+0x17b4/0x1f60 [ 95.814722][ T5102] ? __pfx_ocfs2_file_write_iter+0x10/0x10 [ 95.816959][ T5102] ? __pfx_lock_acquire+0x10/0x10 [ 95.818973][ T5102] ? rcu_read_lock_any_held+0xb7/0x160 [ 95.821176][ T5102] ? __pfx_rcu_read_lock_any_held+0x10/0x10 [ 95.823549][ T5102] vfs_write+0xa72/0xc90 [ 95.824930][ T5102] ? __pfx_ocfs2_file_write_iter+0x10/0x10 [ 95.827061][ T5102] ? __pfx_vfs_write+0x10/0x10 [ 95.828608][ T5102] ksys_write+0x1a0/0x2c0 [ 95.829893][ T5102] ? __pfx_ksys_write+0x10/0x10 [ 95.831719][ T5102] ? exc_page_fault+0x590/0x8c0 [ 95.833492][ T5102] ? do_syscall_64+0xb6/0x230 [ 95.835090][ T5102] do_syscall_64+0xf3/0x230 [ 95.836707][ T5102] ? clear_bhb_loop+0x35/0x90 [ 95.838225][ T5102] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.840395][ T5102] RIP: 0033:0x7fa601be8f19 [ 95.842085][ T5102] 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 [ 95.849358][ T5102] RSP: 002b:00007ffc8af27958 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 95.852562][ T5102] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007fa601be8f19 [ 95.855413][ T5102] RDX: 0000000000000020 RSI: 0000000020000840 RDI: 0000000000000004 [ 95.858007][ T5102] RBP: 00007fa601c615f0 R08: 000055556916e4c0 R09: 000055556916e4c0 [ 95.860498][ T5102] R10: 000055556916e4c0 R11: 0000000000000246 R12: 00007ffc8af27980 [ 95.863210][ T5102] R13: 00007ffc8af27ba8 R14: 431bde82d7b634db R15: 00007fa601c3203b [ 95.865836][ T5102] executing program executing program [ 96.924647][ T9] 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 VM DIAGNOSIS: 20:20:21 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000072 RBX=ffffffff9a668f40 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc90002cde270 R8 =ffffffff8540ac3b R9 =1ffff1100667b046 R10=dffffc0000000000 R11=ffffffff8540abf0 R12=dffffc0000000000 R13=0000000000000072 R14=0000000000000072 R15=00000000000003f8 RIP=ffffffff8540ac6e 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 000055556916d380 ffffffff 00c00000 GS =0000 ffff88801fe00000 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=00007fa601c650f8 CR3=000000003d1aa000 CR4=00350ef0 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 00007ffc8af26f50 00007ffc8af26f30 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc8af27090 00007ffc8af26f10 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fa601c52704 00007fa601c66260 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc8af26f50 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc8af27090 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc8af27090 00007ffc8af26f10 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffc8af26f50 00007ffc8af26f30 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