Warning: Permanently added '10.128.1.60' (ED25519) to the list of known hosts. executing program [ 32.393478][ T6089] loop0: detected capacity change from 0 to 64 [ 32.403357][ T6089] [ 32.403842][ T6089] ============================================ [ 32.405246][ T6089] WARNING: possible recursive locking detected [ 32.406616][ T6089] 6.7.0-rc5-syzkaller-gd5b235ec8eab #0 Not tainted [ 32.408151][ T6089] -------------------------------------------- [ 32.409534][ T6089] syz-executor386/6089 is trying to acquire lock: [ 32.411032][ T6089] ffff0000dbd820b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x148/0x1c8 [ 32.413165][ T6089] [ 32.413165][ T6089] but task is already holding lock: [ 32.414818][ T6089] ffff0000dbd820b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x148/0x1c8 [ 32.416957][ T6089] [ 32.416957][ T6089] other info that might help us debug this: [ 32.418834][ T6089] Possible unsafe locking scenario: [ 32.418834][ T6089] [ 32.420467][ T6089] CPU0 [ 32.421204][ T6089] ---- [ 32.421932][ T6089] lock(&tree->tree_lock/1); [ 32.422970][ T6089] lock(&tree->tree_lock/1); [ 32.424085][ T6089] [ 32.424085][ T6089] *** DEADLOCK *** [ 32.424085][ T6089] [ 32.425985][ T6089] May be due to missing lock nesting notation [ 32.425985][ T6089] [ 32.427792][ T6089] 5 locks held by syz-executor386/6089: [ 32.428971][ T6089] #0: ffff0000dbd80418 (sb_writers#8){.+.+}-{0:0}, at: vfs_write+0x240/0x910 [ 32.431025][ T6089] #1: ffff0000daa79628 (&sb->s_type->i_mutex_key#16){+.+.}-{3:3}, at: generic_file_write_iter+0x88/0x2b4 [ 32.433587][ T6089] #2: ffff0000daa79478 (&HFS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0xe4/0x1130 [ 32.436086][ T6089] #3: ffff0000dbd820b0 (&tree->tree_lock/1){+.+.}-{3:3}, at: hfs_find_init+0x148/0x1c8 [ 32.438390][ T6089] #4: ffff0000daa780f8 (&HFS_I(tree->inode)->extents_lock){+.+.}-{3:3}, at: hfs_extend_file+0xe4/0x1130 [ 32.440926][ T6089] [ 32.440926][ T6089] stack backtrace: [ 32.442308][ T6089] CPU: 1 PID: 6089 Comm: syz-executor386 Not tainted 6.7.0-rc5-syzkaller-gd5b235ec8eab #0 [ 32.444491][ T6089] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 [ 32.446672][ T6089] Call trace: [ 32.447407][ T6089] dump_backtrace+0x1b8/0x1e4 [ 32.448428][ T6089] show_stack+0x2c/0x3c [ 32.449398][ T6089] dump_stack_lvl+0xd0/0x124 [ 32.450432][ T6089] dump_stack+0x1c/0x28 [ 32.451390][ T6089] print_deadlock_bug+0x4e4/0x660 [ 32.452580][ T6089] __lock_acquire+0x5fe4/0x763c [ 32.453684][ T6089] lock_acquire+0x23c/0x71c [ 32.454700][ T6089] __mutex_lock_common+0x190/0x21a0 [ 32.455862][ T6089] mutex_lock_nested+0x2c/0x38 [ 32.456942][ T6089] hfs_find_init+0x148/0x1c8 [ 32.457971][ T6089] hfs_extend_file+0x270/0x1130 [ 32.459083][ T6089] hfs_bmap_reserve+0xd0/0x3b4 [ 32.460148][ T6089] __hfs_ext_write_extent+0x1a0/0x468 [ 32.461341][ T6089] __hfs_ext_cache_extent+0x84/0x754 [ 32.462504][ T6089] hfs_extend_file+0x29c/0x1130 [ 32.463637][ T6089] hfs_get_block+0x3b8/0x9e0 [ 32.464705][ T6089] __block_write_begin_int+0x3f0/0x1504 [ 32.465936][ T6089] cont_write_begin+0x798/0xc38 [ 32.467030][ T6089] hfs_write_begin+0x98/0xe4 [ 32.467955][ T6089] generic_perform_write+0x28c/0x588 [ 32.469175][ T6089] __generic_file_write_iter+0xfc/0x204 [ 32.470450][ T6089] generic_file_write_iter+0xb8/0x2b4 [ 32.471660][ T6089] vfs_write+0x610/0x910 [ 32.472675][ T6089] ksys_write+0x15c/0x26c [ 32.473651][ T6089] __arm64_sys_write+0x7c/0x90 [ 32.474703][ T6089] invoke_syscall+0x98/0x2b8 [ 32.475761][ T6089] el0_svc_common+0x130/0x23c [ 32.476815][ T6089] do_el0_svc+0x48/0x58 [ 32.477797][ T6089] el0_svc+0x54/0x158 [ 32.478715][ T6089] el0t_64_sync_handler+0x84/0xfc [ 32.479896][ T6089] el0t_64_sync+0x190/0x194