Warning: Permanently added '10.128.0.160' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 32.914559][ T3072] loop0: detected capacity change from 0 to 1024 [ 32.921577][ T3072] hfsplus: xattr searching failed [ 32.922974][ T3072] hfsplus: xattr searching failed [ 32.924573][ T3072] hfsplus: xattr searching failed [ 32.926219][ T3072] hfsplus: xattr searching failed [ 32.928053][ T3072] [ 32.928667][ T3072] ============================================ [ 32.930290][ T3072] WARNING: possible recursive locking detected [ 32.931922][ T3072] 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 Not tainted [ 32.933803][ T3072] -------------------------------------------- [ 32.935424][ T3072] syz-executor631/3072 is trying to acquire lock: [ 32.937132][ T3072] ffff0000cb589488 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x17c/0x8a4 [ 32.940033][ T3072] [ 32.940033][ T3072] but task is already holding lock: [ 32.941985][ T3072] ffff0000cb58a808 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x8c/0x88c [ 32.945006][ T3072] [ 32.945006][ T3072] other info that might help us debug this: [ 32.947142][ T3072] Possible unsafe locking scenario: [ 32.947142][ T3072] [ 32.949128][ T3072] CPU0 [ 32.949990][ T3072] ---- [ 32.950849][ T3072] lock(&HFSPLUS_I(inode)->extents_lock); [ 32.952425][ T3072] lock(&HFSPLUS_I(inode)->extents_lock); [ 32.954009][ T3072] [ 32.954009][ T3072] *** DEADLOCK *** [ 32.954009][ T3072] [ 32.956207][ T3072] May be due to missing lock nesting notation [ 32.956207][ T3072] [ 32.958449][ T3072] 4 locks held by syz-executor631/3072: [ 32.959983][ T3072] #0: ffff0000c4ddd460 (sb_writers#8){.+.+}-{0:0}, at: do_pwritev+0x11c/0x1e8 [ 32.962569][ T3072] #1: ffff0000cb58aa00 (&sb->s_type->i_mutex_key#16){+.+.}-{3:3}, at: generic_file_write_iter+0x3c/0x168 [ 32.965646][ T3072] #2: ffff0000cb58a808 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x8c/0x88c [ 32.968696][ T3072] #3: ffff0000c9f3b0f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x60/0x5e4 [ 32.971923][ T3072] [ 32.971923][ T3072] stack backtrace: [ 32.973499][ T3072] CPU: 1 PID: 3072 Comm: syz-executor631 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0 [ 32.976315][ T3072] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 [ 32.979292][ T3072] Call trace: [ 32.980253][ T3072] dump_backtrace+0x1c4/0x1f0 [ 32.981519][ T3072] show_stack+0x2c/0x3c [ 32.982625][ T3072] dump_stack_lvl+0x104/0x16c [ 32.983885][ T3072] dump_stack+0x1c/0x58 [ 32.985009][ T3072] __lock_acquire+0x808/0x3084 [ 32.986283][ T3072] lock_acquire+0x100/0x1f8 [ 32.987575][ T3072] __mutex_lock_common+0xd4/0xca8 [ 32.988901][ T3072] mutex_lock_nested+0x38/0x44 [ 32.990362][ T3072] hfsplus_get_block+0x17c/0x8a4 [ 32.991675][ T3072] block_read_full_folio+0x188/0x8c0 [ 32.993096][ T3072] hfsplus_read_folio+0x28/0x38 [ 32.994385][ T3072] filemap_read_folio+0xc4/0x468 [ 32.995730][ T3072] do_read_cache_folio+0x1c8/0x588 [ 32.997204][ T3072] read_cache_page+0x40/0x174 [ 32.998584][ T3072] hfsplus_block_allocate+0x80/0x5e4 [ 33.000132][ T3072] hfsplus_file_extend+0x560/0x88c [ 33.001513][ T3072] hfsplus_get_block+0x1c0/0x8a4 [ 33.002835][ T3072] __block_write_begin_int+0x23c/0x9d4 [ 33.004305][ T3072] block_write_begin+0x74/0x14c [ 33.005695][ T3072] cont_write_begin+0xf4/0x11c [ 33.007168][ T3072] hfsplus_write_begin+0x64/0xac [ 33.008706][ T3072] generic_perform_write+0xf0/0x2cc [ 33.010109][ T3072] __generic_file_write_iter+0xd8/0x21c [ 33.011595][ T3072] generic_file_write_iter+0x6c/0x168 [ 33.013060][ T3072] do_iter_write+0x318/0x560 [ 33.014385][ T3072] do_pwritev+0x130/0x1e8 [ 33.015613][ T3072] __arm64_sys_pwritev2+0x5c/0x90 [ 33.017061][ T3072] el0_svc_common+0x138/0x220 [ 33.018309][ T3072] do_el0_svc+0x48/0x140 [ 33.019451][ T3072] el0_svc+0x58/0x150 [ 33.020518][ T3072] el0t_64_sync_handler+0x84/0xf0 [ 33.021856][ T3072] el0t_64_sync+0x190/0x194