Warning: Permanently added '10.128.0.155' (ED25519) to the list of known hosts. executing program [ 41.759063][ T3971] loop0: detected capacity change from 0 to 1024 [ 41.768569][ T3971] [ 41.769298][ T3971] ============================================ [ 41.770890][ T3971] WARNING: possible recursive locking detected [ 41.772489][ T3971] 5.15.137-syzkaller #0 Not tainted [ 41.773899][ T3971] -------------------------------------------- [ 41.775481][ T3971] syz-executor262/3971 is trying to acquire lock: [ 41.777094][ T3971] ffff0000dc5f1548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1194 [ 41.780068][ T3971] [ 41.780068][ T3971] but task is already holding lock: [ 41.781988][ T3971] ffff0000dc5f07c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 41.784888][ T3971] [ 41.784888][ T3971] other info that might help us debug this: [ 41.787095][ T3971] Possible unsafe locking scenario: [ 41.787095][ T3971] [ 41.789073][ T3971] CPU0 [ 41.789921][ T3971] ---- [ 41.790774][ T3971] lock(&HFSPLUS_I(inode)->extents_lock); [ 41.792313][ T3971] lock(&HFSPLUS_I(inode)->extents_lock); [ 41.793834][ T3971] [ 41.793834][ T3971] *** DEADLOCK *** [ 41.793834][ T3971] [ 41.795990][ T3971] May be due to missing lock nesting notation [ 41.795990][ T3971] [ 41.798107][ T3971] 5 locks held by syz-executor262/3971: [ 41.799548][ T3971] #0: ffff0000dc6020e0 (&type->s_umount_key#40/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 [ 41.802275][ T3971] #1: ffff0000c82ea998 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_fill_super+0xf0c/0x167c [ 41.804970][ T3971] #2: ffff0000dc6060b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 41.807537][ T3971] #3: ffff0000dc5f07c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 41.810579][ T3971] #4: ffff0000c82ea8f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x8c/0x800 [ 41.813289][ T3971] [ 41.813289][ T3971] stack backtrace: [ 41.814866][ T3971] CPU: 1 PID: 3971 Comm: syz-executor262 Not tainted 5.15.137-syzkaller #0 [ 41.817179][ T3971] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 [ 41.819929][ T3971] Call trace: [ 41.820785][ T3971] dump_backtrace+0x0/0x530 [ 41.822035][ T3971] show_stack+0x2c/0x3c [ 41.823109][ T3971] dump_stack_lvl+0x108/0x170 [ 41.824402][ T3971] dump_stack+0x1c/0x58 [ 41.825496][ T3971] __lock_acquire+0x62b4/0x7620 [ 41.826813][ T3971] lock_acquire+0x240/0x77c [ 41.828035][ T3971] __mutex_lock_common+0x194/0x2154 [ 41.829364][ T3971] mutex_lock_nested+0xa4/0xf8 [ 41.830600][ T3971] hfsplus_get_block+0x2c4/0x1194 [ 41.831879][ T3971] block_read_full_page+0x2a0/0xc4c [ 41.833306][ T3971] hfsplus_readpage+0x28/0x38 [ 41.834523][ T3971] do_read_cache_page+0x60c/0x950 [ 41.835830][ T3971] read_cache_page+0x68/0x84 [ 41.837123][ T3971] hfsplus_block_allocate+0xe0/0x800 [ 41.838530][ T3971] hfsplus_file_extend+0x770/0x14e0 [ 41.839998][ T3971] hfsplus_bmap_reserve+0xec/0x474 [ 41.841368][ T3971] hfsplus_create_cat+0x18c/0x1330 [ 41.842708][ T3971] hfsplus_fill_super+0xf64/0x167c [ 41.844060][ T3971] mount_bdev+0x274/0x370 [ 41.845276][ T3971] hfsplus_mount+0x44/0x58 [ 41.846479][ T3971] legacy_get_tree+0xd4/0x16c [ 41.847760][ T3971] vfs_get_tree+0x90/0x274 [ 41.848964][ T3971] do_new_mount+0x25c/0x8c4 [ 41.850116][ T3971] path_mount+0x594/0x101c [ 41.851271][ T3971] __arm64_sys_mount+0x510/0x5e0 [ 41.852643][ T3971] invoke_syscall+0x98/0x2b8 [ 41.853836][ T3971] el0_svc_common+0x138/0x258 [ 41.855119][ T3971] do_el0_svc+0x58/0x14c [ 41.856282][ T3971] el0_svc+0x7c/0x1f0 [ 41.857287][ T3971] el0t_64_sync_handler+0x84/0xe4 [ 41.858600][ T3971] el0t_64_sync+0x1a0/0x1a4