syzkaller login: [ 88.402166][ T5039] sshd (5039) used greatest stack depth: 18320 bytes left [ 91.862198][ T52] cfg80211: failed to load regulatory.db Warning: Permanently added '[localhost]:37131' (ED25519) to the list of known hosts. executing program [ 95.006115][ T5095] loop0: detected capacity change from 0 to 32768 [ 95.027318][ T5095] ======================================================= [ 95.027318][ T5095] WARNING: The mand mount option has been deprecated and [ 95.027318][ T5095] and is ignored by this kernel. Remove the mand [ 95.027318][ T5095] option from the mount to silence this warning. [ 95.027318][ T5095] ======================================================= [ 95.129696][ T5095] ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode. [ 95.160378][ T5095] [ 95.161403][ T5095] ====================================================== [ 95.164242][ T5095] WARNING: possible circular locking dependency detected [ 95.167054][ T5095] 6.11.0-rc4-syzkaller-00019-gb311c1b497e5 #0 Not tainted [ 95.170713][ T5095] ------------------------------------------------------ [ 95.173676][ T5095] syz-executor355/5095 is trying to acquire lock: [ 95.176851][ T5095] ffff88803c6506f8 (&oi->ip_xattr_sem){++++}-{3:3}, at: ocfs2_init_acl+0x397/0x930 [ 95.181196][ T5095] [ 95.181196][ T5095] but task is already holding lock: [ 95.184007][ T5095] ffff8880387ea958 (jbd2_handle){.+.+}-{0:0}, at: start_this_handle+0x1e94/0x2110 [ 95.188105][ T5095] [ 95.188105][ T5095] which lock already depends on the new lock. [ 95.188105][ T5095] [ 95.192368][ T5095] [ 95.192368][ T5095] the existing dependency chain (in reverse order) is: [ 95.196064][ T5095] [ 95.196064][ T5095] -> #4 (jbd2_handle){.+.+}-{0:0}: [ 95.200041][ T5095] lock_acquire+0x1ed/0x550 [ 95.203232][ T5095] start_this_handle+0x1eb4/0x2110 [ 95.205626][ T5095] jbd2__journal_start+0x2da/0x5d0 [ 95.207913][ T5095] jbd2_journal_start+0x29/0x40 [ 95.210105][ T5095] ocfs2_start_trans+0x3c9/0x700 [ 95.212132][ T5095] ocfs2_acl_set_mode+0x2c9/0x8c0 [ 95.214141][ T5095] ocfs2_iop_set_acl+0x33b/0x3c0 [ 95.216069][ T5095] vfs_set_acl+0x7fd/0xa60 [ 95.217882][ T5095] do_set_acl+0xf4/0x180 [ 95.219975][ T5095] __se_sys_fsetxattr+0x3b5/0x480 [ 95.222420][ T5095] do_syscall_64+0xf3/0x230 [ 95.224409][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.226949][ T5095] [ 95.226949][ T5095] -> #3 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 95.230111][ T5095] lock_acquire+0x1ed/0x550 [ 95.232041][ T5095] down_read+0xb1/0xa40 [ 95.233832][ T5095] ocfs2_start_trans+0x3be/0x700 [ 95.236009][ T5095] ocfs2_acl_set_mode+0x2c9/0x8c0 [ 95.238323][ T5095] ocfs2_iop_set_acl+0x33b/0x3c0 [ 95.240708][ T5095] vfs_set_acl+0x7fd/0xa60 [ 95.242788][ T5095] do_set_acl+0xf4/0x180 [ 95.244755][ T5095] __se_sys_fsetxattr+0x3b5/0x480 [ 95.246867][ T5095] do_syscall_64+0xf3/0x230 [ 95.248714][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.251075][ T5095] [ 95.251075][ T5095] -> #2 (sb_internal#2){.+.+}-{0:0}: [ 95.254282][ T5095] lock_acquire+0x1ed/0x550 [ 95.256812][ T5095] ocfs2_start_trans+0x2b9/0x700 [ 95.259697][ T5095] ocfs2_xattr_set+0x1192/0x1930 [ 95.262560][ T5095] ocfs2_set_acl+0x4cb/0x580 [ 95.264695][ T5095] ocfs2_iop_set_acl+0x24a/0x3c0 [ 95.267344][ T5095] vfs_set_acl+0x7fd/0xa60 [ 95.269726][ T5095] do_set_acl+0xf4/0x180 [ 95.271542][ T5095] __se_sys_fsetxattr+0x3b5/0x480 [ 95.273841][ T5095] do_syscall_64+0xf3/0x230 [ 95.275887][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.278433][ T5095] [ 95.278433][ T5095] -> #1 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}: [ 95.282605][ T5095] lock_acquire+0x1ed/0x550 [ 95.284925][ T5095] down_write+0x99/0x220 [ 95.286978][ T5095] ocfs2_reserve_suballoc_bits+0x192/0x4eb0 [ 95.290114][ T5095] ocfs2_reserve_new_metadata_blocks+0x41c/0x9c0 [ 95.292674][ T5095] ocfs2_init_xattr_set_ctxt+0x3a6/0x900 [ 95.295261][ T5095] ocfs2_xattr_set+0xf4e/0x1930 [ 95.297572][ T5095] ocfs2_set_acl+0x4cb/0x580 [ 95.299621][ T5095] ocfs2_iop_set_acl+0x24a/0x3c0 [ 95.301859][ T5095] vfs_set_acl+0x7fd/0xa60 [ 95.304065][ T5095] do_set_acl+0xf4/0x180 [ 95.306159][ T5095] __se_sys_fsetxattr+0x3b5/0x480 [ 95.308722][ T5095] do_syscall_64+0xf3/0x230 [ 95.310781][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.313409][ T5095] [ 95.313409][ T5095] -> #0 (&oi->ip_xattr_sem){++++}-{3:3}: [ 95.316597][ T5095] validate_chain+0x18e0/0x5900 [ 95.318771][ T5095] __lock_acquire+0x137a/0x2040 [ 95.320975][ T5095] lock_acquire+0x1ed/0x550 [ 95.323436][ T5095] down_read+0xb1/0xa40 [ 95.325849][ T5095] ocfs2_init_acl+0x397/0x930 [ 95.328220][ T5095] ocfs2_mknod+0x1c05/0x2b40 [ 95.330626][ T5095] ocfs2_mkdir+0x1ab/0x480 [ 95.332700][ T5095] vfs_mkdir+0x2f9/0x4f0 [ 95.334742][ T5095] do_mkdirat+0x264/0x3a0 [ 95.336873][ T5095] __x64_sys_mkdirat+0x87/0xa0 [ 95.339357][ T5095] do_syscall_64+0xf3/0x230 [ 95.341437][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.344517][ T5095] [ 95.344517][ T5095] other info that might help us debug this: [ 95.344517][ T5095] [ 95.349703][ T5095] Chain exists of: [ 95.349703][ T5095] &oi->ip_xattr_sem --> &journal->j_trans_barrier --> jbd2_handle [ 95.349703][ T5095] [ 95.355761][ T5095] Possible unsafe locking scenario: [ 95.355761][ T5095] [ 95.358830][ T5095] CPU0 CPU1 [ 95.360926][ T5095] ---- ---- [ 95.363042][ T5095] rlock(jbd2_handle); [ 95.364912][ T5095] lock(&journal->j_trans_barrier); [ 95.368414][ T5095] lock(jbd2_handle); [ 95.371804][ T5095] rlock(&oi->ip_xattr_sem); [ 95.373831][ T5095] [ 95.373831][ T5095] *** DEADLOCK *** [ 95.373831][ T5095] [ 95.377044][ T5095] 8 locks held by syz-executor355/5095: [ 95.379150][ T5095] #0: ffff88803772c420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 95.382457][ T5095] #1: ffff88803c6509c0 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 [ 95.386367][ T5095] #2: ffff88803c656d80 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#5){+.+.}-{3:3}, at: ocfs2_reserve_suballoc_bits+0x192/0x4eb0 [ 95.392057][ T5095] #3: ffff88803c655f40 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#3){+.+.}-{3:3}, at: ocfs2_reserve_suballoc_bits+0x192/0x4eb0 [ 95.397442][ T5095] #4: ffff88803c659800 (&ocfs2_sysfile_lock_key[args->fi_sysfile_type]#6){+.+.}-{3:3}, at: ocfs2_reserve_local_alloc_bits+0x132/0x2870 [ 95.402706][ T5095] #5: ffff88803772c610 (sb_internal#2){.+.+}-{0:0}, at: ocfs2_mknod+0x150c/0x2b40 [ 95.406592][ T5095] #6: ffff88803ab3a4e8 (&journal->j_trans_barrier){.+.+}-{3:3}, at: ocfs2_start_trans+0x3be/0x700 [ 95.411303][ T5095] #7: ffff8880387ea958 (jbd2_handle){.+.+}-{0:0}, at: start_this_handle+0x1e94/0x2110 [ 95.414785][ T5095] [ 95.414785][ T5095] stack backtrace: [ 95.417143][ T5095] CPU: 0 UID: 0 PID: 5095 Comm: syz-executor355 Not tainted 6.11.0-rc4-syzkaller-00019-gb311c1b497e5 #0 [ 95.421533][ T5095] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 95.425412][ T5095] Call Trace: [ 95.426799][ T5095] [ 95.427828][ T5095] dump_stack_lvl+0x241/0x360 [ 95.429664][ T5095] ? __pfx_dump_stack_lvl+0x10/0x10 [ 95.431860][ T5095] ? print_circular_bug+0x130/0x1a0 [ 95.435065][ T5095] check_noncircular+0x36a/0x4a0 [ 95.437810][ T5095] ? __pfx_check_noncircular+0x10/0x10 [ 95.440717][ T5095] ? lockdep_lock+0x123/0x2b0 [ 95.442862][ T5095] ? validate_chain+0x11e/0x5900 [ 95.444821][ T5095] ? validate_chain+0x11e/0x5900 [ 95.446901][ T5095] ? __pfx_validate_chain+0x10/0x10 [ 95.448954][ T5095] validate_chain+0x18e0/0x5900 [ 95.450888][ T5095] ? __pfx_validate_chain+0x10/0x10 [ 95.452928][ T5095] ? validate_chain+0x11e/0x5900 [ 95.454905][ T5095] ? __pfx_validate_chain+0x10/0x10 [ 95.456930][ T5095] ? __ocfs2_journal_access+0x64c/0x8a0 [ 95.459056][ T5095] ? __pfx_lock_release+0x10/0x10 [ 95.461126][ T5095] ? __pfx_validate_chain+0x10/0x10 [ 95.463104][ T5095] ? mark_lock+0x9a/0x350 [ 95.464707][ T5095] __lock_acquire+0x137a/0x2040 [ 95.466550][ T5095] lock_acquire+0x1ed/0x550 [ 95.468342][ T5095] ? ocfs2_init_acl+0x397/0x930 [ 95.470302][ T5095] ? __pfx_lock_acquire+0x10/0x10 [ 95.472454][ T5095] ? __pfx___might_resched+0x10/0x10 [ 95.474579][ T5095] ? __ocfs2_journal_access+0x64c/0x8a0 [ 95.476769][ T5095] ? __pfx_lock_release+0x10/0x10 [ 95.478754][ T5095] down_read+0xb1/0xa40 [ 95.480292][ T5095] ? ocfs2_init_acl+0x397/0x930 [ 95.482143][ T5095] ? __mutex_unlock_slowpath+0x21d/0x750 [ 95.484329][ T5095] ? __pfx_down_read+0x10/0x10 [ 95.486043][ T5095] ? __pfx___mutex_unlock_slowpath+0x10/0x10 [ 95.488480][ T5095] ? jbd2_write_access_granted+0x71/0x310 [ 95.492308][ T5095] ? jbd2_write_access_granted+0x2f8/0x310 [ 95.495114][ T5095] ? jbd2_write_access_granted+0x71/0x310 [ 95.497274][ T5095] ocfs2_init_acl+0x397/0x930 [ 95.499065][ T5095] ? __pfx_ocfs2_init_acl+0x10/0x10 [ 95.500987][ T5095] ? ocfs2_start_trans+0x4e3/0x700 [ 95.502802][ T5095] ? __pfx_ocfs2_journal_dirty+0x10/0x10 [ 95.504987][ T5095] ? __pfx_ocfs2_block_signals+0x10/0x10 [ 95.507142][ T5095] ? ocfs2_metadata_cache_get_super+0x43/0x80 [ 95.509673][ T5095] ? ocfs2_inode_cache_get_super+0xd/0x40 [ 95.512572][ T5095] ocfs2_mknod+0x1c05/0x2b40 [ 95.514552][ T5095] ? __pfx_validate_chain+0x10/0x10 [ 95.516684][ T5095] ? __pfx_ocfs2_mknod+0x10/0x10 [ 95.518321][ T5095] ? __lock_acquire+0x137a/0x2040 [ 95.519771][ T5095] ? __lock_acquire+0x137a/0x2040 [ 95.521230][ T5095] ? __pfx_lock_acquire+0x10/0x10 [ 95.522798][ T5095] ? ocfs2_inode_unlock_tracker+0x23e/0x2b0 [ 95.524859][ T5095] ? __pfx_lock_release+0x10/0x10 [ 95.526606][ T5095] ? do_raw_spin_lock+0x14f/0x370 [ 95.528362][ T5095] ? do_raw_spin_unlock+0x58/0x8b0 [ 95.530232][ T5095] ? put_pid+0xdf/0x120 [ 95.531693][ T5095] ? ocfs2_permission+0x103/0x1c0 [ 95.533388][ T5095] ? __pfx_ocfs2_permission+0x10/0x10 [ 95.535695][ T5095] ocfs2_mkdir+0x1ab/0x480 [ 95.537846][ T5095] ? __pfx_ocfs2_mkdir+0x10/0x10 [ 95.540468][ T5095] ? __pfx_ocfs2_permission+0x10/0x10 [ 95.543091][ T5095] ? bpf_lsm_inode_mkdir+0x9/0x10 [ 95.544576][ T5095] ? security_inode_mkdir+0xc2/0x110 [ 95.546298][ T5095] vfs_mkdir+0x2f9/0x4f0 [ 95.547754][ T5095] do_mkdirat+0x264/0x3a0 [ 95.549232][ T5095] ? __check_object_size+0x49c/0x900 [ 95.551029][ T5095] ? __might_fault+0xc6/0x120 [ 95.552747][ T5095] ? __pfx_do_mkdirat+0x10/0x10 [ 95.554682][ T5095] ? getname_flags+0x1e3/0x540 [ 95.556519][ T5095] __x64_sys_mkdirat+0x87/0xa0 [ 95.558437][ T5095] do_syscall_64+0xf3/0x230 [ 95.560232][ T5095] ? clear_bhb_loop+0x35/0x90 [ 95.562378][ T5095] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.565106][ T5095] RIP: 0033:0x7fc16bc56b99 [ 95.567203][ T5095] 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.576144][ T5095] RSP: 002b:00007ffc21491be8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 95.579520][ T5095] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc16bc56b99 [ 95.582638][ T5095] RDX: 0000000000000000 RSI: 0000000020000080 RDI: 00000000ffffff9c [ 95.585680][ T5095] RBP: 00007fc16bcce5f0 R08: 000055556fac24c0 R09: 000055556fac24c0 [ 95.588736][ T5095] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffc21491c10 [ 95.591775][ T5095] R13: 00007ffc21491e38 R14: 431bde82d7b634db R15: 00007fc16bc9f03b [ 95.594845][ T5095] 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: 19:20:16 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000079 RBX=ffffffff95258d40 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc90002d2e6b0 R8 =ffffffff853f11fb R9 =1ffff11003817046 R10=dffffc0000000000 R11=ffffffff853f11b0 R12=dffffc0000000000 R13=0000000000000079 R14=0000000000000079 R15=00000000000003f8 RIP=ffffffff853f122e 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 000055556fac1380 ffffffff 00c00000 GS =0000 ffff888020800000 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=00007fc16bcd20f8 CR3=0000000012a6a000 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=0000000000440401 Opmask01=0000000000000001 Opmask02=00000000fff7ffff 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 00007ffc21491bf0 0000003000000018 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fc16bcda580 00007fc16bcce5d8 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fc16bcbf724 00007fc16bcd3260 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM07=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 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 2525252525252525 2525252525252525 2525252525252525 2525252525252525 ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 65723d73726f7272 6500747865003036 36396f7369007265 6c6c616b7a797300 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 40571856574a5757 4000515d40001513 131c4a564c005740 4949444e5f5c5600 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