Warning: Permanently added '10.128.0.21' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 26.665511][ T3071] loop0: detected capacity change from 0 to 1024 [ 26.672446][ T3071] hfsplus: xattr searching failed [ 26.673777][ T3071] hfsplus: xattr searching failed [ 26.675362][ T3071] hfsplus: xattr searching failed [ 26.676870][ T3071] hfsplus: xattr searching failed [ 26.678685][ T3071] [ 26.679281][ T3071] ============================================ [ 26.680852][ T3071] WARNING: possible recursive locking detected [ 26.682442][ T3071] 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 Not tainted [ 26.684278][ T3071] -------------------------------------------- [ 26.685875][ T3071] syz-executor451/3071 is trying to acquire lock: [ 26.687584][ T3071] ffff0000cb709488 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x17c/0x8a4 [ 26.690381][ T3071] [ 26.690381][ T3071] but task is already holding lock: [ 26.692255][ T3071] ffff0000cb70a808 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x8c/0x88c [ 26.695047][ T3071] [ 26.695047][ T3071] other info that might help us debug this: [ 26.697067][ T3071] Possible unsafe locking scenario: [ 26.697067][ T3071] [ 26.698961][ T3071] CPU0 [ 26.699765][ T3071] ---- [ 26.700584][ T3071] lock(&HFSPLUS_I(inode)->extents_lock); [ 26.702055][ T3071] lock(&HFSPLUS_I(inode)->extents_lock); [ 26.703525][ T3071] [ 26.703525][ T3071] *** DEADLOCK *** [ 26.703525][ T3071] [ 26.705630][ T3071] May be due to missing lock nesting notation [ 26.705630][ T3071] [ 26.707788][ T3071] 4 locks held by syz-executor451/3071: [ 26.709282][ T3071] #0: ffff0000c9312460 (sb_writers#8){.+.+}-{0:0}, at: do_pwritev+0x11c/0x1e8 [ 26.711614][ T3071] #1: ffff0000cb70aa00 (&sb->s_type->i_mutex_key#16){+.+.}-{3:3}, at: generic_file_write_iter+0x3c/0x168 [ 26.714600][ T3071] #2: ffff0000cb70a808 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x8c/0x88c [ 26.717648][ T3071] #3: ffff0000c7b518f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x60/0x5e4 [ 26.720367][ T3071] [ 26.720367][ T3071] stack backtrace: [ 26.721870][ T3071] CPU: 0 PID: 3071 Comm: syz-executor451 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 [ 26.724620][ T3071] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 26.727303][ T3071] Call trace: [ 26.728133][ T3071] dump_backtrace+0x1c4/0x1f0 [ 26.729326][ T3071] show_stack+0x2c/0x3c [ 26.730440][ T3071] dump_stack_lvl+0x104/0x16c [ 26.731672][ T3071] dump_stack+0x1c/0x58 [ 26.732768][ T3071] __lock_acquire+0x808/0x3084 [ 26.734044][ T3071] lock_acquire+0x100/0x1f8 [ 26.735233][ T3071] __mutex_lock_common+0xd4/0xca8 [ 26.736521][ T3071] mutex_lock_nested+0x38/0x44 [ 26.737733][ T3071] hfsplus_get_block+0x17c/0x8a4 [ 26.739057][ T3071] block_read_full_folio+0x188/0x8c0 [ 26.740347][ T3071] hfsplus_read_folio+0x28/0x38 [ 26.741575][ T3071] filemap_read_folio+0xc4/0x468 [ 26.742840][ T3071] do_read_cache_folio+0x1c8/0x588 [ 26.744145][ T3071] read_cache_page+0x40/0x174 [ 26.745313][ T3071] hfsplus_block_allocate+0x80/0x5e4 [ 26.746674][ T3071] hfsplus_file_extend+0x560/0x88c [ 26.747986][ T3071] hfsplus_get_block+0x1c0/0x8a4 [ 26.749237][ T3071] __block_write_begin_int+0x23c/0x9d4 [ 26.750601][ T3071] block_write_begin+0x74/0x14c [ 26.751805][ T3071] cont_write_begin+0xf4/0x11c [ 26.753003][ T3071] hfsplus_write_begin+0x64/0xac [ 26.754272][ T3071] cont_expand_zero+0x110/0xb24 [ 26.755506][ T3071] cont_write_begin+0x5c/0x11c [ 26.756741][ T3071] hfsplus_write_begin+0x64/0xac [ 26.757933][ T3071] generic_perform_write+0xf0/0x2cc [ 26.759222][ T3071] __generic_file_write_iter+0xd8/0x21c [ 26.760610][ T3071] generic_file_write_iter+0x6c/0x168 [ 26.761998][ T3071] do_iter_write+0x318/0x560 [ 26.763154][ T3071] do_pwritev+0x130/0x1e8 [ 26.764214][ T3071] __arm64_sys_pwritev2+0x5c/0x90 [ 26.765490][ T3071] el0_svc_common+0x138/0x220 [ 26.766641][ T3071] do_el0_svc+0x48/0x140 [ 26.767702][ T3071] el0_svc+0x58/0x150 [ 26.768695][ T3071] el0t_64_sync_handler+0x84/0xf0 [ 26.769967][ T3071] el0t_64_sync+0x190/0x194