Warning: Permanently added '10.128.10.56' (ED25519) to the list of known hosts. executing program [ 36.230213][ T4018] loop0: detected capacity change from 0 to 1024 [ 36.355918][ T4018] [ 36.356588][ T4018] ============================================ [ 36.358163][ T4018] WARNING: possible recursive locking detected [ 36.359755][ T4018] 5.15.178-syzkaller #0 Not tainted [ 36.361113][ T4018] -------------------------------------------- [ 36.362723][ T4018] syz-executor208/4018 is trying to acquire lock: [ 36.364407][ T4018] ffff0000c1e09548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1194 [ 36.367271][ T4018] [ 36.367271][ T4018] but task is already holding lock: [ 36.369248][ T4018] ffff0000c1e0a988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0xa2c [ 36.372254][ T4018] [ 36.372254][ T4018] other info that might help us debug this: [ 36.374451][ T4018] Possible unsafe locking scenario: [ 36.374451][ T4018] [ 36.376411][ T4018] CPU0 [ 36.377243][ T4018] ---- [ 36.378104][ T4018] lock(&HFSPLUS_I(inode)->extents_lock); [ 36.379635][ T4018] lock(&HFSPLUS_I(inode)->extents_lock); [ 36.381240][ T4018] [ 36.381240][ T4018] *** DEADLOCK *** [ 36.381240][ T4018] [ 36.383465][ T4018] May be due to missing lock nesting notation [ 36.383465][ T4018] [ 36.385718][ T4018] 6 locks held by syz-executor208/4018: [ 36.387154][ T4018] #0: ffff0000cb2d6460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 36.389592][ T4018] #1: ffff0000c1e09e00 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_unlinkat+0x2d0/0x830 [ 36.392343][ T4018] #2: ffff0000c1e0ab80 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_unlink+0xd8/0x508 [ 36.395115][ T4018] #3: ffff0000cb31a198 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_unlink+0x144/0x6a0 [ 36.397768][ T4018] #4: ffff0000c1e0a988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0xa2c [ 36.400912][ T4018] #5: ffff0000cb31a0f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xcc/0x514 [ 36.403617][ T4018] [ 36.403617][ T4018] stack backtrace: [ 36.405224][ T4018] CPU: 0 PID: 4018 Comm: syz-executor208 Not tainted 5.15.178-syzkaller #0 [ 36.407515][ T4018] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 36.410184][ T4018] Call trace: [ 36.411011][ T4018] dump_backtrace+0x0/0x530 [ 36.412175][ T4018] show_stack+0x2c/0x3c [ 36.413284][ T4018] dump_stack_lvl+0x108/0x170 [ 36.414489][ T4018] dump_stack+0x1c/0x58 [ 36.415638][ T4018] __lock_acquire+0x62bc/0x7638 [ 36.416905][ T4018] lock_acquire+0x240/0x77c [ 36.418069][ T4018] __mutex_lock_common+0x194/0x2154 [ 36.419430][ T4018] mutex_lock_nested+0xa4/0xf8 [ 36.420687][ T4018] hfsplus_get_block+0x2c4/0x1194 [ 36.421986][ T4018] block_read_full_page+0x2a0/0xc4c [ 36.423377][ T4018] hfsplus_readpage+0x28/0x38 [ 36.424628][ T4018] do_read_cache_page+0x60c/0x950 [ 36.425961][ T4018] read_cache_page+0x68/0x84 [ 36.427162][ T4018] hfsplus_block_free+0x120/0x514 [ 36.428474][ T4018] hfsplus_free_extents+0x148/0x8d4 [ 36.429858][ T4018] hfsplus_file_truncate+0x678/0xa2c [ 36.431237][ T4018] hfsplus_delete_inode+0x154/0x200 [ 36.432628][ T4018] hfsplus_unlink+0x414/0x6a0 [ 36.433839][ T4018] vfs_unlink+0x2f0/0x508 [ 36.434945][ T4018] do_unlinkat+0x4cc/0x830 [ 36.436125][ T4018] __arm64_sys_unlinkat+0xcc/0xfc [ 36.437527][ T4018] invoke_syscall+0x98/0x2b8 [ 36.438704][ T4018] el0_svc_common+0x138/0x258 [ 36.439972][ T4018] do_el0_svc+0x58/0x14c [ 36.441079][ T4018] el0_svc+0x7c/0x1f0 [ 36.442125][ T4018] el0t_64_sync_handler+0x84/0xe4 [ 36.443470][ T4018] el0t_64_sync+0x1a0/0x1a4 [ 36.446442][ T4018] hfsplus: unable to mark blocks free: error -5 [ 36.448086][ T4018] hfsplus: can't free extent