Warning: Permanently added '10.128.0.167' (ED25519) to the list of known hosts. executing program [ 44.748614][ T4017] loop0: detected capacity change from 0 to 1024 [ 44.838175][ T4017] [ 44.838847][ T4017] ============================================ [ 44.840310][ T4017] WARNING: possible recursive locking detected [ 44.841781][ T4017] 5.15.167-syzkaller #0 Not tainted [ 44.843081][ T4017] -------------------------------------------- [ 44.844558][ T4017] syz-executor296/4017 is trying to acquire lock: [ 44.846169][ T4017] ffff0000cadb9548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1194 [ 44.848837][ T4017] [ 44.848837][ T4017] but task is already holding lock: [ 44.850688][ T4017] ffff0000cadb87c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 44.852821][ T4017] [ 44.852821][ T4017] other info that might help us debug this: [ 44.854677][ T4017] Possible unsafe locking scenario: [ 44.854677][ T4017] [ 44.856418][ T4017] CPU0 [ 44.857223][ T4017] ---- [ 44.858007][ T4017] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.859167][ T4017] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.860472][ T4017] [ 44.860472][ T4017] *** DEADLOCK *** [ 44.860472][ T4017] [ 44.862470][ T4017] May be due to missing lock nesting notation [ 44.862470][ T4017] [ 44.864495][ T4017] 5 locks held by syz-executor296/4017: [ 44.865911][ T4017] #0: ffff0000dad940e0 (&type->s_umount_key#40/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 [ 44.868317][ T4017] #1: ffff0000c7d4e198 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_fill_super+0xf0c/0x167c [ 44.870735][ T4017] #2: ffff0000c839a0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 44.872962][ T4017] #3: ffff0000cadb87c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 44.875873][ T4017] #4: ffff0000c7d4e0f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x8c/0x800 [ 44.878457][ T4017] [ 44.878457][ T4017] stack backtrace: [ 44.879895][ T4017] CPU: 0 PID: 4017 Comm: syz-executor296 Not tainted 5.15.167-syzkaller #0 [ 44.881962][ T4017] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 44.884333][ T4017] Call trace: [ 44.885127][ T4017] dump_backtrace+0x0/0x530 [ 44.886177][ T4017] show_stack+0x2c/0x3c [ 44.887186][ T4017] dump_stack_lvl+0x108/0x170 [ 44.888318][ T4017] dump_stack+0x1c/0x58 [ 44.889336][ T4017] __lock_acquire+0x62bc/0x7638 [ 44.890503][ T4017] lock_acquire+0x240/0x77c [ 44.891594][ T4017] __mutex_lock_common+0x194/0x2154 [ 44.892780][ T4017] mutex_lock_nested+0xa4/0xf8 [ 44.893940][ T4017] hfsplus_get_block+0x2c4/0x1194 [ 44.895130][ T4017] block_read_full_page+0x2a0/0xc4c [ 44.896347][ T4017] hfsplus_readpage+0x28/0x38 [ 44.897470][ T4017] do_read_cache_page+0x60c/0x950 [ 44.898684][ T4017] read_cache_page+0x68/0x84 [ 44.899803][ T4017] hfsplus_block_allocate+0xe0/0x800 [ 44.901057][ T4017] hfsplus_file_extend+0x770/0x14e0 [ 44.902278][ T4017] hfsplus_bmap_reserve+0xec/0x474 [ 44.903500][ T4017] hfsplus_create_cat+0x18c/0x1330 [ 44.904686][ T4017] hfsplus_fill_super+0xf64/0x167c [ 44.905887][ T4017] mount_bdev+0x274/0x370 [ 44.906953][ T4017] hfsplus_mount+0x44/0x58 [ 44.908024][ T4017] legacy_get_tree+0xd4/0x16c [ 44.909166][ T4017] vfs_get_tree+0x90/0x274 [ 44.910215][ T4017] do_new_mount+0x278/0x8fc [ 44.911317][ T4017] path_mount+0x594/0x101c [ 44.912399][ T4017] __arm64_sys_mount+0x510/0x5e0 [ 44.913599][ T4017] invoke_syscall+0x98/0x2b8 [ 44.914754][ T4017] el0_svc_common+0x138/0x258 [ 44.915723][ T4017] do_el0_svc+0x58/0x14c [ 44.916733][ T4017] el0_svc+0x7c/0x1f0 [ 44.917711][ T4017] el0t_64_sync_handler+0x84/0xe4 [ 44.918939][ T4017] el0t_64_sync+0x1a0/0x1a4