Warning: Permanently added '10.128.0.49' (ED25519) to the list of known hosts. executing program [ 44.007944][ T4016] loop0: detected capacity change from 0 to 1024 [ 44.090940][ T4016] [ 44.091628][ T4016] ============================================ [ 44.093144][ T4016] WARNING: possible recursive locking detected [ 44.094655][ T4016] 5.15.165-syzkaller #0 Not tainted [ 44.095942][ T4016] -------------------------------------------- [ 44.097456][ T4016] syz-executor136/4016 is trying to acquire lock: [ 44.099067][ T4016] ffff0000c8f21548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1194 [ 44.101775][ T4016] [ 44.101775][ T4016] but task is already holding lock: [ 44.103654][ T4016] ffff0000c8f207c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 44.106483][ T4016] [ 44.106483][ T4016] other info that might help us debug this: [ 44.108555][ T4016] Possible unsafe locking scenario: [ 44.108555][ T4016] [ 44.110416][ T4016] CPU0 [ 44.111258][ T4016] ---- [ 44.112074][ T4016] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.113531][ T4016] lock(&HFSPLUS_I(inode)->extents_lock); [ 44.114981][ T4016] [ 44.114981][ T4016] *** DEADLOCK *** [ 44.114981][ T4016] [ 44.117037][ T4016] May be due to missing lock nesting notation [ 44.117037][ T4016] [ 44.119173][ T4016] 5 locks held by syz-executor136/4016: [ 44.120587][ T4016] #0: ffff0000cbe100e0 (&type->s_umount_key#40/1){+.+.}-{3:3}, at: alloc_super+0x1b8/0x844 [ 44.123162][ T4016] #1: ffff0000ca344998 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_fill_super+0xf0c/0x167c [ 44.125670][ T4016] #2: ffff0000dcf120b0 (&tree->tree_lock){+.+.}-{3:3}, at: hfsplus_find_init+0x144/0x1bc [ 44.128219][ T4016] #3: ffff0000c8f207c8 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_extend+0x198/0x14e0 [ 44.131170][ T4016] #4: ffff0000ca3448f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_allocate+0x8c/0x800 [ 44.133822][ T4016] [ 44.133822][ T4016] stack backtrace: [ 44.135360][ T4016] CPU: 1 PID: 4016 Comm: syz-executor136 Not tainted 5.15.165-syzkaller #0 [ 44.137509][ T4016] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 [ 44.140014][ T4016] Call trace: [ 44.140868][ T4016] dump_backtrace+0x0/0x530 [ 44.142002][ T4016] show_stack+0x2c/0x3c [ 44.143067][ T4016] dump_stack_lvl+0x108/0x170 [ 44.144273][ T4016] dump_stack+0x1c/0x58 [ 44.145311][ T4016] __lock_acquire+0x62bc/0x7638 [ 44.146527][ T4016] lock_acquire+0x240/0x77c [ 44.147722][ T4016] __mutex_lock_common+0x194/0x2154 [ 44.149028][ T4016] mutex_lock_nested+0xa4/0xf8 [ 44.150224][ T4016] hfsplus_get_block+0x2c4/0x1194 [ 44.151475][ T4016] block_read_full_page+0x2a0/0xc4c [ 44.152778][ T4016] hfsplus_readpage+0x28/0x38 [ 44.153928][ T4016] do_read_cache_page+0x60c/0x950 [ 44.155169][ T4016] read_cache_page+0x68/0x84 [ 44.156358][ T4016] hfsplus_block_allocate+0xe0/0x800 [ 44.157691][ T4016] hfsplus_file_extend+0x770/0x14e0 [ 44.158975][ T4016] hfsplus_bmap_reserve+0xec/0x474 [ 44.160246][ T4016] hfsplus_create_cat+0x18c/0x1330 [ 44.161518][ T4016] hfsplus_fill_super+0xf64/0x167c [ 44.162821][ T4016] mount_bdev+0x274/0x370 [ 44.163891][ T4016] hfsplus_mount+0x44/0x58 [ 44.165024][ T4016] legacy_get_tree+0xd4/0x16c [ 44.166256][ T4016] vfs_get_tree+0x90/0x274 [ 44.167365][ T4016] do_new_mount+0x278/0x8fc [ 44.168474][ T4016] path_mount+0x594/0x101c [ 44.169612][ T4016] __arm64_sys_mount+0x510/0x5e0 [ 44.170874][ T4016] invoke_syscall+0x98/0x2b8 [ 44.172088][ T4016] el0_svc_common+0x138/0x258 [ 44.173320][ T4016] do_el0_svc+0x58/0x14c [ 44.174417][ T4016] el0_svc+0x7c/0x1f0 [ 44.175437][ T4016] el0t_64_sync_handler+0x84/0xe4 [ 44.176712][ T4016] el0t_64_sync+0x1a0/0x1a4