Warning: Permanently added '10.128.0.236' (ED25519) to the list of known hosts. executing program [ 34.576429][ T4221] loop0: detected capacity change from 0 to 1024 [ 34.585890][ T4221] [ 34.586544][ T4221] ============================================ [ 34.588176][ T4221] WARNING: possible recursive locking detected [ 34.589726][ T4221] 6.1.82-syzkaller #0 Not tainted [ 34.591016][ T4221] -------------------------------------------- [ 34.592594][ T4221] syz-executor373/4221 is trying to acquire lock: [ 34.594213][ T4221] ffff0000d8001548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1168 [ 34.597067][ T4221] [ 34.597067][ T4221] but task is already holding lock: [ 34.598989][ T4221] ffff0000d80007c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14cc [ 34.601825][ T4221] [ 34.601825][ T4221] other info that might help us debug this: [ 34.603953][ T4221] Possible unsafe locking scenario: [ 34.603953][ T4221] [ 34.605897][ T4221] CPU0 [ 34.606716][ T4221] ---- [ 34.607567][ T4221] lock(&HFSPLUS_I(inode)->extents_lock); [ 34.609030][ T4221] lock(&HFSPLUS_I(inode)->extents_lock); [ 34.610573][ T4221] [ 34.610573][ T4221] *** DEADLOCK *** [ 34.610573][ T4221] [ 34.612684][ T4221] May be due to missing lock nesting notation [ 34.612684][ T4221] [ 34.614824][ T4221] 5 locks held by syz-executor373/4221: [ 34.616246][ T4221] #0: ffff0000d7ca40e0 (&type->s_umount_key#39/1){+.+.}-{3:3}, at: alloc_super+0x1b4/0x824 [ 34.618901][ T4221] #1: ffff0000d45b5998 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_fill_super+0xf08/0x166c [ 34.621552][ T4221] #2: ffff0000d7dae0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 34.624152][ T4221] #3: ffff0000d80007c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14cc [ 34.627155][ T4221] #4: ffff0000d45b58f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x90/0x818 [ 34.629837][ T4221] [ 34.629837][ T4221] stack backtrace: [ 34.631369][ T4221] CPU: 0 PID: 4221 Comm: syz-executor373 Not tainted 6.1.82-syzkaller #0 [ 34.633541][ T4221] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 [ 34.636160][ T4221] Call trace: [ 34.637004][ T4221] dump_backtrace+0x1c8/0x1f4 [ 34.638211][ T4221] show_stack+0x2c/0x3c [ 34.639301][ T4221] dump_stack_lvl+0x108/0x170 [ 34.640510][ T4221] dump_stack+0x1c/0x58 [ 34.641577][ T4221] __lock_acquire+0x6310/0x7680 [ 34.642802][ T4221] lock_acquire+0x26c/0x7cc [ 34.643955][ T4221] __mutex_lock_common+0x190/0x21a0 [ 34.645316][ T4221] mutex_lock_nested+0x38/0x44 [ 34.646560][ T4221] hfsplus_get_block+0x2c4/0x1168 [ 34.647873][ T4221] block_read_full_folio+0x2f4/0x98c [ 34.649268][ T4221] hfsplus_read_folio+0x28/0x38 [ 34.650521][ T4221] filemap_read_folio+0x14c/0x39c [ 34.651810][ T4221] do_read_cache_folio+0x24c/0x544 [ 34.653116][ T4221] read_cache_page+0x6c/0x180 [ 34.654335][ T4221] hfsplus_block_allocate+0xe0/0x818 [ 34.655684][ T4221] hfsplus_file_extend+0x770/0x14cc [ 34.657025][ T4221] hfsplus_bmap_reserve+0xec/0x474 [ 34.658356][ T4221] hfsplus_create_cat+0x18c/0x1330 [ 34.659656][ T4221] hfsplus_fill_super+0xf60/0x166c [ 34.660995][ T4221] mount_bdev+0x274/0x370 [ 34.662086][ T4221] hfsplus_mount+0x44/0x58 [ 34.663225][ T4221] legacy_get_tree+0xd4/0x16c [ 34.664412][ T4221] vfs_get_tree+0x90/0x274 [ 34.665550][ T4221] do_new_mount+0x278/0x8fc [ 34.666709][ T4221] path_mount+0x590/0xe5c [ 34.667839][ T4221] __arm64_sys_mount+0x45c/0x594 [ 34.669099][ T4221] invoke_syscall+0x98/0x2c0 [ 34.670264][ T4221] el0_svc_common+0x138/0x258 [ 34.671469][ T4221] do_el0_svc+0x64/0x218 [ 34.672539][ T4221] el0_svc+0x58/0x168 [ 34.673549][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 34.674847][ T4221] el0t_64_sync+0x18c/0x190