Warning: Permanently added '10.128.0.34' (ECDSA) to the list of known hosts. executing program syzkaller login: [ 44.011886][ T3961] loop0: detected capacity change from 0 to 1024 [ 44.026323][ T3961] [ 44.026905][ T3961] ============================================ [ 44.028167][ T3961] WARNING: possible recursive locking detected [ 44.029519][ T3961] 5.15.111-syzkaller #0 Not tainted [ 44.030539][ T3961] -------------------------------------------- [ 44.031852][ T3961] syz-executor359/3961 is trying to acquire lock: [ 44.033140][ T3961] ffff0000c89a1548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1194 [ 44.035520][ T3961] [ 44.035520][ T3961] but task is already holding lock: [ 44.037065][ T3961] ffff0000c89a2988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 44.039632][ T3961] [ 44.039632][ T3961] other info that might help us debug this: [ 44.041322][ T3961] Possible unsafe locking scenario: [ 44.041322][ T3961] [ 44.043172][ T3961] CPU0 [ 44.043928][ T3961] ---- [ 44.044599][ T3961] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.045964][ T3961] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.047293][ T3961] [ 44.047293][ T3961] *** DEADLOCK *** [ 44.047293][ T3961] [ 44.049121][ T3961] May be due to missing lock nesting notation [ 44.049121][ T3961] [ 44.051389][ T3961] 4 locks held by syz-executor359/3961: [ 44.052514][ T3961] #0: ffff0000c8d94460 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x228/0xb3c [ 44.054639][ T3961] #1: ffff0000c89a2b80 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: generic_file_write_iter+0x84/0x1b8 [ 44.057239][ T3961] #2: ffff0000c89a2988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 44.059955][ T3961] #3: ffff0000c89c38f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x8c/0x800 [ 44.062290][ T3961] [ 44.062290][ T3961] stack backtrace: [ 44.063581][ T3961] CPU: 1 PID: 3961 Comm: syz-executor359 Not tainted 5.15.111-syzkaller #0 [ 44.065487][ T3961] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 [ 44.067690][ T3961] Call trace: [ 44.068369][ T3961] dump_backtrace+0x0/0x530 [ 44.069380][ T3961] show_stack+0x2c/0x3c [ 44.070315][ T3961] dump_stack_lvl+0x108/0x170 [ 44.071321][ T3961] dump_stack+0x1c/0x58 [ 44.072337][ T3961] __lock_acquire+0x62b4/0x7620 [ 44.073395][ T3961] lock_acquire+0x240/0x77c [ 44.074364][ T3961] __mutex_lock_common+0x194/0x2154 [ 44.075492][ T3961] mutex_lock_nested+0xa4/0xf8 [ 44.076520][ T3961] hfsplus_get_block+0x2c4/0x1194 [ 44.077612][ T3961] block_read_full_page+0x2a0/0xc4c [ 44.078775][ T3961] hfsplus_readpage+0x28/0x38 [ 44.079825][ T3961] do_read_cache_page+0x60c/0x950 [ 44.080841][ T3961] read_cache_page+0x68/0x84 [ 44.081766][ T3961] hfsplus_block_allocate+0xe0/0x800 [ 44.082975][ T3961] hfsplus_file_extend+0x770/0x14e0 [ 44.084102][ T3961] hfsplus_get_block+0x398/0x1194 [ 44.085241][ T3961] __block_write_begin_int+0x3ec/0x1608 [ 44.086464][ T3961] cont_write_begin+0x538/0x710 [ 44.087507][ T3961] hfsplus_write_begin+0xa8/0xf8 [ 44.088557][ T3961] generic_perform_write+0x24c/0x520 [ 44.089774][ T3961] __generic_file_write_iter+0x230/0x454 [ 44.090900][ T3961] generic_file_write_iter+0xb4/0x1b8 [ 44.091960][ T3961] vfs_write+0x87c/0xb3c [ 44.092881][ T3961] ksys_write+0x15c/0x26c [ 44.093832][ T3961] __arm64_sys_write+0x7c/0x90 [ 44.094894][ T3961] invoke_syscall+0x98/0x2b8 [ 44.095925][ T3961] el0_svc_common+0x138/0x258 [ 44.096942][ T3961] do_el0_svc+0x58/0x14c [ 44.097829][ T3961] el0_svc+0x7c/0x1f0 [ 44.098812][ T3961] el0t_64_sync_handler+0x84/0xe4 [ 44.099947][ T3961] el0t_64_sync+0x1a0/0x1a4