Warning: Permanently added '10.128.1.86' (ED25519) to the list of known hosts. executing program [ 31.649882][ T4221] loop0: detected capacity change from 0 to 1024 [ 31.660185][ T4221] [ 31.660770][ T4221] ============================================ [ 31.662128][ T4221] WARNING: possible recursive locking detected [ 31.663572][ T4221] 6.1.74-syzkaller #0 Not tainted [ 31.664704][ T4221] -------------------------------------------- [ 31.666017][ T4221] syz-executor304/4221 is trying to acquire lock: [ 31.667472][ T4221] ffff0000d7d19548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1168 [ 31.669976][ T4221] [ 31.669976][ T4221] but task is already holding lock: [ 31.671674][ T4221] ffff0000d7d187c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14cc [ 31.674187][ T4221] [ 31.674187][ T4221] other info that might help us debug this: [ 31.676030][ T4221] Possible unsafe locking scenario: [ 31.676030][ T4221] [ 31.677657][ T4221] CPU0 [ 31.678413][ T4221] ---- [ 31.679125][ T4221] lock(&HFSPLUS_I(inode)->extents_lock); [ 31.680376][ T4221] lock(&HFSPLUS_I(inode)->extents_lock); [ 31.681656][ T4221] [ 31.681656][ T4221] *** DEADLOCK *** [ 31.681656][ T4221] [ 31.683447][ T4221] May be due to missing lock nesting notation [ 31.683447][ T4221] [ 31.685230][ T4221] 5 locks held by syz-executor304/4221: [ 31.686639][ T4221] #0: ffff0000d337c0e0 (&type->s_umount_key#39/1){+.+.}-{3:3}, at: alloc_super+0x1b4/0x824 [ 31.689014][ T4221] #1: ffff0000d0418998 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_fill_super+0xf08/0x166c [ 31.691221][ T4221] #2: ffff0000d33780b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 31.693545][ T4221] #3: ffff0000d7d187c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14cc [ 31.696054][ T4221] #4: ffff0000d04188f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x90/0x818 [ 31.698412][ T4221] [ 31.698412][ T4221] stack backtrace: [ 31.699683][ T4221] CPU: 0 PID: 4221 Comm: syz-executor304 Not tainted 6.1.74-syzkaller #0 [ 31.701584][ T4221] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 [ 31.703758][ T4221] Call trace: [ 31.704533][ T4221] dump_backtrace+0x1c8/0x1f4 [ 31.705650][ T4221] show_stack+0x2c/0x3c [ 31.706678][ T4221] dump_stack_lvl+0x108/0x170 [ 31.707720][ T4221] dump_stack+0x1c/0x58 [ 31.708689][ T4221] __lock_acquire+0x6310/0x7680 [ 31.709868][ T4221] lock_acquire+0x26c/0x7cc [ 31.710866][ T4221] __mutex_lock_common+0x190/0x21a0 [ 31.711996][ T4221] mutex_lock_nested+0x38/0x44 [ 31.713188][ T4221] hfsplus_get_block+0x2c4/0x1168 [ 31.714406][ T4221] block_read_full_folio+0x2f4/0x98c [ 31.715595][ T4221] hfsplus_read_folio+0x28/0x38 [ 31.716629][ T4221] filemap_read_folio+0x14c/0x39c [ 31.717765][ T4221] do_read_cache_folio+0x24c/0x544 [ 31.718909][ T4221] read_cache_page+0x6c/0x180 [ 31.719974][ T4221] hfsplus_block_allocate+0xe0/0x818 [ 31.721103][ T4221] hfsplus_file_extend+0x770/0x14cc [ 31.722181][ T4221] hfsplus_bmap_reserve+0xec/0x474 [ 31.723317][ T4221] hfsplus_create_cat+0x18c/0x1330 [ 31.724533][ T4221] hfsplus_fill_super+0xf60/0x166c [ 31.725725][ T4221] mount_bdev+0x274/0x370 [ 31.726635][ T4221] hfsplus_mount+0x44/0x58 [ 31.727739][ T4221] legacy_get_tree+0xd4/0x16c [ 31.728759][ T4221] vfs_get_tree+0x90/0x274 [ 31.729740][ T4221] do_new_mount+0x25c/0x8c4 [ 31.730719][ T4221] path_mount+0x590/0xe5c [ 31.731758][ T4221] __arm64_sys_mount+0x45c/0x594 [ 31.732845][ T4221] invoke_syscall+0x98/0x2c0 [ 31.733919][ T4221] el0_svc_common+0x138/0x258 [ 31.734961][ T4221] do_el0_svc+0x64/0x218 [ 31.735899][ T4221] el0_svc+0x58/0x168 [ 31.736791][ T4221] el0t_64_sync_handler+0x84/0xf0 [ 31.737972][ T4221] el0t_64_sync+0x18c/0x190