Warning: Permanently added '10.128.1.187' (ED25519) to the list of known hosts. executing program [ 30.877726][ T6405] loop0: detected capacity change from 0 to 1024 [ 30.899579][ T6405] [ 30.900223][ T6405] ============================================ [ 30.901736][ T6405] WARNING: possible recursive locking detected [ 30.903199][ T6405] 6.11.0-rc7-syzkaller-g5f5673607153 #0 Not tainted [ 30.904901][ T6405] -------------------------------------------- [ 30.906479][ T6405] syz-executor354/6405 is trying to acquire lock: [ 30.908229][ T6405] ffff0000da621548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1168 [ 30.911060][ T6405] [ 30.911060][ T6405] but task is already holding lock: [ 30.912891][ T6405] ffff0000da6207c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x1d0/0x1544 [ 30.915732][ T6405] [ 30.915732][ T6405] other info that might help us debug this: [ 30.917816][ T6405] Possible unsafe locking scenario: [ 30.917816][ T6405] [ 30.919807][ T6405] CPU0 [ 30.920630][ T6405] ---- [ 30.921529][ T6405] lock(&HFSPLUS_I(inode)->extents_lock); [ 30.923110][ T6405] lock(&HFSPLUS_I(inode)->extents_lock); [ 30.924712][ T6405] [ 30.924712][ T6405] *** DEADLOCK *** [ 30.924712][ T6405] [ 30.926951][ T6405] May be due to missing lock nesting notation [ 30.926951][ T6405] [ 30.929143][ T6405] 7 locks held by syz-executor354/6405: [ 30.930551][ T6405] #0: ffff0000d75f8420 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 30.932938][ T6405] #1: ffff0000da621df8 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_renameat2+0x4ec/0xe40 [ 30.935663][ T6405] #2: ffff0000c66f82f8 (&sb->s_type->i_mutex_key#16){+.+.}-{3:3}, at: lock_two_nondirectories+0xd4/0x14c [ 30.938699][ T6405] #3: ffff0000c66f89b8 (&sb->s_type->i_mutex_key#16/4){+.+.}-{3:3}, at: lock_two_nondirectories+0xfc/0x14c [ 30.941789][ T6405] #4: ffff0000c2eea0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 30.944468][ T6405] #5: ffff0000da6207c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x1d0/0x1544 [ 30.947494][ T6405] #6: ffff0000c253c8f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x90/0x824 [ 30.950328][ T6405] [ 30.950328][ T6405] stack backtrace: [ 30.951818][ T6405] CPU: 1 UID: 0 PID: 6405 Comm: syz-executor354 Not tainted 6.11.0-rc7-syzkaller-g5f5673607153 #0 [ 30.954674][ T6405] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 30.957290][ T6405] Call trace: [ 30.958148][ T6405] dump_backtrace+0x1b8/0x1e4 [ 30.959418][ T6405] show_stack+0x2c/0x3c [ 30.960503][ T6405] dump_stack_lvl+0xe4/0x150 [ 30.961679][ T6405] dump_stack+0x1c/0x28 [ 30.962825][ T6405] print_deadlock_bug+0x4e4/0x660 [ 30.964162][ T6405] __lock_acquire+0x6160/0x779c [ 30.965434][ T6405] lock_acquire+0x240/0x728 [ 30.966608][ T6405] __mutex_lock_common+0x190/0x21a0 [ 30.967982][ T6405] mutex_lock_nested+0x2c/0x38 [ 30.969281][ T6405] hfsplus_get_block+0x2c4/0x1168 [ 30.970615][ T6405] block_read_full_folio+0x3c4/0xbe0 [ 30.972017][ T6405] hfsplus_read_folio+0x28/0x38 [ 30.973310][ T6405] filemap_read_folio+0x14c/0x39c [ 30.974610][ T6405] do_read_cache_folio+0x114/0x548 [ 30.975923][ T6405] read_cache_page+0x6c/0x15c [ 30.977212][ T6405] hfsplus_block_allocate+0xe0/0x824 [ 30.978550][ T6405] hfsplus_file_extend+0x7b4/0x1544 [ 30.979942][ T6405] hfsplus_bmap_reserve+0xec/0x474 [ 30.981349][ T6405] hfsplus_rename_cat+0x1ac/0xf30 [ 30.982655][ T6405] hfsplus_rename+0x120/0x1b0 [ 30.983898][ T6405] vfs_rename+0x9bc/0xc84 [ 30.985031][ T6405] do_renameat2+0x9c8/0xe40 [ 30.986190][ T6405] __arm64_sys_renameat2+0xd8/0xf4 [ 30.987558][ T6405] invoke_syscall+0x98/0x2b8 [ 30.988823][ T6405] el0_svc_common+0x130/0x23c [ 30.990047][ T6405] do_el0_svc+0x48/0x58 [ 30.991145][ T6405] el0_svc+0x54/0x168 [ 30.992254][ T6405] el0t_64_sync_handler+0x84/0xfc [ 30.993672][ T6405] el0t_64_sync+0x190/0x194