Warning: Permanently added '[localhost]:58779' (ED25519) to the list of known hosts. executing program [ 77.784150][ T5307] loop0: detected capacity change from 0 to 1024 [ 77.846615][ T5306] [ 77.847816][ T5306] ============================================ [ 77.850604][ T5306] WARNING: possible recursive locking detected [ 77.853141][ T5306] 6.15.0-rc4-syzkaller-00052-g4f79eaa2ceac #0 Not tainted [ 77.856868][ T5306] -------------------------------------------- [ 77.859423][ T5306] syz-executor157/5306 is trying to acquire lock: [ 77.862066][ T5306] ffff88803edf9548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{4:4}, at: hfsplus_get_block+0x39e/0x1530 [ 77.867394][ T5306] [ 77.867394][ T5306] but task is already holding lock: [ 77.870488][ T5306] ffff88803edfb708 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{4:4}, at: hfsplus_file_truncate+0x294/0xb40 [ 77.875115][ T5306] [ 77.875115][ T5306] other info that might help us debug this: [ 77.878484][ T5306] Possible unsafe locking scenario: [ 77.878484][ T5306] [ 77.881256][ T5306] CPU0 [ 77.882559][ T5306] ---- [ 77.883886][ T5306] lock(&HFSPLUS_I(inode)->extents_lock); [ 77.886148][ T5306] lock(&HFSPLUS_I(inode)->extents_lock); [ 77.888436][ T5306] [ 77.888436][ T5306] *** DEADLOCK *** [ 77.888436][ T5306] [ 77.891971][ T5306] May be due to missing lock nesting notation [ 77.891971][ T5306] [ 77.895452][ T5306] 6 locks held by syz-executor157/5306: [ 77.897568][ T5306] #0: ffff88801d600420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x41/0x90 [ 77.901164][ T5306] #1: ffff88803edfb238 (&type->i_mutex_dir_key#6/1){+.+.}-{4:4}, at: do_unlinkat+0x1bf/0x560 [ 77.905085][ T5306] #2: ffff88803edfb8f8 (&sb->s_type->i_mutex_key#15){+.+.}-{4:4}, at: vfs_unlink+0xf2/0x650 [ 77.908785][ T5306] #3: ffff8880425ec198 (&sbi->vh_mutex){+.+.}-{4:4}, at: hfsplus_unlink+0x160/0x730 [ 77.912468][ T5306] #4: ffff88803edfb708 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{4:4}, at: hfsplus_file_truncate+0x294/0xb40 [ 77.917326][ T5306] #5: ffff8880425ec0f8 (&sbi->alloc_mutex){+.+.}-{4:4}, at: hfsplus_block_free+0xc3/0x4c0 [ 77.921433][ T5306] [ 77.921433][ T5306] stack backtrace: [ 77.923861][ T5306] CPU: 0 UID: 0 PID: 5306 Comm: syz-executor157 Not tainted 6.15.0-rc4-syzkaller-00052-g4f79eaa2ceac #0 PREEMPT(full) [ 77.923874][ T5306] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 77.923881][ T5306] Call Trace: [ 77.923887][ T5306] [ 77.923892][ T5306] dump_stack_lvl+0x189/0x250 [ 77.923909][ T5306] ? __pfx_dump_stack_lvl+0x10/0x10 [ 77.923922][ T5306] ? __pfx__printk+0x10/0x10 [ 77.923932][ T5306] ? print_lock_name+0xde/0x100 [ 77.923946][ T5306] print_deadlock_bug+0x28b/0x2a0 [ 77.923957][ T5306] validate_chain+0x1a3f/0x2140 [ 77.923966][ T5306] ? is_bpf_text_address+0x292/0x2b0 [ 77.923976][ T5306] ? look_up_lock_class+0x74/0x170 [ 77.924034][ T5306] ? register_lock_class+0x51/0x320 [ 77.924047][ T5306] __lock_acquire+0xaac/0xd20 [ 77.924061][ T5306] ? hfsplus_get_block+0x39e/0x1530 [ 77.924072][ T5306] lock_acquire+0x120/0x360 [ 77.924083][ T5306] ? hfsplus_get_block+0x39e/0x1530 [ 77.924095][ T5306] ? stack_trace_save+0x9c/0xe0 [ 77.924107][ T5306] __mutex_lock+0x182/0xe80 [ 77.924118][ T5306] ? hfsplus_get_block+0x39e/0x1530 [ 77.924131][ T5306] ? lockdep_unlock+0x89/0x120 [ 77.924142][ T5306] ? validate_chain+0x897/0x2140 [ 77.924150][ T5306] ? hfsplus_get_block+0x39e/0x1530 [ 77.924161][ T5306] ? __pfx___mutex_lock+0x10/0x10 [ 77.924174][ T5306] hfsplus_get_block+0x39e/0x1530 [ 77.924190][ T5306] ? __pfx_hfsplus_get_block+0x10/0x10 [ 77.924202][ T5306] ? do_raw_spin_unlock+0x4d/0x240 [ 77.924218][ T5306] ? _raw_spin_unlock+0x28/0x50 [ 77.924229][ T5306] block_read_full_folio+0x29c/0x830 [ 77.924240][ T5306] ? __pfx_hfsplus_get_block+0x10/0x10 [ 77.924248][ T5306] filemap_read_folio+0x114/0x380 [ 77.924255][ T5306] ? __pfx_hfsplus_read_folio+0x10/0x10 [ 77.924262][ T5306] ? __pfx_filemap_read_folio+0x10/0x10 [ 77.924268][ T5306] ? filemap_add_folio+0x1af/0x270 [ 77.924278][ T5306] do_read_cache_folio+0x354/0x590 [ 77.924287][ T5306] ? __pfx_hfsplus_read_folio+0x10/0x10 [ 77.924299][ T5306] read_cache_page+0x5d/0x170 [ 77.924309][ T5306] hfsplus_block_free+0x12c/0x4c0 [ 77.924321][ T5306] hfsplus_free_extents+0x176/0xae0 [ 77.924334][ T5306] hfsplus_file_truncate+0x736/0xb40 [ 77.924349][ T5306] ? __pfx_hfsplus_file_truncate+0x10/0x10 [ 77.924359][ T5306] ? tomoyo_path_perm+0x1e3/0x4b0 [ 77.924375][ T5306] ? __pfx___mutex_lock+0x10/0x10 [ 77.924389][ T5306] hfsplus_delete_inode+0x180/0x230 [ 77.924401][ T5306] hfsplus_unlink+0x4e3/0x730 [ 77.924415][ T5306] ? vfs_unlink+0xf2/0x650 [ 77.924426][ T5306] ? __pfx_hfsplus_unlink+0x10/0x10 [ 77.924439][ T5306] ? __pfx_down_write+0x10/0x10 [ 77.924449][ T5306] ? bpf_lsm_inode_unlink+0x9/0x20 [ 77.924460][ T5306] vfs_unlink+0x391/0x650 [ 77.924470][ T5306] do_unlinkat+0x350/0x560 [ 77.924481][ T5306] ? __pfx_do_unlinkat+0x10/0x10 [ 77.924491][ T5306] ? strncpy_from_user+0x150/0x290 [ 77.924506][ T5306] ? getname_flags+0x1e5/0x540 [ 77.924517][ T5306] __x64_sys_unlink+0x47/0x50 [ 77.924527][ T5306] do_syscall_64+0xf6/0x210 [ 77.924539][ T5306] ? clear_bhb_loop+0x45/0xa0 [ 77.924549][ T5306] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 77.924561][ T5306] RIP: 0033:0x7f7399c43b57 [ 77.924572][ T5306] Code: 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 57 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 [ 77.924579][ T5306] RSP: 002b:00007ffe0831eff8 EFLAGS: 00000206 ORIG_RAX: 0000000000000057 [ 77.924588][ T5306] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f7399c43b57 [ 77.924595][ T5306] RDX: 00007ffe0831f020 RSI: 00007ffe0831f0b0 RDI: 00007ffe0831f0b0 [ 77.924603][ T5306] RBP: 00007ffe0831f0b0 R08: 0000000000000000 R09: 0000000000000000 [ 77.924614][ T5306] R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe083201a0 [ 77.924620][ T5306] R13: 000055557b27f740 R14: 0000000000000001 R15: 431bde82d7b634db [ 77.924629][ T5306] [ 78.082989][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.085363][ T5306] hfsplus: can't free extent [ 78.088622][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.091341][ T5306] hfsplus: can't free extent [ 78.094906][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.097927][ T5306] hfsplus: can't free extent executing program [ 78.123436][ T5309] loop0: detected capacity change from 0 to 1024 [ 78.154688][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.165212][ T5306] hfsplus: can't free extent [ 78.168372][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.171032][ T5306] hfsplus: can't free extent [ 78.173871][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.176500][ T5306] hfsplus: can't free extent executing program [ 78.202805][ T5310] loop0: detected capacity change from 0 to 1024 [ 78.228489][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.231199][ T5306] hfsplus: can't free extent [ 78.233588][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.236322][ T5306] hfsplus: can't free extent [ 78.244095][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.246691][ T5306] hfsplus: can't free extent [ 78.276829][ T5311] loop0: detected capacity change from 0 to 1024 executing program [ 78.308023][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.310733][ T5306] hfsplus: can't free extent [ 78.313130][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.315743][ T5306] hfsplus: can't free extent [ 78.322634][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.325233][ T5306] hfsplus: can't free extent executing program [ 78.361994][ T5312] loop0: detected capacity change from 0 to 1024 [ 78.403330][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.405914][ T5306] hfsplus: can't free extent [ 78.409742][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.412266][ T5306] hfsplus: can't free extent [ 78.415010][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.418190][ T5306] hfsplus: can't free extent executing program [ 78.450916][ T5313] loop0: detected capacity change from 0 to 1024 [ 78.466090][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.469053][ T5306] hfsplus: can't free extent [ 78.471390][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.473918][ T5306] hfsplus: can't free extent [ 78.476714][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.480056][ T5306] hfsplus: can't free extent executing program [ 78.495161][ T5314] loop0: detected capacity change from 0 to 1024 [ 78.529765][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.532230][ T5306] hfsplus: can't free extent [ 78.534347][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.536812][ T5306] hfsplus: can't free extent [ 78.547997][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.550539][ T5306] hfsplus: can't free extent executing program [ 78.585936][ T5315] loop0: detected capacity change from 0 to 1024 [ 78.611091][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.613585][ T5306] hfsplus: can't free extent [ 78.615857][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.628017][ T5306] hfsplus: can't free extent [ 78.630824][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.633439][ T5306] hfsplus: can't free extent [ 78.651438][ T5316] loop0: detected capacity change from 0 to 1024 executing program [ 78.683069][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.685704][ T5306] hfsplus: can't free extent [ 78.690696][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.693275][ T5306] hfsplus: can't free extent [ 78.695988][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.699291][ T5306] hfsplus: can't free extent executing program [ 78.721151][ T5317] loop0: detected capacity change from 0 to 1024 [ 78.749419][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.752077][ T5306] hfsplus: can't free extent [ 78.754704][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.762872][ T5306] hfsplus: can't free extent [ 78.765734][ T5306] hfsplus: unable to mark blocks free: error -5 [ 78.768827][ T5306] hfsplus: can't free extent [ 86.637846][ T57] cfg80211: failed to load regulatory.db VM DIAGNOSIS: 17:37:59 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000073 RBX=0000000000000073 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=00000000000003f8 RSP=ffffc9000d456bd0 R8 =ffff888000b80237 R9 =1ffff11000170046 R10=dffffc0000000000 R11=ffffffff853d83b0 R12=dffffc0000000000 R13=ffffffff99846c63 R14=ffffffff99b4bbc0 R15=0000000000000000 RIP=ffffffff853d842c 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 000055557b26e380 ffffffff 00c00000 GS =0000 ffff88808d6cc000 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=000055557b287778 CR3=000000004111f000 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=00000000ffffbfff 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 00007ffe47d683e0 0000003000000018 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffe47d67f70 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 1541c19655a21e82 0000556c00bf1e9d 00000000000000a1 0000000000000000 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 00005569562bab70 00007f0bb07f1b40 0000000000000051 0000000000007374 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 2648383a3a26483b 3a0a00307f617930 382433273f397b27 697a787c69303b7e ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 3a323a3a264c3d3a 3a26333d3a3a263c 3d3a3a263f3d3a3a 263e3d3a3a26383d 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