Warning: Permanently added '10.128.0.13' (ED25519) to the list of known hosts. executing program [ 38.171791][ T4292] loop0: detected capacity change from 0 to 1024 [ 38.196197][ T4291] [ 38.196924][ T4291] ============================================ [ 38.198491][ T4291] WARNING: possible recursive locking detected [ 38.200047][ T4291] 6.1.132-syzkaller #0 Not tainted [ 38.201379][ T4291] -------------------------------------------- [ 38.202877][ T4291] syz-executor204/4291 is trying to acquire lock: [ 38.204500][ T4291] ffff0000d9a61548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1168 [ 38.207235][ T4291] [ 38.207235][ T4291] but task is already holding lock: [ 38.209118][ T4291] ffff0000d9a62988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x24c/0xa18 [ 38.212053][ T4291] [ 38.212053][ T4291] other info that might help us debug this: [ 38.214074][ T4291] Possible unsafe locking scenario: [ 38.214074][ T4291] [ 38.215998][ T4291] CPU0 [ 38.216812][ T4291] ---- [ 38.217708][ T4291] lock(&HFSPLUS_I(inode)->extents_lock); [ 38.219195][ T4291] lock(&HFSPLUS_I(inode)->extents_lock); [ 38.220647][ T4291] [ 38.220647][ T4291] *** DEADLOCK *** [ 38.220647][ T4291] [ 38.222625][ T4291] May be due to missing lock nesting notation [ 38.222625][ T4291] [ 38.224743][ T4291] 6 locks held by syz-executor204/4291: [ 38.226067][ T4291] #0: ffff0000de660460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 38.228446][ T4291] #1: ffff0000d9a61e00 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_unlinkat+0x2d0/0x70c [ 38.231069][ T4291] #2: ffff0000d9a62b80 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_unlink+0xd8/0x508 [ 38.233729][ T4291] #3: ffff0000d672c998 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_unlink+0x144/0x6a0 [ 38.236141][ T4291] #4: ffff0000d9a62988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x24c/0xa18 [ 38.239060][ T4291] #5: ffff0000d672c8f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xcc/0x4b0 [ 38.241600][ T4291] [ 38.241600][ T4291] stack backtrace: [ 38.243148][ T4291] CPU: 1 PID: 4291 Comm: syz-executor204 Not tainted 6.1.132-syzkaller #0 [ 38.245390][ T4291] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 38.247872][ T4291] Call trace: [ 38.248662][ T4291] dump_backtrace+0x1c8/0x1f4 [ 38.249961][ T4291] show_stack+0x2c/0x3c [ 38.251017][ T4291] dump_stack_lvl+0x108/0x170 [ 38.252199][ T4291] dump_stack+0x1c/0x5c [ 38.253295][ T4291] __lock_acquire+0x6310/0x7680 [ 38.254544][ T4291] lock_acquire+0x26c/0x7cc [ 38.255723][ T4291] __mutex_lock_common+0x190/0x21a0 [ 38.257077][ T4291] mutex_lock_nested+0x38/0x44 [ 38.258279][ T4291] hfsplus_get_block+0x2c4/0x1168 [ 38.259673][ T4291] block_read_full_folio+0x2f4/0x98c [ 38.260992][ T4291] hfsplus_read_folio+0x28/0x38 [ 38.262294][ T4291] filemap_read_folio+0x14c/0x39c [ 38.263592][ T4291] do_read_cache_folio+0x24c/0x544 [ 38.264901][ T4291] read_cache_page+0x6c/0x180 [ 38.266046][ T4291] hfsplus_block_free+0x11c/0x4b0 [ 38.267297][ T4291] hfsplus_free_extents+0x148/0x8d4 [ 38.268571][ T4291] hfsplus_file_truncate+0x674/0xa18 [ 38.269933][ T4291] hfsplus_delete_inode+0x154/0x200 [ 38.271283][ T4291] hfsplus_unlink+0x414/0x6a0 [ 38.272479][ T4291] vfs_unlink+0x2f0/0x508 [ 38.273576][ T4291] do_unlinkat+0x4cc/0x70c [ 38.274647][ T4291] __arm64_sys_unlinkat+0xcc/0xfc [ 38.275897][ T4291] invoke_syscall+0x98/0x2bc [ 38.277061][ T4291] el0_svc_common+0x138/0x258 [ 38.278249][ T4291] do_el0_svc+0x58/0x13c [ 38.279310][ T4291] el0_svc+0x58/0x168 [ 38.280348][ T4291] el0t_64_sync_handler+0x84/0xf0 [ 38.281664][ T4291] el0t_64_sync+0x18c/0x190 [ 38.284510][ T4291] hfsplus: unable to mark blocks free: error -5 [ 38.286123][ T4291] hfsplus: can't free extent [ 38.288324][ T4291] hfsplus: unable to mark blocks free: error -5 [ 38.290035][ T4291] hfsplus: can't free extent [ 38.291624][ T4291] hfsplus: unable to mark blocks free: error -5 [ 38.294001][ T4291] hfsplus: can't free extent [ 38.296270][ T4291] hfsplus: unable to mark blocks free: error -5 [ 38.297841][ T4291] hfsplus: can't free extent [ 43.212789][ T244] hfsplus: b-tree write err: -5, ino 8