Warning: Permanently added '10.128.0.69' (ED25519) to the list of known hosts. executing program [ 42.590665][ T3966] loop0: detected capacity change from 0 to 1024 [ 42.674934][ T3966] [ 42.675561][ T3966] ============================================ [ 42.677068][ T3966] WARNING: possible recursive locking detected [ 42.678497][ T3966] 5.15.158-syzkaller #0 Not tainted [ 42.679745][ T3966] -------------------------------------------- [ 42.681273][ T3966] syz-executor985/3966 is trying to acquire lock: [ 42.682697][ T3966] ffff0000c99b1548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1194 [ 42.685288][ T3966] [ 42.685288][ T3966] but task is already holding lock: [ 42.687046][ T3966] ffff0000c99b07c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 42.689756][ T3966] [ 42.689756][ T3966] other info that might help us debug this: [ 42.691716][ T3966] Possible unsafe locking scenario: [ 42.691716][ T3966] [ 42.693570][ T3966] CPU0 [ 42.694391][ T3966] ---- [ 42.695188][ T3966] lock(&HFSPLUS_I(inode)->extents_lock); [ 42.696538][ T3966] lock(&HFSPLUS_I(inode)->extents_lock); [ 42.697966][ T3966] [ 42.697966][ T3966] *** DEADLOCK *** [ 42.697966][ T3966] [ 42.699940][ T3966] May be due to missing lock nesting notation [ 42.699940][ T3966] [ 42.701967][ T3966] 5 locks held by syz-executor985/3966: [ 42.703317][ T3966] #0: ffff0000d86100e0 (&type->s_umount_key#40/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 [ 42.705979][ T3966] #1: ffff0000c9835198 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_fill_super+0xf0c/0x167c [ 42.708400][ T3966] #2: ffff0000c911a0b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 42.710785][ T3966] #3: ffff0000c99b07c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 42.713593][ T3966] #4: ffff0000c98350f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x8c/0x800 [ 42.716252][ T3966] [ 42.716252][ T3966] stack backtrace: [ 42.717747][ T3966] CPU: 0 PID: 3966 Comm: syz-executor985 Not tainted 5.15.158-syzkaller #0 [ 42.719819][ T3966] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 42.722205][ T3966] Call trace: [ 42.722994][ T3966] dump_backtrace+0x0/0x530 [ 42.724068][ T3966] show_stack+0x2c/0x3c [ 42.725152][ T3966] dump_stack_lvl+0x108/0x170 [ 42.726285][ T3966] dump_stack+0x1c/0x58 [ 42.727346][ T3966] __lock_acquire+0x62bc/0x7638 [ 42.728612][ T3966] lock_acquire+0x240/0x77c [ 42.729739][ T3966] __mutex_lock_common+0x194/0x2154 [ 42.731014][ T3966] mutex_lock_nested+0xa4/0xf8 [ 42.732192][ T3966] hfsplus_get_block+0x2c4/0x1194 [ 42.733449][ T3966] block_read_full_page+0x2a0/0xc4c [ 42.734744][ T3966] hfsplus_readpage+0x28/0x38 [ 42.735890][ T3966] do_read_cache_page+0x60c/0x950 [ 42.737126][ T3966] read_cache_page+0x68/0x84 [ 42.738235][ T3966] hfsplus_block_allocate+0xe0/0x800 [ 42.739630][ T3966] hfsplus_file_extend+0x770/0x14e0 [ 42.740859][ T3966] hfsplus_bmap_reserve+0xec/0x474 [ 42.742128][ T3966] hfsplus_create_cat+0x18c/0x1330 [ 42.743497][ T3966] hfsplus_fill_super+0xf64/0x167c [ 42.744757][ T3966] mount_bdev+0x274/0x370 [ 42.745836][ T3966] hfsplus_mount+0x44/0x58 [ 42.746935][ T3966] legacy_get_tree+0xd4/0x16c [ 42.748050][ T3966] vfs_get_tree+0x90/0x274 [ 42.749165][ T3966] do_new_mount+0x278/0x8fc [ 42.750410][ T3966] path_mount+0x594/0x101c [ 42.751606][ T3966] __arm64_sys_mount+0x510/0x5e0 [ 42.752885][ T3966] invoke_syscall+0x98/0x2b8 [ 42.754007][ T3966] el0_svc_common+0x138/0x258 [ 42.755182][ T3966] do_el0_svc+0x58/0x14c [ 42.756280][ T3966] el0_svc+0x7c/0x1f0 [ 42.757296][ T3966] el0t_64_sync_handler+0x84/0xe4 [ 42.758565][ T3966] el0t_64_sync+0x1a0/0x1a4