Warning: Permanently added '10.128.0.118' (ED25519) to the list of known hosts. executing program [ 38.741290][ T4020] loop0: detected capacity change from 0 to 1024 [ 38.880393][ T4019] [ 38.881069][ T4019] ============================================ [ 38.882711][ T4019] WARNING: possible recursive locking detected [ 38.884357][ T4019] 5.15.181-syzkaller #0 Not tainted [ 38.885750][ T4019] -------------------------------------------- [ 38.887398][ T4019] syz-executor826/4019 is trying to acquire lock: [ 38.889166][ T4019] ffff0000caa09548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2cc/0x11c8 [ 38.892121][ T4019] [ 38.892121][ T4019] but task is already holding lock: [ 38.894127][ T4019] ffff0000caa0a988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x210/0x984 [ 38.897131][ T4019] [ 38.897131][ T4019] other info that might help us debug this: [ 38.899301][ T4019] Possible unsafe locking scenario: [ 38.899301][ T4019] [ 38.901358][ T4019] CPU0 [ 38.902244][ T4019] ---- [ 38.903072][ T4019] lock(&HFSPLUS_I(inode)->extents_lock); [ 38.904683][ T4019] lock(&HFSPLUS_I(inode)->extents_lock); [ 38.906238][ T4019] [ 38.906238][ T4019] *** DEADLOCK *** [ 38.906238][ T4019] [ 38.908418][ T4019] May be due to missing lock nesting notation [ 38.908418][ T4019] [ 38.910628][ T4019] 6 locks held by syz-executor826/4019: [ 38.912152][ T4019] #0: ffff0000daeb2460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 38.914593][ T4019] #1: ffff0000caa09e00 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_unlinkat+0x18c/0x600 [ 38.917370][ T4019] #2: ffff0000caa0ab80 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_unlink+0xd0/0x4f4 [ 38.920181][ T4019] #3: ffff0000c8bfb998 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_unlink+0x140/0x664 [ 38.922683][ T4019] #4: ffff0000caa0a988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x210/0x984 [ 38.925795][ T4019] #5: ffff0000c8bfb8f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xb8/0x4a8 [ 38.928454][ T4019] [ 38.928454][ T4019] stack backtrace: [ 38.929959][ T4019] CPU: 0 PID: 4019 Comm: syz-executor826 Not tainted 5.15.181-syzkaller #0 [ 38.932263][ T4019] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 [ 38.934974][ T4019] Call trace: [ 38.935833][ T4019] dump_backtrace+0x0/0x43c [ 38.937041][ T4019] show_stack+0x2c/0x3c [ 38.938132][ T4019] __dump_stack+0x30/0x40 [ 38.939254][ T4019] dump_stack_lvl+0xf8/0x160 [ 38.940452][ T4019] dump_stack+0x1c/0x5c [ 38.941593][ T4019] __lock_acquire+0x18a4/0x651c [ 38.942848][ T4019] lock_acquire+0x1f4/0x620 [ 38.944026][ T4019] __mutex_lock_common+0x194/0x1edc [ 38.945394][ T4019] mutex_lock_nested+0xac/0x11c [ 38.946662][ T4019] hfsplus_get_block+0x2cc/0x11c8 [ 38.947939][ T4019] block_read_full_page+0x298/0xc40 [ 38.949344][ T4019] hfsplus_readpage+0x28/0x38 [ 38.950592][ T4019] do_read_cache_page+0x5f4/0x8f8 [ 38.951963][ T4019] read_cache_page+0x68/0x88 [ 38.953204][ T4019] hfsplus_block_free+0x108/0x4a8 [ 38.954532][ T4019] hfsplus_free_extents+0x14c/0x8d8 [ 38.955911][ T4019] hfsplus_file_truncate+0x5e4/0x984 [ 38.957316][ T4019] hfsplus_delete_inode+0x164/0x210 [ 38.958753][ T4019] hfsplus_unlink+0x3f8/0x664 [ 38.960019][ T4019] vfs_unlink+0x2e0/0x4f4 [ 38.961183][ T4019] do_unlinkat+0x31c/0x600 [ 38.962397][ T4019] __arm64_sys_unlinkat+0xe0/0xfc [ 38.963686][ T4019] invoke_syscall+0x98/0x2b8 [ 38.964890][ T4019] el0_svc_common+0x138/0x258 [ 38.966132][ T4019] do_el0_svc+0x58/0x14c [ 38.967275][ T4019] el0_svc+0x78/0x1e0 [ 38.968327][ T4019] el0t_64_sync_handler+0xcc/0xe4 [ 38.969639][ T4019] el0t_64_sync+0x1a0/0x1a4 [ 38.972149][ T4019] hfsplus: unable to mark blocks free: error -5 [ 38.974599][ T4019] hfsplus: can't free extent [ 38.976997][ T4019] hfsplus: unable to mark blocks free: error -5 [ 38.978652][ T4019] hfsplus: can't free extent [ 38.980358][ T4019] hfsplus: unable to mark blocks free: error -5 [ 38.981951][ T4019] hfsplus: can't free extent [ 38.984580][ T4019] hfsplus: unable to mark blocks free: error -5 [ 38.986320][ T4019] hfsplus: can't free extent [ 43.933856][ T9] hfsplus: b-tree write err: -5, ino 8