Warning: Permanently added '10.128.15.203' (ED25519) to the list of known hosts. executing program [ 39.050537][ T3967] loop0: detected capacity change from 0 to 1024 [ 39.134817][ T3967] [ 39.135474][ T3967] ============================================ [ 39.137062][ T3967] WARNING: possible recursive locking detected [ 39.138584][ T3967] 5.15.159-syzkaller #0 Not tainted [ 39.139917][ T3967] -------------------------------------------- [ 39.141508][ T3967] syz-executor158/3967 is trying to acquire lock: [ 39.143196][ T3967] ffff0000cf031548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1194 [ 39.146022][ T3967] [ 39.146022][ T3967] but task is already holding lock: [ 39.147958][ T3967] ffff0000cf032988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 39.150844][ T3967] [ 39.150844][ T3967] other info that might help us debug this: [ 39.152919][ T3967] Possible unsafe locking scenario: [ 39.152919][ T3967] [ 39.154815][ T3967] CPU0 [ 39.155673][ T3967] ---- [ 39.156516][ T3967] lock(&HFSPLUS_I(inode)->extents_lock); [ 39.158043][ T3967] lock(&HFSPLUS_I(inode)->extents_lock); [ 39.159571][ T3967] [ 39.159571][ T3967] *** DEADLOCK *** [ 39.159571][ T3967] [ 39.161707][ T3967] May be due to missing lock nesting notation [ 39.161707][ T3967] [ 39.163902][ T3967] 4 locks held by syz-executor158/3967: [ 39.165345][ T3967] #0: ffff0000c8b74460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 39.167737][ T3967] #1: ffff0000cf032b80 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: do_truncate+0x1ac/0x28c [ 39.170420][ T3967] #2: ffff0000cf032988 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 39.173419][ T3967] #3: ffff0000cf4980f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x8c/0x800 [ 39.176136][ T3967] [ 39.176136][ T3967] stack backtrace: [ 39.177631][ T3967] CPU: 1 PID: 3967 Comm: syz-executor158 Not tainted 5.15.159-syzkaller #0 [ 39.179897][ T3967] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 39.182515][ T3967] Call trace: [ 39.183358][ T3967] dump_backtrace+0x0/0x530 [ 39.184511][ T3967] show_stack+0x2c/0x3c [ 39.185588][ T3967] dump_stack_lvl+0x108/0x170 [ 39.186820][ T3967] dump_stack+0x1c/0x58 [ 39.187905][ T3967] __lock_acquire+0x62bc/0x7638 [ 39.189191][ T3967] lock_acquire+0x240/0x77c [ 39.190373][ T3967] __mutex_lock_common+0x194/0x2154 [ 39.191693][ T3967] mutex_lock_nested+0xa4/0xf8 [ 39.192914][ T3967] hfsplus_get_block+0x2c4/0x1194 [ 39.194245][ T3967] block_read_full_page+0x2a0/0xc4c [ 39.195645][ T3967] hfsplus_readpage+0x28/0x38 [ 39.196873][ T3967] do_read_cache_page+0x60c/0x950 [ 39.198205][ T3967] read_cache_page+0x68/0x84 [ 39.199382][ T3967] hfsplus_block_allocate+0xe0/0x800 [ 39.200771][ T3967] hfsplus_file_extend+0x770/0x14e0 [ 39.202151][ T3967] hfsplus_get_block+0x398/0x1194 [ 39.203443][ T3967] __block_write_begin_int+0x3ec/0x1608 [ 39.204881][ T3967] cont_write_begin+0x538/0x710 [ 39.206113][ T3967] hfsplus_write_begin+0xa8/0xf8 [ 39.207422][ T3967] pagecache_write_begin+0xa0/0xc0 [ 39.208758][ T3967] cont_write_begin+0x26c/0x710 [ 39.210048][ T3967] hfsplus_write_begin+0xa8/0xf8 [ 39.211380][ T3967] pagecache_write_begin+0xa0/0xc0 [ 39.212731][ T3967] generic_cont_expand_simple+0x12c/0x208 [ 39.214218][ T3967] hfsplus_setattr+0x148/0x25c [ 39.215459][ T3967] notify_change+0xa34/0xcf8 [ 39.216637][ T3967] do_truncate+0x1c0/0x28c [ 39.217832][ T3967] vfs_truncate+0x2e0/0x388 [ 39.218977][ T3967] do_sys_truncate+0xec/0x1b4 [ 39.220159][ T3967] __arm64_sys_truncate+0x5c/0x70 [ 39.221532][ T3967] invoke_syscall+0x98/0x2b8 [ 39.222760][ T3967] el0_svc_common+0x138/0x258 [ 39.223964][ T3967] do_el0_svc+0x58/0x14c [ 39.225047][ T3967] el0_svc+0x7c/0x1f0 [ 39.226080][ T3967] el0t_64_sync_handler+0x84/0xe4 [ 39.227397][ T3967] el0t_64_sync+0x1a0/0x1a4