Warning: Permanently added '10.128.1.10' (ED25519) to the list of known hosts. executing program [ 44.683477][ T4022] loop0: detected capacity change from 0 to 1024 [ 44.804464][ T4021] [ 44.805196][ T4021] ============================================ [ 44.806836][ T4021] WARNING: possible recursive locking detected [ 44.808491][ T4021] 5.15.180-syzkaller #0 Not tainted [ 44.809850][ T4021] -------------------------------------------- [ 44.811476][ T4021] syz-executor261/4021 is trying to acquire lock: [ 44.813214][ T4021] ffff0000cc969548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1194 [ 44.816232][ T4021] [ 44.816232][ T4021] but task is already holding lock: [ 44.818178][ T4021] ffff0000dd2d1548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0xa2c [ 44.821314][ T4021] [ 44.821314][ T4021] other info that might help us debug this: [ 44.823490][ T4021] Possible unsafe locking scenario: [ 44.823490][ T4021] [ 44.825510][ T4021] CPU0 [ 44.826400][ T4021] ---- [ 44.827254][ T4021] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.828818][ T4021] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.830358][ T4021] [ 44.830358][ T4021] *** DEADLOCK *** [ 44.830358][ T4021] [ 44.832587][ T4021] May be due to missing lock nesting notation [ 44.832587][ T4021] [ 44.834907][ T4021] 6 locks held by syz-executor261/4021: [ 44.836446][ T4021] #0: ffff0000dd262460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 44.839067][ T4021] #1: ffff0000dd2d1080 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_unlinkat+0x2d0/0x830 [ 44.841922][ T4021] #2: ffff0000dd2d1740 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_unlink+0xd8/0x508 [ 44.844770][ T4021] #3: ffff0000ca3c5198 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_unlink+0x144/0x6a0 [ 44.847607][ T4021] #4: ffff0000dd2d1548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x250/0xa2c [ 44.850855][ T4021] #5: ffff0000ca3c50f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xcc/0x514 [ 44.853693][ T4021] [ 44.853693][ T4021] stack backtrace: [ 44.855338][ T4021] CPU: 1 PID: 4021 Comm: syz-executor261 Not tainted 5.15.180-syzkaller #0 [ 44.857816][ T4021] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 44.860657][ T4021] Call trace: [ 44.861597][ T4021] dump_backtrace+0x0/0x530 [ 44.862911][ T4021] show_stack+0x2c/0x3c [ 44.864051][ T4021] dump_stack_lvl+0x108/0x170 [ 44.865334][ T4021] dump_stack+0x1c/0x58 [ 44.866453][ T4021] __lock_acquire+0x62bc/0x7638 [ 44.867786][ T4021] lock_acquire+0x240/0x77c [ 44.869077][ T4021] __mutex_lock_common+0x194/0x2154 [ 44.870479][ T4021] mutex_lock_nested+0xa4/0xf8 [ 44.871794][ T4021] hfsplus_get_block+0x2c4/0x1194 [ 44.873257][ T4021] block_read_full_page+0x2a0/0xc4c [ 44.874689][ T4021] hfsplus_readpage+0x28/0x38 [ 44.875947][ T4021] do_read_cache_page+0x60c/0x950 [ 44.877339][ T4021] read_cache_page+0x68/0x84 [ 44.878585][ T4021] hfsplus_block_free+0x120/0x514 [ 44.879926][ T4021] hfsplus_free_extents+0x148/0x8d4 [ 44.881326][ T4021] hfsplus_file_truncate+0x678/0xa2c [ 44.882757][ T4021] hfsplus_delete_inode+0x154/0x200 [ 44.884214][ T4021] hfsplus_unlink+0x414/0x6a0 [ 44.885450][ T4021] vfs_unlink+0x2f0/0x508 [ 44.886571][ T4021] do_unlinkat+0x4cc/0x830 [ 44.887743][ T4021] __arm64_sys_unlinkat+0xcc/0xfc [ 44.889054][ T4021] invoke_syscall+0x98/0x2b8 [ 44.890259][ T4021] el0_svc_common+0x138/0x258 [ 44.891509][ T4021] do_el0_svc+0x58/0x14c [ 44.892641][ T4021] el0_svc+0x7c/0x1f0 [ 44.893716][ T4021] el0t_64_sync_handler+0x84/0xe4 [ 44.895040][ T4021] el0t_64_sync+0x1a0/0x1a4 [ 44.896897][ T4021] hfsplus: unable to mark blocks free: error -5 [ 44.898611][ T4021] hfsplus: can't free extent [ 44.900548][ T4021] hfsplus: unable to mark blocks free: error -5 [ 44.902202][ T4021] hfsplus: can't free extent [ 44.905795][ T4021] hfsplus: unable to mark blocks free: error -5 [ 44.907516][ T4021] hfsplus: can't free extent [ 49.853432][ T9] hfsplus: b-tree write err: -5, ino 8