Warning: Permanently added '[localhost]:43621' (ED25519) to the list of known hosts. executing program [ 69.145312][ T5310] loop0: detected capacity change from 0 to 32768 [ 69.220012][ T5310] loop0: detected capacity change from 32768 to 32767 [ 69.231330][ T5310] ERROR: (device loop0): xtSearch: XT_GETPAGE: xtree page corrupt [ 69.231330][ T5310] [ 69.243320][ T5310] ERROR: (device loop0): remounting filesystem as read-only [ 69.246012][ T5310] ERROR: (device loop0): duplicateIXtree: [ 69.246012][ T5310] [ 69.255858][ T5310] [ 69.256834][ T5310] ============================================ [ 69.259192][ T5310] WARNING: possible recursive locking detected [ 69.261639][ T5310] 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 Not tainted [ 69.265252][ T5310] -------------------------------------------- [ 69.267550][ T5310] syz-executor336/5310 is trying to acquire lock: [ 69.269989][ T5310] ffff8880461d8920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diFree+0x37c/0x2fb0 [ 69.273643][ T5310] [ 69.273643][ T5310] but task is already holding lock: [ 69.276424][ T5310] ffff8880461d8920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x1b6/0x1630 [ 69.279937][ T5310] [ 69.279937][ T5310] other info that might help us debug this: [ 69.282886][ T5310] Possible unsafe locking scenario: [ 69.282886][ T5310] [ 69.285422][ T5310] CPU0 [ 69.286760][ T5310] ---- [ 69.288133][ T5310] lock(&(imap->im_aglock[index])); [ 69.290172][ T5310] lock(&(imap->im_aglock[index])); [ 69.292129][ T5310] [ 69.292129][ T5310] *** DEADLOCK *** [ 69.292129][ T5310] [ 69.295169][ T5310] May be due to missing lock nesting notation [ 69.295169][ T5310] [ 69.298369][ T5310] 5 locks held by syz-executor336/5310: [ 69.300453][ T5310] #0: ffff888041ddc420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 69.303894][ T5310] #1: ffff88804716b390 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: filename_create+0x260/0x540 [ 69.308222][ T5310] #2: ffff8880461d8920 (&(imap->im_aglock[index])){+.+.}-{3:3}, at: diAlloc+0x1b6/0x1630 [ 69.312019][ T5310] #3: ffff8880461d8890 (&imap->im_freelock){+.+.}-{3:3}, at: diAllocAG+0x4b7/0x1e50 [ 69.315494][ T5310] #4: ffff88804716a618 (&jfs_ip->rdwrlock/1){++++}-{3:3}, at: diAllocAG+0x869/0x1e50 [ 69.319158][ T5310] [ 69.319158][ T5310] stack backtrace: [ 69.321466][ T5310] CPU: 0 UID: 0 PID: 5310 Comm: syz-executor336 Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 [ 69.325512][ T5310] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 69.329527][ T5310] Call Trace: [ 69.330825][ T5310] [ 69.331966][ T5310] dump_stack_lvl+0x241/0x360 [ 69.333880][ T5310] ? __pfx_dump_stack_lvl+0x10/0x10 [ 69.335888][ T5310] ? __pfx__printk+0x10/0x10 [ 69.337694][ T5310] ? lockdep_unlock+0x16a/0x300 [ 69.339592][ T5310] print_deadlock_bug+0x483/0x620 [ 69.341530][ T5310] ? validate_chain+0x11e/0x5920 [ 69.343398][ T5310] validate_chain+0x15e2/0x5920 [ 69.345320][ T5310] ? lock_release+0xbf/0xa30 [ 69.347143][ T5310] ? __pfx_lock_acquire+0x10/0x10 [ 69.349087][ T5310] ? deref_stack_reg+0x17c/0x210 [ 69.350941][ T5310] ? __pfx_validate_chain+0x10/0x10 [ 69.352869][ T5310] ? validate_chain+0x11e/0x5920 [ 69.354751][ T5310] ? unwind_next_frame+0x18e6/0x22d0 [ 69.356792][ T5310] ? deref_stack_reg+0x17c/0x210 [ 69.358694][ T5310] ? is_bpf_text_address+0x285/0x2a0 [ 69.360680][ T5310] ? is_bpf_text_address+0x26/0x2a0 [ 69.362623][ T5310] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 69.364919][ T5310] ? kernel_text_address+0xa7/0xe0 [ 69.366885][ T5310] ? __pfx_validate_chain+0x10/0x10 [ 69.368780][ T5310] ? unwind_get_return_address+0x4d/0x90 [ 69.370832][ T5310] ? arch_stack_walk+0xfd/0x150 [ 69.372579][ T5310] ? mark_lock+0x9a/0x360 [ 69.374115][ T5310] __lock_acquire+0x1384/0x2050 [ 69.375901][ T5310] lock_acquire+0x1ed/0x550 [ 69.377609][ T5310] ? diFree+0x37c/0x2fb0 [ 69.379211][ T5310] ? __pfx_lock_acquire+0x10/0x10 [ 69.381053][ T5310] ? __pfx___might_resched+0x10/0x10 [ 69.383009][ T5310] __mutex_lock+0x136/0xd70 [ 69.384682][ T5310] ? diFree+0x37c/0x2fb0 [ 69.386370][ T5310] ? __asan_memset+0x23/0x50 [ 69.388145][ T5310] ? truncate_inode_pages_range+0x51f/0xfc0 [ 69.390369][ T5310] ? diFree+0x37c/0x2fb0 [ 69.391941][ T5310] ? __pfx___mutex_lock+0x10/0x10 [ 69.393742][ T5310] ? __pfx_truncate_inode_pages_range+0x10/0x10 [ 69.396049][ T5310] diFree+0x37c/0x2fb0 [ 69.397538][ T5310] ? __pfx_diFree+0x10/0x10 [ 69.399242][ T5310] ? inode_wait_for_writeback+0x111/0x2a0 [ 69.401306][ T5310] jfs_evict_inode+0x32d/0x440 [ 69.403104][ T5310] ? __pfx_jfs_evict_inode+0x10/0x10 [ 69.405043][ T5310] evict+0x4e8/0x9b0 [ 69.406479][ T5310] ? __pfx_evict+0x10/0x10 [ 69.408135][ T5310] ? iput+0x713/0xa50 [ 69.409550][ T5310] duplicateIXtree+0x3c6/0x550 [ 69.411217][ T5310] ? __pfx_duplicateIXtree+0x10/0x10 [ 69.413173][ T5310] ? __wake_up_common_lock+0x18c/0x1e0 [ 69.415161][ T5310] diAllocAG+0x17dc/0x1e50 [ 69.416835][ T5310] ? __pfx_diAllocAG+0x10/0x10 [ 69.418650][ T5310] ? dbNextAG+0x518/0x630 [ 69.420276][ T5310] diAlloc+0x1d2/0x1630 [ 69.421838][ T5310] ? new_inode+0x1b7/0x1d0 [ 69.423480][ T5310] ialloc+0x8f/0x900 [ 69.424987][ T5310] jfs_mkdir+0x1c5/0xba0 [ 69.426610][ T5310] ? __pfx_jfs_mkdir+0x10/0x10 [ 69.428366][ T5310] ? generic_permission+0x1e0/0x550 [ 69.430295][ T5310] ? bpf_lsm_inode_mkdir+0x9/0x10 [ 69.432039][ T5310] ? security_inode_mkdir+0xbe/0x340 [ 69.434020][ T5310] vfs_mkdir+0x2f9/0x4f0 [ 69.435544][ T5310] do_mkdirat+0x264/0x3a0 [ 69.437147][ T5310] ? __pfx_do_mkdirat+0x10/0x10 [ 69.439112][ T5310] ? getname_flags+0x1e3/0x540 [ 69.440871][ T5310] __x64_sys_mkdirat+0x87/0xa0 [ 69.442696][ T5310] do_syscall_64+0xf3/0x230 [ 69.444541][ T5310] ? clear_bhb_loop+0x35/0x90 [ 69.446219][ T5310] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 69.448441][ T5310] RIP: 0033:0x7f86194b1879 [ 69.450170][ T5310] 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.457388][ T5310] RSP: 002b:00007fff52815f88 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 [ 69.460530][ T5310] RAX: ffffffffffffffda RBX: 00007fff52816158 RCX: 00007f86194b1879 [ 69.463590][ T5310] RDX: 0000000000000000 RSI: 00000000200005c0 RDI: 00000000ffffff9c [ 69.466666][ T5310] RBP: 00007f861952b610 R08: 00007fff52816158 R09: 00007fff52816158 [ 69.469839][ T5310] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 [ 69.472866][ T5310] R13: 00007fff52816148 R14: 0000000000000001 R15: 0000000000000001 [ 69.475816][ T5310] VM DIAGNOSIS: 12:40:03 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000030 RBX=ffffffff9a71cee0 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc9000ce9e5f0 R8 =ffffffff854b4b4b R9 =1ffff11003d90046 R10=dffffc0000000000 R11=ffffffff854b4b00 R12=dffffc0000000000 R13=ffffffff9a417efd R14=0000000000000030 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 000055555664f380 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=00007ffe05640de8 CR3=0000000043382000 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=00000000fefeffd0 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 00007ffe05643290 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 3c5d7207d59f9ea4 000055eadeae8bbb 00000000000000c1 0000000000000000 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 000055eadeacea9d 0000000000000021 0000000000000000 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3a2433273f397b27 697a787c69303b7e 69305f474f5b647c 69303a2433273f39 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3d3a3a263e3d3a3a 26383d3a3a263a3d 3a3a264c3c3a3a26 323c3a3a264e393a 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