Warning: Permanently added '10.128.1.62' (ED25519) to the list of known hosts. executing program [ 44.517720][ T4018] loop0: detected capacity change from 0 to 1024 [ 44.620888][ T4018] [ 44.621489][ T4018] ============================================ [ 44.623045][ T4018] WARNING: possible recursive locking detected [ 44.624575][ T4018] 5.15.178-syzkaller #0 Not tainted [ 44.625818][ T4018] -------------------------------------------- [ 44.627146][ T4018] syz-executor320/4018 is trying to acquire lock: [ 44.628763][ T4018] ffff0000dd599548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1194 [ 44.631565][ T4018] [ 44.631565][ T4018] but task is already holding lock: [ 44.633392][ T4018] ffff0000dd59a988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0xa2c [ 44.636008][ T4018] [ 44.636008][ T4018] other info that might help us debug this: [ 44.638045][ T4018] Possible unsafe locking scenario: [ 44.638045][ T4018] [ 44.639821][ T4018] CPU0 [ 44.640608][ T4018] ---- [ 44.641417][ T4018] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.642896][ T4018] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.644372][ T4018] [ 44.644372][ T4018] *** DEADLOCK *** [ 44.644372][ T4018] [ 44.646367][ T4018] May be due to missing lock nesting notation [ 44.646367][ T4018] [ 44.648428][ T4018] 6 locks held by syz-executor320/4018: [ 44.649855][ T4018] #0: ffff0000dd5a4460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 44.652059][ T4018] #1: ffff0000dd599e00 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_unlinkat+0x2d0/0x830 [ 44.654740][ T4018] #2: ffff0000dd59ab80 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_unlink+0xd8/0x508 [ 44.657185][ T4018] #3: ffff0000dd5d3998 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_unlink+0x144/0x6a0 [ 44.659644][ T4018] #4: ffff0000dd59a988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0xa2c [ 44.662622][ T4018] #5: ffff0000dd5d38f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xcc/0x514 [ 44.665188][ T4018] [ 44.665188][ T4018] stack backtrace: [ 44.666683][ T4018] CPU: 0 PID: 4018 Comm: syz-executor320 Not tainted 5.15.178-syzkaller #0 [ 44.668738][ T4018] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 44.671306][ T4018] Call trace: [ 44.672109][ T4018] dump_backtrace+0x0/0x530 [ 44.673229][ T4018] show_stack+0x2c/0x3c [ 44.674248][ T4018] dump_stack_lvl+0x108/0x170 [ 44.675457][ T4018] dump_stack+0x1c/0x58 [ 44.676528][ T4018] __lock_acquire+0x62bc/0x7638 [ 44.677750][ T4018] lock_acquire+0x240/0x77c [ 44.678835][ T4018] __mutex_lock_common+0x194/0x2154 [ 44.680110][ T4018] mutex_lock_nested+0xa4/0xf8 [ 44.681352][ T4018] hfsplus_get_block+0x2c4/0x1194 [ 44.682646][ T4018] block_read_full_page+0x2a0/0xc4c [ 44.683934][ T4018] hfsplus_readpage+0x28/0x38 [ 44.685067][ T4018] do_read_cache_page+0x60c/0x950 [ 44.686374][ T4018] read_cache_page+0x68/0x84 [ 44.687530][ T4018] hfsplus_block_free+0x120/0x514 [ 44.688746][ T4018] hfsplus_free_extents+0x148/0x8d4 [ 44.689929][ T4018] hfsplus_file_truncate+0x678/0xa2c [ 44.691208][ T4018] hfsplus_delete_inode+0x154/0x200 [ 44.692492][ T4018] hfsplus_unlink+0x414/0x6a0 [ 44.693609][ T4018] vfs_unlink+0x2f0/0x508 [ 44.694707][ T4018] do_unlinkat+0x4cc/0x830 [ 44.695840][ T4018] __arm64_sys_unlinkat+0xcc/0xfc [ 44.697072][ T4018] invoke_syscall+0x98/0x2b8 [ 44.698205][ T4018] el0_svc_common+0x138/0x258 [ 44.699380][ T4018] do_el0_svc+0x58/0x14c [ 44.700436][ T4018] el0_svc+0x7c/0x1f0 [ 44.701444][ T4018] el0t_64_sync_handler+0x84/0xe4 [ 44.702775][ T4018] el0t_64_sync+0x1a0/0x1a4 [ 44.705335][ T4018] hfsplus: unable to mark blocks free: error -5 [ 44.706841][ T4018] hfsplus: can't free extent