Warning: Permanently added '[localhost]:33566' (ED25519) to the list of known hosts. executing program [ 69.610022][ T5311] loop0: detected capacity change from 0 to 32768 [ 69.666767][ T5311] loop0: detected capacity change from 32768 to 32767 [ 69.681404][ T5311] ERROR: (device loop0): xtSearch: XT_GETPAGE: xtree page corrupt [ 69.681404][ T5311] [ 69.694529][ T5311] ERROR: (device loop0): remounting filesystem as read-only [ 69.702805][ T5311] ERROR: (device loop0): duplicateIXtree: [ 69.702805][ T5311] [ 69.706045][ T5311] [ 69.707001][ T5311] ============================================ [ 69.709263][ T5311] WARNING: possible recursive locking detected [ 69.711647][ T5311] 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 Not tainted [ 69.714995][ T5311] -------------------------------------------- [ 69.717306][ T5311] syz-executor259/5311 is trying to acquire lock: [ 69.719782][ T5311] ffff888036798920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x37c/0x2fb0 [ 69.723522][ T5311] [ 69.723522][ T5311] but task is already holding lock: [ 69.726373][ T5311] ffff888036798920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x1b6/0x1630 [ 69.730213][ T5311] [ 69.730213][ T5311] other info that might help us debug this: [ 69.733436][ T5311] Possible unsafe locking scenario: [ 69.733436][ T5311] [ 69.736413][ T5311] CPU0 [ 69.737715][ T5311] ---- [ 69.739149][ T5311] lock(&(imap->im_aglock[index])); [ 69.741239][ T5311] lock(&(imap->im_aglock[index])); [ 69.743265][ T5311] [ 69.743265][ T5311] *** DEADLOCK *** [ 69.743265][ T5311] [ 69.746320][ T5311] May be due to missing lock nesting notation [ 69.746320][ T5311] [ 69.749286][ T5311] 5 locks held by syz-executor259/5311: [ 69.751404][ T5311] #0: ffff888032f96420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 69.754617][ T5311] #1: ffff88804629b390 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 [ 69.758764][ T5311] #2: ffff888036798920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x1b6/0x1630 [ 69.762351][ T5311] #3: ffff888036798890 (&imap->im_freelock){+.+.}-{3:3}, at: diAllocAG+0x4b7/0x1e50 [ 69.766008][ T5311] #4: ffff88804629a618 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diAllocAG+0x869/0x1e50 [ 69.769666][ T5311] [ 69.769666][ T5311] stack backtrace: [ 69.772118][ T5311] CPU: 0 UID: 0 PID: 5311 Comm: syz-executor259 Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 [ 69.776600][ T5311] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 69.780629][ T5311] Call Trace: [ 69.781873][ T5311] [ 69.783007][ T5311] dump_stack_lvl+0x241/0x360 [ 69.785181][ T5311] ? __pfx_dump_stack_lvl+0x10/0x10 [ 69.787174][ T5311] ? __pfx__printk+0x10/0x10 [ 69.788920][ T5311] ? lockdep_unlock+0x16a/0x300 [ 69.790946][ T5311] print_deadlock_bug+0x483/0x620 [ 69.792945][ T5311] ? validate_chain+0x11e/0x5920 [ 69.794724][ T5311] validate_chain+0x15e2/0x5920 [ 69.796560][ T5311] ? lock_release+0xbf/0xa30 [ 69.798293][ T5311] ? __pfx_lock_acquire+0x10/0x10 [ 69.800139][ T5311] ? deref_stack_reg+0x17c/0x210 [ 69.801981][ T5311] ? __pfx_validate_chain+0x10/0x10 [ 69.803920][ T5311] ? stack_trace_save+0x118/0x1d0 [ 69.805841][ T5311] ? unwind_next_frame+0x18e6/0x22d0 [ 69.807793][ T5311] ? deref_stack_reg+0x17c/0x210 [ 69.809718][ T5311] ? is_bpf_text_address+0x285/0x2a0 [ 69.811657][ T5311] ? is_bpf_text_address+0x26/0x2a0 [ 69.813660][ T5311] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 69.815934][ T5311] ? kernel_text_address+0xa7/0xe0 [ 69.817848][ T5311] ? __kernel_text_address+0xd/0x40 [ 69.819644][ T5311] ? unwind_get_return_address+0x4d/0x90 [ 69.821797][ T5311] ? arch_stack_walk+0xfd/0x150 [ 69.823533][ T5311] ? mark_lock+0x9a/0x360 [ 69.825188][ T5311] __lock_acquire+0x1384/0x2050 [ 69.827038][ T5311] lock_acquire+0x1ed/0x550 [ 69.828811][ T5311] ? diFree+0x37c/0x2fb0 [ 69.830408][ T5311] ? __pfx_lock_acquire+0x10/0x10 [ 69.832327][ T5311] ? __pfx___might_resched+0x10/0x10 [ 69.834387][ T5311] ? validate_chain+0x15c0/0x5920 [ 69.836316][ T5311] __mutex_lock+0x136/0xd70 [ 69.838096][ T5311] ? diFree+0x37c/0x2fb0 [ 69.839791][ T5311] ? __asan_memset+0x23/0x50 [ 69.841617][ T5311] ? truncate_inode_pages_range+0x51f/0xfc0 [ 69.843847][ T5311] ? __pfx_validate_chain+0x10/0x10 [ 69.845614][ T5311] ? diFree+0x37c/0x2fb0 [ 69.847281][ T5311] ? __pfx___mutex_lock+0x10/0x10 [ 69.849220][ T5311] ? __pfx_truncate_inode_pages_range+0x10/0x10 [ 69.851614][ T5311] diFree+0x37c/0x2fb0 [ 69.853227][ T5311] ? __pfx_diFree+0x10/0x10 [ 69.855016][ T5311] ? inode_wait_for_writeback+0x111/0x2a0 [ 69.857220][ T5311] jfs_evict_inode+0x32d/0x440 [ 69.859171][ T5311] ? __pfx_jfs_evict_inode+0x10/0x10 [ 69.861305][ T5311] evict+0x4e8/0x9b0 [ 69.862995][ T5311] ? __pfx_evict+0x10/0x10 [ 69.864760][ T5311] ? iput+0x713/0xa50 [ 69.866377][ T5311] duplicateIXtree+0x3c6/0x550 [ 69.868528][ T5311] ? __pfx_duplicateIXtree+0x10/0x10 [ 69.870652][ T5311] ? __wake_up_common_lock+0x18c/0x1e0 [ 69.872715][ T5311] diAllocAG+0x17dc/0x1e50 [ 69.874387][ T5311] ? __pfx_diAllocAG+0x10/0x10 [ 69.875958][ T5311] ? dbNextAG+0x518/0x630 [ 69.877632][ T5311] diAlloc+0x1d2/0x1630 [ 69.879211][ T5311] ? new_inode+0x1b7/0x1d0 [ 69.880876][ T5311] ialloc+0x8f/0x900 [ 69.882275][ T5311] jfs_mkdir+0x1c5/0xba0 [ 69.883842][ T5311] ? __pfx_jfs_mkdir+0x10/0x10 [ 69.885615][ T5311] ? generic_permission+0x1e0/0x550 [ 69.887594][ T5311] ? bpf_lsm_inode_mkdir+0x9/0x10 [ 69.889482][ T5311] ? security_inode_mkdir+0xbe/0x340 [ 69.891471][ T5311] vfs_mkdir+0x2f9/0x4f0 [ 69.892868][ T5311] do_mkdirat+0x264/0x3a0 [ 69.894488][ T5311] ? __pfx_do_mkdirat+0x10/0x10 [ 69.896301][ T5311] ? getname_flags+0x1e3/0x540 [ 69.898051][ T5311] __x64_sys_mkdirat+0x87/0xa0 [ 69.899867][ T5311] do_syscall_64+0xf3/0x230 [ 69.901541][ T5311] ? clear_bhb_loop+0x35/0x90 [ 69.903355][ T5311] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.905476][ T5311] RIP: 0033:0x7f676bb168f9 [ 69.907134][ T5311] 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.914319][ T5311] RSP: 002b:00007ffdbef69da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 69.917540][ T5311] RAX: ffffffffffffffda RBX: 00007ffdbef69f78 RCX: 00007f676bb168f9 [ 69.920413][ T5311] RDX: 0000000000000000 RSI: 00000000200005c0 RDI: 00000000ffffff9c [ 69.923314][ T5311] RBP: 00007f676bb90610 R08: 00007ffdbef69f78 R09: 00007ffdbef69f78 [ 69.926389][ T5311] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 69.929403][ T5311] R13: 00007ffdbef69f68 R14: 0000000000000001 R15: 0000000000000001 [ 69.932525][ T5311] VM DIAGNOSIS: 13:07:47 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000061 RBX=ffffffff9a71cee0 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000cffe5f0 R8 =ffffffff854b4b4b R9 =1ffff110067b9046 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 0000555584507380 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=000055e63538f628 CR3=0000000040e92000 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=00000000fcfeffd0 Opmask01=0000000000004211 Opmask02=000000000000ffdf Opmask03=0000000000000000 Opmask04=00000000ffffffff Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffe70e51e40 0000003000000010 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 2a2a2a2a2a2a2a2a 2a2a2a2a2a2a2a2a ZMM03=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM04=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffff0000ff000000 0000000000000000 ZMM05=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffffffffffff ffffffffffffffff ZMM06=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffff0000ff000000 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 656c696620732520 6465746165726300 0a73253a47000a73 253d73253a45000a ZMM19=0000000000000000 0000000000000000 0000000000000000 0000000000000000 40494c4305560005 4140514440574600 0a56001f47000a56 001856001f45000a ZMM20=0000000000000000 0000000000000000 0000000000000000 0000000000000000 00000000000000a5 00000000000000e6 00000000000000e1 000000302f716d00 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000055e300646461 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