Warning: Permanently added '[localhost]:63869' (ED25519) to the list of known hosts. [ 95.005155][ T5105] loop0: detected capacity change from 0 to 1024 executing program [ 95.080203][ T5105] hfsplus: invalid extended attribute record [ 95.083394][ T5105] [ 95.084369][ T5105] ============================================ [ 95.086644][ T5105] WARNING: possible recursive locking detected [ 95.088957][ T5105] 6.11.0-rc7-syzkaller-00020-g8d8d276ba2fb #0 Not tainted [ 95.092564][ T5105] -------------------------------------------- [ 95.094808][ T5105] syz-executor346/5105 is trying to acquire lock: [ 95.097197][ T5105] ffff88801276d548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x383/0x14f0 [ 95.101507][ T5105] [ 95.101507][ T5105] but task is already holding lock: [ 95.104360][ T5105] ffff88801276e988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x30a/0xc70 [ 95.108741][ T5105] [ 95.108741][ T5105] other info that might help us debug this: [ 95.111936][ T5105] Possible unsafe locking scenario: [ 95.111936][ T5105] [ 95.114779][ T5105] CPU0 [ 95.115968][ T5105] ---- [ 95.117268][ T5105] lock(&HFSPLUS_I(inode)->extents_lock); [ 95.119547][ T5105] lock(&HFSPLUS_I(inode)->extents_lock); [ 95.121738][ T5105] [ 95.121738][ T5105] *** DEADLOCK *** [ 95.121738][ T5105] [ 95.124644][ T5105] May be due to missing lock nesting notation [ 95.124644][ T5105] [ 95.127681][ T5105] 6 locks held by syz-executor346/5105: [ 95.129667][ T5105] #0: ffff888035a52420 (sb_writers#9){.+.+}-{0:0}, at: mnt_want_write+0x3f/0x90 [ 95.132956][ T5105] #1: ffff88801276ddf8 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_unlinkat+0x26a/0x830 [ 95.136492][ T5105] #2: ffff88801276eb78 (&sb->s_type->i_mutex_key#15){+.+.}-{3:3}, at: vfs_unlink+0xe4/0x650 [ 95.140022][ T5105] #3: ffff88801ab44198 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_unlink+0x161/0x790 [ 95.143471][ T5105] #4: ffff88801276e988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x30a/0xc70 [ 95.147827][ T5105] #5: ffff88801ab440f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xbb/0x4e0 [ 95.151545][ T5105] [ 95.151545][ T5105] stack backtrace: [ 95.153712][ T5105] CPU: 0 UID: 0 PID: 5105 Comm: syz-executor346 Not tainted 6.11.0-rc7-syzkaller-00020-g8d8d276ba2fb #0 [ 95.157796][ T5105] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 [ 95.161770][ T5105] Call Trace: [ 95.163015][ T5105] [ 95.164140][ T5105] dump_stack_lvl+0x241/0x360 [ 95.165974][ T5105] ? __pfx_dump_stack_lvl+0x10/0x10 [ 95.167909][ T5105] ? print_deadlock_bug+0x479/0x620 [ 95.169850][ T5105] validate_chain+0x15d3/0x5900 [ 95.171660][ T5105] ? stack_trace_save+0x118/0x1d0 [ 95.173574][ T5105] ? __pfx_stack_trace_save+0x10/0x10 [ 95.175533][ T5105] ? check_noncircular+0x259/0x4a0 [ 95.177466][ T5105] ? __pfx_validate_chain+0x10/0x10 [ 95.179279][ T5105] ? __pfx_check_noncircular+0x10/0x10 [ 95.181074][ T5105] ? lockdep_unlock+0x16a/0x300 [ 95.182657][ T5105] ? __pfx_lockdep_unlock+0x10/0x10 [ 95.184417][ T5105] ? add_lock_to_list+0x1de/0x2e0 [ 95.186215][ T5105] ? look_up_lock_class+0x77/0x160 [ 95.188146][ T5105] ? register_lock_class+0x102/0x980 [ 95.190066][ T5105] ? validate_chain+0x15b1/0x5900 [ 95.191935][ T5105] ? is_bpf_text_address+0x26/0x2a0 [ 95.193916][ T5105] ? __pfx_register_lock_class+0x10/0x10 [ 95.196078][ T5105] ? mark_lock+0x9a/0x350 [ 95.197779][ T5105] __lock_acquire+0x137a/0x2040 [ 95.199620][ T5105] lock_acquire+0x1ed/0x550 [ 95.201387][ T5105] ? hfsplus_get_block+0x383/0x14f0 [ 95.203341][ T5105] ? __pfx_lock_acquire+0x10/0x10 [ 95.205190][ T5105] ? __pfx___might_resched+0x10/0x10 [ 95.207228][ T5105] ? create_empty_buffers+0x3a/0x740 [ 95.209135][ T5105] ? __pfx_register_lock_class+0x10/0x10 [ 95.211119][ T5105] ? do_read_cache_page+0x30/0x200 [ 95.213152][ T5105] ? hfsplus_free_extents+0x17a/0xae0 [ 95.215028][ T5105] ? hfsplus_file_truncate+0x86c/0xc70 [ 95.216769][ T5105] __mutex_lock+0x136/0xd70 [ 95.218368][ T5105] ? hfsplus_get_block+0x383/0x14f0 [ 95.220295][ T5105] ? hfsplus_get_block+0x383/0x14f0 [ 95.222167][ T5105] ? __pfx___mutex_lock+0x10/0x10 [ 95.223788][ T5105] hfsplus_get_block+0x383/0x14f0 [ 95.225582][ T5105] ? __pfx_hfsplus_get_block+0x10/0x10 [ 95.227500][ T5105] ? _raw_spin_unlock+0x28/0x50 [ 95.229253][ T5105] ? create_empty_buffers+0x53e/0x740 [ 95.231211][ T5105] block_read_full_folio+0x418/0xcd0 [ 95.233125][ T5105] ? __pfx_hfsplus_get_block+0x10/0x10 [ 95.235069][ T5105] ? __pfx_block_read_full_folio+0x10/0x10 [ 95.237028][ T5105] ? __pfx_lru_add_fn+0x10/0x10 [ 95.238771][ T5105] ? folio_add_lru+0x357/0xd70 [ 95.240513][ T5105] ? folio_add_lru+0x58f/0xd70 [ 95.242263][ T5105] filemap_read_folio+0x1a0/0x790 [ 95.244025][ T5105] ? __pfx_hfsplus_read_folio+0x10/0x10 [ 95.245985][ T5105] ? __pfx_filemap_read_folio+0x10/0x10 [ 95.247923][ T5105] ? __filemap_get_folio+0x984/0xc10 [ 95.249844][ T5105] ? hfsplus_block_free+0xbb/0x4e0 [ 95.251791][ T5105] do_read_cache_folio+0x134/0x820 [ 95.253737][ T5105] ? __pfx_hfsplus_read_folio+0x10/0x10 [ 95.255787][ T5105] do_read_cache_page+0x30/0x200 [ 95.257611][ T5105] hfsplus_block_free+0x128/0x4e0 [ 95.259225][ T5105] ? hfsplus_find_init+0x85/0x1c0 [ 95.260928][ T5105] hfsplus_free_extents+0x17a/0xae0 [ 95.262985][ T5105] hfsplus_file_truncate+0x86c/0xc70 [ 95.264910][ T5105] ? __pfx_hfsplus_file_truncate+0x10/0x10 [ 95.267054][ T5105] ? hfsplus_unlink+0x161/0x790 [ 95.268836][ T5105] hfsplus_delete_inode+0x174/0x220 [ 95.270648][ T5105] hfsplus_unlink+0x512/0x790 [ 95.272302][ T5105] ? generic_permission+0x1e0/0x550 [ 95.274145][ T5105] ? __pfx_hfsplus_unlink+0x10/0x10 [ 95.276065][ T5105] ? down_write+0x18c/0x220 [ 95.277847][ T5105] ? bpf_lsm_inode_unlink+0x9/0x10 [ 95.279961][ T5105] ? security_inode_unlink+0xd5/0x120 [ 95.282222][ T5105] vfs_unlink+0x365/0x650 [ 95.283770][ T5105] do_unlinkat+0x4ae/0x830 [ 95.285388][ T5105] ? __pfx_do_unlinkat+0x10/0x10 [ 95.287236][ T5105] ? __check_object_size+0x49c/0x900 [ 95.289163][ T5105] ? getname_flags+0x1e3/0x540 [ 95.290718][ T5105] __x64_sys_unlink+0x47/0x50 [ 95.292478][ T5105] do_syscall_64+0xf3/0x230 [ 95.294222][ T5105] ? clear_bhb_loop+0x35/0x90 [ 95.296050][ T5105] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 95.298363][ T5105] RIP: 0033:0x7f0f9367fe59 [ 95.300088][ T5105] 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 [ 95.307162][ T5105] RSP: 002b:00007fff9510fd78 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 [ 95.310319][ T5105] RAX: ffffffffffffffda RBX: 00007f0f936c9095 RCX: 00007f0f9367fe59 [ 95.313311][ T5105] RDX: 00007f0f9367ee51 RSI: 0000000000000000 RDI: 0000000020000180 [ 95.316435][ T5105] RBP: 0031656c69662f2e R08: 00000000000005ee R09: 000055556869b4c0 [ 95.319421][ T5105] R10: 00007fff9510fc40 R11: 0000000000000246 R12: 00007fff9510fda0 [ 95.322397][ T5105] R13: 00007fff9510ffc8 R14: 431bde82d7b634db R15: 00007f0f936c903b [ 95.325550][ T5105] [ 95.335555][ T5105] hfsplus: unable to mark blocks free: error -5 [ 95.338022][ T5105] hfsplus: can't free extent 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 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 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 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 executing program executing program executing program executing program executing program [ 96.889114][ T788] cfg80211: failed to load regulatory.db 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 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 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 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 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 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 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 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 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 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 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 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 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 executing program executing program executing program executing program executing program executing program VM DIAGNOSIS: 16:21:11 Registers: info registers vcpu 0 CPU#0 RAX=0000000000000037 RBX=ffffffff9a668f40 RCX=0000000000000000 RDX=00000000000003f8 RSI=0000000000000000 RDI=0000000000000020 RBP=0000000000000000 RSP=ffffc90002cce6d0 R8 =ffffffff8540ac3b R9 =1ffff11003c81046 R10=dffffc0000000000 R11=ffffffff8540abf0 R12=dffffc0000000000 R13=0000000000000037 R14=0000000000000037 R15=00000000000003f8 RIP=ffffffff8540ac6e 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 000055556869a380 ffffffff 00c00000 GS =0000 ffff88801fe00000 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=000055a93f696ce8 CR3=0000000011c6a000 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=0000000044000001 Opmask01=0000000000000000 Opmask02=00000000ffffbfff Opmask03=0000000000000000 Opmask04=00000000ffdfffff Opmask05=0000000000000000 Opmask06=0000000000000000 Opmask07=0000000000000000 ZMM00=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 4b5f5455504e495f 4449006b636f6c62 ZMM01=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd133960c0 0000003000000018 ZMM02=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00007ffd13395a50 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 000055a93f41cce0 000055a93f426d20 000055a93f429750 000055a93f430d10 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 bf5c82e917853ef6 000055ac65d21a74 00000000000000a1 0000000000000000 ZMM21=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 00004e4f49544341 0000000000000021 0000000000007374 ZMM22=0000000000000000 0000000000000000 0000000000000000 0000000000000000 68303e3b3a38253b 3a253e3a6e68303b 21383b657a687438 2739243c3b243b27 ZMM23=0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ZMM24=0000000000000000 0000000000000000 0000000000000000 0000000000000000 69305f474f5b647c 69303a2433273f39 7b27697a787c7a30 23333a3a38263342 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