Warning: Permanently added '[localhost]:38788' (ED25519) to the list of known hosts. executing program [ 68.953701][ T5309] loop0: detected capacity change from 0 to 32768 [ 69.031240][ T5309] loop0: detected capacity change from 32768 to 32767 [ 69.043357][ T5309] ERROR: (device loop0): xtSearch: XT_GETPAGE: xtree page corrupt [ 69.043357][ T5309] [ 69.055728][ T5309] ERROR: (device loop0): remounting filesystem as read-only [ 69.058509][ T5309] ERROR: (device loop0): duplicateIXtree: [ 69.058509][ T5309] [ 69.072033][ T5309] [ 69.072995][ T5309] ============================================ [ 69.075451][ T5309] WARNING: possible recursive locking detected [ 69.077765][ T5309] 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 Not tainted [ 69.081366][ T5309] -------------------------------------------- [ 69.083442][ T5309] syz-executor301/5309 is trying to acquire lock: [ 69.085511][ T5309] ffff888044548920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x37c/0x2fb0 [ 69.088716][ T5309] [ 69.088716][ T5309] but task is already holding lock: [ 69.091207][ T5309] ffff888044548920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x1b6/0x1630 [ 69.094436][ T5309] [ 69.094436][ T5309] other info that might help us debug this: [ 69.097005][ T5309] Possible unsafe locking scenario: [ 69.097005][ T5309] [ 69.099427][ T5309] CPU0 [ 69.100609][ T5309] ---- [ 69.101831][ T5309] lock(&(imap->im_aglock[index])); [ 69.103844][ T5309] lock(&(imap->im_aglock[index])); [ 69.105877][ T5309] [ 69.105877][ T5309] *** DEADLOCK *** [ 69.105877][ T5309] [ 69.108974][ T5309] May be due to missing lock nesting notation [ 69.108974][ T5309] [ 69.112054][ T5309] 5 locks held by syz-executor301/5309: [ 69.114152][ T5309] #0: ffff8880422a4420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 69.117694][ T5309] #1: ffff88804755b390 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 [ 69.121657][ T5309] #2: ffff888044548920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x1b6/0x1630 [ 69.125364][ T5309] #3: ffff888044548890 (&imap->im_freelock){+.+.}-{3:3}, at: diAllocAG+0x4b7/0x1e50 [ 69.128789][ T5309] #4: ffff88804755a618 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diAllocAG+0x869/0x1e50 [ 69.132040][ T5309] [ 69.132040][ T5309] stack backtrace: [ 69.134060][ T5309] CPU: 0 UID: 0 PID: 5309 Comm: syz-executor301 Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 [ 69.137718][ T5309] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 69.141242][ T5309] Call Trace: [ 69.142478][ T5309] [ 69.143605][ T5309] dump_stack_lvl+0x241/0x360 [ 69.145462][ T5309] ? __pfx_dump_stack_lvl+0x10/0x10 [ 69.147466][ T5309] ? __pfx__printk+0x10/0x10 [ 69.149255][ T5309] ? lockdep_unlock+0x16a/0x300 [ 69.151063][ T5309] print_deadlock_bug+0x483/0x620 [ 69.152989][ T5309] ? validate_chain+0x11e/0x5920 [ 69.154926][ T5309] validate_chain+0x15e2/0x5920 [ 69.156705][ T5309] ? lock_release+0xbf/0xa30 [ 69.158402][ T5309] ? __pfx_lock_acquire+0x10/0x10 [ 69.160255][ T5309] ? deref_stack_reg+0x17c/0x210 [ 69.162067][ T5309] ? __pfx_validate_chain+0x10/0x10 [ 69.164058][ T5309] ? stack_trace_save+0x118/0x1d0 [ 69.165951][ T5309] ? unwind_next_frame+0x18e6/0x22d0 [ 69.167911][ T5309] ? deref_stack_reg+0x17c/0x210 [ 69.169675][ T5309] ? is_bpf_text_address+0x285/0x2a0 [ 69.171609][ T5309] ? is_bpf_text_address+0x26/0x2a0 [ 69.173556][ T5309] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 69.175932][ T5309] ? kernel_text_address+0xa7/0xe0 [ 69.177950][ T5309] ? __kernel_text_address+0xd/0x40 [ 69.180066][ T5309] ? unwind_get_return_address+0x4d/0x90 [ 69.182272][ T5309] ? arch_stack_walk+0xfd/0x150 [ 69.184123][ T5309] ? mark_lock+0x9a/0x360 [ 69.185851][ T5309] __lock_acquire+0x1384/0x2050 [ 69.187588][ T5309] lock_acquire+0x1ed/0x550 [ 69.189376][ T5309] ? diFree+0x37c/0x2fb0 [ 69.190977][ T5309] ? __pfx_lock_acquire+0x10/0x10 [ 69.192970][ T5309] ? __pfx___might_resched+0x10/0x10 [ 69.195014][ T5309] ? validate_chain+0x15c0/0x5920 [ 69.196944][ T5309] __mutex_lock+0x136/0xd70 [ 69.198659][ T5309] ? diFree+0x37c/0x2fb0 [ 69.200185][ T5309] ? __asan_memset+0x23/0x50 [ 69.201863][ T5309] ? truncate_inode_pages_range+0x51f/0xfc0 [ 69.204021][ T5309] ? __pfx_validate_chain+0x10/0x10 [ 69.206104][ T5309] ? diFree+0x37c/0x2fb0 [ 69.207736][ T5309] ? __pfx___mutex_lock+0x10/0x10 [ 69.209560][ T5309] ? __pfx_truncate_inode_pages_range+0x10/0x10 [ 69.211846][ T5309] diFree+0x37c/0x2fb0 [ 69.213435][ T5309] ? __pfx_diFree+0x10/0x10 [ 69.215091][ T5309] ? inode_wait_for_writeback+0x111/0x2a0 [ 69.217267][ T5309] jfs_evict_inode+0x32d/0x440 [ 69.219042][ T5309] ? __pfx_jfs_evict_inode+0x10/0x10 [ 69.221076][ T5309] evict+0x4e8/0x9b0 [ 69.222560][ T5309] ? __pfx_evict+0x10/0x10 [ 69.224190][ T5309] ? iput+0x713/0xa50 [ 69.225692][ T5309] duplicateIXtree+0x3c6/0x550 [ 69.227474][ T5309] ? __pfx_duplicateIXtree+0x10/0x10 [ 69.229577][ T5309] ? __wake_up_common_lock+0x18c/0x1e0 [ 69.231725][ T5309] diAllocAG+0x17dc/0x1e50 [ 69.233405][ T5309] ? __pfx_diAllocAG+0x10/0x10 [ 69.235225][ T5309] ? dbNextAG+0x518/0x630 [ 69.236824][ T5309] diAlloc+0x1d2/0x1630 [ 69.238425][ T5309] ? new_inode+0x1b7/0x1d0 [ 69.240106][ T5309] ialloc+0x8f/0x900 [ 69.241631][ T5309] jfs_mkdir+0x1c5/0xba0 [ 69.243198][ T5309] ? __pfx_jfs_mkdir+0x10/0x10 [ 69.245028][ T5309] ? generic_permission+0x1e0/0x550 [ 69.247037][ T5309] ? bpf_lsm_inode_mkdir+0x9/0x10 [ 69.248906][ T5309] ? security_inode_mkdir+0xbe/0x340 [ 69.250879][ T5309] vfs_mkdir+0x2f9/0x4f0 [ 69.252518][ T5309] do_mkdirat+0x264/0x3a0 [ 69.254140][ T5309] ? __pfx_do_mkdirat+0x10/0x10 [ 69.255968][ T5309] ? getname_flags+0x1e3/0x540 [ 69.257764][ T5309] __x64_sys_mkdirat+0x87/0xa0 [ 69.259548][ T5309] do_syscall_64+0xf3/0x230 [ 69.261283][ T5309] ? clear_bhb_loop+0x35/0x90 [ 69.263122][ T5309] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.265413][ T5309] RIP: 0033:0x7fc96b45f879 [ 69.267129][ T5309] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 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 [ 69.274629][ T5309] RSP: 002b:00007ffca87793b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 69.278039][ T5309] RAX: ffffffffffffffda RBX: 00007ffca8779588 RCX: 00007fc96b45f879 [ 69.281489][ T5309] RDX: 0000000000000000 RSI: 00000000200005c0 RDI: 00000000ffffff9c [ 69.284938][ T5309] RBP: 00007fc96b4d9610 R08: 00007ffca8779588 R09: 00007ffca8779588 [ 69.288088][ T5309] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 69.290983][ T5309] R13: 00007ffca8779578 R14: 0000000000000001 R15: 0000000000000001 [ 69.294049][ T5309] VM DIAGNOSIS: 13:32:36 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000061 RBX=ffffffff9a71cee0 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000cef65f0 R8 =ffffffff854b4b4b R9 =1ffff110067a2046 R10=dffffc0000000000 R11=ffffffff854b4b00 R12=dffffc0000000000 R13=ffffffff9a417f07 R14=0000000000000061 R15=00000000000003f8 RIP=ffffffff854b4b7e 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 000055555a0f7380 ffffffff 00c00000 GS =0000 ffff88801fc00000 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=00005574ee31bb80 CR3=000000004323a000 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=0000000044000001 Opmask01=0000000000000000 Opmask02=000000007ffeffff Opmask03=0000000000000000 Opmask04=00000000ffffffff Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 4b5f5455504e495f 4449006b636f6c62 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fffb06d5420 0000003000000018 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007fffb06d4db0 0000003000000010 ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000000ff00000000 00ff000000000000 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00ff000000000000 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 6d25203a7325206b 6e696c6d79732065 7461657263206f74 2064656c69614600 ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 4800051f5600054e 4b4c49485c560540 5144405746054a51 054140494c444600 ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 e78204d21b1881b5 00005571b9622c1f 00000000000000c1 0000000000000000 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 44455a494c414954 494e495f43455355 0000000000000021 0000000000007374 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 4943213f395b2249 5a6e786b6e646b7e 59647a305f474f5b 647c79303a243a78 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2648383a3a26483b 3a0a00307f617930 3a2433273f397b27 697a787c69303b7e ZMM25=0000000000000000 0000000000000000 0000000000000000 0000000000000000 692054524f50202c 2064696c61696d20 0070253a20252054 524f504d49005452 ZMM26=0000000000000000 0000000000000000 0000000000000000 0000000000000000 692020520050202c 2025204f504d4900 0061253a20252000 2527204d49005452 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