[ 86.623326][ T788] cfg80211: failed to load regulatory.db Warning: Permanently added '[localhost]:15969' (ED25519) to the list of known hosts. executing program [ 182.754607][ T5112] loop0: detected capacity change from 0 to 32768 [ 182.821193][ T5112] JBD2: Ignoring recovery information on journal [ 182.866854][ T5112] ocfs2: Mounting device (7,0) on (node local, slot 0) with writeback data mode. [ 182.887511][ T5112] [ 182.888250][ T5112] ====================================================== [ 182.890399][ T5112] WARNING: possible circular locking dependency detected [ 182.892418][ T5112] 6.11.0-rc4-syzkaller-00011-g521b1e7f4cf0 #0 Not tainted [ 182.895659][ T5112] ------------------------------------------------------ [ 182.898204][ T5112] syz-executor238/5112 is trying to acquire lock: [ 182.900541][ T5112] ffff888018c02610 (sb_internal#2){.+.+}-{0:0}, at: ocfs2_setattr+0xcb1/0x1f50 [ 182.905736][ T5112] [ 182.905736][ T5112] but task is already holding lock: [ 182.908026][ T5112] ffff88803c28cda0 (&oi->ip_alloc_sem){+.+.}-{3:3}, at: ocfs2_setattr+0xc9f/0x1f50 [ 182.910870][ T5112] [ 182.910870][ T5112] which lock already depends on the new lock. [ 182.910870][ T5112] [ 182.914312][ T5112] [ 182.914312][ T5112] the existing dependency chain (in reverse order) is: [ 182.916880][ T5112] [ 182.916880][ T5112] -> #4 (&oi->ip_alloc_sem){+.+.}-{3:3}: [ 182.919284][ T5112] lock_acquire+0x1ed/0x550 [ 182.920743][ T5112] down_write+0x99/0x220 [ 182.922832][ T5112] ocfs2_try_remove_refcount_tree+0xb6/0x330 [ 182.924734][ T5112] ocfs2_xattr_set+0xa4f/0x1930 [ 182.926504][ T5112] ocfs2_set_acl+0x4cb/0x580 [ 182.928253][ T5112] ocfs2_iop_set_acl+0x24a/0x3c0 [ 182.930102][ T5112] vfs_set_acl+0x7fd/0xa60 [ 182.931535][ T5112] path_setxattr+0x3bd/0x4d0 [ 182.933220][ T5112] __x64_sys_setxattr+0xbb/0xd0 [ 182.935069][ T5112] do_syscall_64+0xf3/0x230 [ 182.936833][ T5112] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 182.938711][ T5112] [ 182.938711][ T5112] -> #3 (&oi->ip_xattr_sem){++++}-{3:3}: [ 182.940942][ T5112] lock_acquire+0x1ed/0x550 [ 182.942607][ T5112] down_read+0xb1/0xa40 [ 182.944254][ T5112] ocfs2_init_acl+0x397/0x930 [ 182.945922][ T5112] ocfs2_mknod+0x1c05/0x2b40 [ 182.947464][ T5112] ocfs2_create+0x1ab/0x480 [ 182.949239][ T5112] vfs_create+0x23c/0x3d0 [ 182.950877][ T5112] do_mknodat+0x447/0x5b0 [ 182.952564][ T5112] __x64_sys_mknodat+0xa7/0xc0 [ 182.954466][ T5112] do_syscall_64+0xf3/0x230 [ 182.956223][ T5112] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 182.958444][ T5112] [ 182.958444][ T5112] -> #2 (jbd2_handle){.+.+}-{0:0}: [ 182.960802][ T5112] lock_acquire+0x1ed/0x550 [ 182.962216][ T5112] start_this_handle+0x1eb4/0x2110 [ 182.964085][ T5112] jbd2__journal_start+0x2da/0x5d0 [ 182.966070][ T5112] jbd2_journal_start+0x29/0x40 [ 182.967671][ T5112] ocfs2_start_trans+0x3c9/0x700 [ 182.969214][ T5112] ocfs2_mknod+0x150c/0x2b40 [ 182.970640][ T5112] ocfs2_create+0x1ab/0x480 [ 182.972054][ T5112] vfs_create+0x23c/0x3d0 [ 182.973449][ T5112] do_mknodat+0x447/0x5b0 [ 182.974962][ T5112] __x64_sys_mknodat+0xa7/0xc0 [ 182.976849][ T5112] do_syscall_64+0xf3/0x230 [ 182.978593][ T5112] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 182.980591][ T5112] [ 182.980591][ T5112] -> #1 (&journal->j_trans_barrier){.+.+}-{3:3}: [ 182.983154][ T5112] lock_acquire+0x1ed/0x550 [ 182.984604][ T5112] down_read+0xb1/0xa40 [ 182.985960][ T5112] ocfs2_start_trans+0x3be/0x700 [ 182.987497][ T5112] ocfs2_mknod+0x150c/0x2b40 [ 182.988943][ T5112] ocfs2_create+0x1ab/0x480 [ 182.990408][ T5112] vfs_create+0x23c/0x3d0 [ 182.992125][ T5112] do_mknodat+0x447/0x5b0 [ 182.993915][ T5112] __x64_sys_mknodat+0xa7/0xc0 [ 182.995829][ T5112] do_syscall_64+0xf3/0x230 [ 182.997615][ T5112] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 182.999836][ T5112] [ 182.999836][ T5112] -> #0 (sb_internal#2){.+.+}-{0:0}: [ 183.002674][ T5112] validate_chain+0x18e0/0x5900 [ 183.004735][ T5112] __lock_acquire+0x137a/0x2040 [ 183.006730][ T5112] lock_acquire+0x1ed/0x550 [ 183.008629][ T5112] ocfs2_start_trans+0x2b9/0x700 [ 183.010679][ T5112] ocfs2_setattr+0xcb1/0x1f50 [ 183.012611][ T5112] notify_change+0xb9d/0xe70 [ 183.014565][ T5112] chmod_common+0x2ab/0x4c0 [ 183.016361][ T5112] __x64_sys_fchmodat+0x11d/0x1c0 [ 183.018078][ T5112] do_syscall_64+0xf3/0x230 [ 183.019680][ T5112] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 183.021785][ T5112] [ 183.021785][ T5112] other info that might help us debug this: [ 183.021785][ T5112] [ 183.024861][ T5112] Chain exists of: [ 183.024861][ T5112] sb_internal#2 --> &oi->ip_xattr_sem --> &oi->ip_alloc_sem [ 183.024861][ T5112] [ 183.029110][ T5112] Possible unsafe locking scenario: [ 183.029110][ T5112] [ 183.031587][ T5112] CPU0 CPU1 [ 183.033472][ T5112] ---- ---- [ 183.035193][ T5112] lock(&oi->ip_alloc_sem); [ 183.036975][ T5112] lock(&oi->ip_xattr_sem); [ 183.039745][ T5112] lock(&oi->ip_alloc_sem); [ 183.042390][ T5112] rlock(sb_internal#2); [ 183.043993][ T5112] [ 183.043993][ T5112] *** DEADLOCK *** [ 183.043993][ T5112] [ 183.046947][ T5112] 3 locks held by syz-executor238/5112: [ 183.049007][ T5112] #0: ffff888018c02420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 183.052403][ T5112] #1: ffff88803c28d100 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: chmod_common+0x1bb/0x4c0 [ 183.056228][ T5112] #2: ffff88803c28cda0 (&oi->ip_alloc_sem){+.+.}-{3:3}, at: ocfs2_setattr+0xc9f/0x1f50 [ 183.059725][ T5112] [ 183.059725][ T5112] stack backtrace: [ 183.061989][ T5112] CPU: 0 UID: 0 PID: 5112 Comm: syz-executor238 Not tainted 6.11.0-rc4-syzkaller-00011-g521b1e7f4cf0 #0 [ 183.065914][ T5112] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 183.069705][ T5112] Call Trace: [ 183.070954][ T5112] [ 183.072043][ T5112] dump_stack_lvl+0x241/0x360 [ 183.073788][ T5112] ? __pfx_dump_stack_lvl+0x10/0x10 [ 183.075711][ T5112] ? print_circular_bug+0x130/0x1a0 [ 183.077656][ T5112] check_noncircular+0x36a/0x4a0 [ 183.079465][ T5112] ? __pfx_check_noncircular+0x10/0x10 [ 183.081541][ T5112] ? lockdep_lock+0x123/0x2b0 [ 183.083312][ T5112] ? add_lock_to_list+0x1de/0x2e0 [ 183.085011][ T5112] validate_chain+0x18e0/0x5900 [ 183.086838][ T5112] ? __pfx_validate_chain+0x10/0x10 [ 183.088791][ T5112] ? __pfx_validate_chain+0x10/0x10 [ 183.090791][ T5112] ? register_lock_class+0x102/0x980 [ 183.092744][ T5112] ? mark_lock+0x9a/0x350 [ 183.094401][ T5112] __lock_acquire+0x137a/0x2040 [ 183.096240][ T5112] lock_acquire+0x1ed/0x550 [ 183.097951][ T5112] ? ocfs2_setattr+0xcb1/0x1f50 [ 183.099796][ T5112] ? __pfx_lock_acquire+0x10/0x10 [ 183.101702][ T5112] ? __pfx_lock_release+0x10/0x10 [ 183.103693][ T5112] ? __pfx___might_resched+0x10/0x10 [ 183.105744][ T5112] ? do_raw_spin_unlock+0x58/0x8b0 [ 183.107697][ T5112] ? _raw_spin_unlock+0x28/0x50 [ 183.109577][ T5112] ocfs2_start_trans+0x2b9/0x700 [ 183.111486][ T5112] ? ocfs2_setattr+0xcb1/0x1f50 [ 183.113329][ T5112] ? __pfx_ocfs2_start_trans+0x10/0x10 [ 183.115451][ T5112] ocfs2_setattr+0xcb1/0x1f50 [ 183.117300][ T5112] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 183.119649][ T5112] ? __pfx_ocfs2_setattr+0x10/0x10 [ 183.121625][ T5112] ? seqcount_lockdep_reader_access+0x1d7/0x220 [ 183.124171][ T5112] ? ktime_get_coarse_real_ts64+0x10b/0x120 [ 183.126460][ T5112] ? current_time+0x1be/0x2b0 [ 183.128317][ T5112] ? common_perm+0x18d/0x1f0 [ 183.130197][ T5112] ? evm_inode_setattr+0x1b9/0x7d0 [ 183.132329][ T5112] ? security_inode_setattr+0xd7/0x120 [ 183.134540][ T5112] ? __pfx_ocfs2_setattr+0x10/0x10 [ 183.136464][ T5112] notify_change+0xb9d/0xe70 [ 183.138232][ T5112] chmod_common+0x2ab/0x4c0 [ 183.139891][ T5112] ? __pfx_chmod_common+0x10/0x10 [ 183.141787][ T5112] ? kasan_quarantine_put+0xdc/0x230 [ 183.143735][ T5112] ? user_path_at+0x44/0x60 [ 183.145482][ T5112] ? kmem_cache_free+0x145/0x350 [ 183.147319][ T5112] __x64_sys_fchmodat+0x11d/0x1c0 [ 183.149112][ T5112] ? __pfx___x64_sys_fchmodat+0x10/0x10 [ 183.151034][ T5112] ? exc_page_fault+0x590/0x8c0 [ 183.152748][ T5112] ? do_syscall_64+0xb6/0x230 [ 183.154434][ T5112] do_syscall_64+0xf3/0x230 [ 183.155986][ T5112] ? clear_bhb_loop+0x35/0x90 [ 183.157566][ T5112] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 183.159614][ T5112] RIP: 0033:0x7f771fa15659 [ 183.161217][ T5112] 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 [ 183.167554][ T5112] RSP: 002b:00007fff3c6c9048 EFLAGS: 00000246 ORIG_RAX: 000000000000010c [ 183.170578][ T5112] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f771fa15659 [ 183.173423][ T5112] RDX: 00000000000001ff RSI: 0000000020000440 RDI: 00000000ffffff9c [ 183.175612][ T5112] RBP: 0000000000000000 R08: 0000000000000000 R09: 00007fff3c6c9080 [ 183.178293][ T5112] R10: 00007fff3c6c9050 R11: 0000000000000246 R12: 00007fff3c6c9080 [ 183.181183][ T5112] R13: 00007fff3c6c9308 R14: 431bde82d7b634db R15: 00007f771fa5e03b [ 183.184041][ T5112] 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: 01:34:02 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000066 RBX=ffffffff95258d40 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000ae96a50 R8 =ffffffff853f11fb R9 =1ffff110031c6046 R10=dffffc0000000000 R11=ffffffff853f11b0 R12=dffffc0000000000 R13=0000000000000066 R14=0000000000000066 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 0000555578802480 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=0000000000000000 CR3=00000000206d6000 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=0000000000000000 Opmask01=0000000000000000 Opmask02=0000000000000000 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 0000000000000000 0000000000000000 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 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 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM18=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 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