Warning: Permanently added '10.128.1.135' (ED25519) to the list of known hosts. executing program [ 41.895173][ T4292] loop0: detected capacity change from 0 to 1024 [ 41.920802][ T4291] [ 41.921408][ T4291] ============================================ [ 41.922975][ T4291] WARNING: possible recursive locking detected [ 41.924569][ T4291] 6.1.130-syzkaller #0 Not tainted [ 41.925960][ T4291] -------------------------------------------- [ 41.927573][ T4291] syz-executor308/4291 is trying to acquire lock: [ 41.929211][ T4291] ffff0000d9e39548 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_get_block+0x2c4/0x1168 [ 41.932024][ T4291] [ 41.932024][ T4291] but task is already holding lock: [ 41.933885][ T4291] ffff0000d9fc0e88 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x24c/0xa18 [ 41.936690][ T4291] [ 41.936690][ T4291] other info that might help us debug this: [ 41.938667][ T4291] Possible unsafe locking scenario: [ 41.938667][ T4291] [ 41.940637][ T4291] CPU0 [ 41.941452][ T4291] ---- [ 41.942271][ T4291] lock(&HFSPLUS_I(inode)->extents_lock); [ 41.943743][ T4291] lock(&HFSPLUS_I(inode)->extents_lock); [ 41.945287][ T4291] [ 41.945287][ T4291] *** DEADLOCK *** [ 41.945287][ T4291] [ 41.947241][ T4291] May be due to missing lock nesting notation [ 41.947241][ T4291] [ 41.949383][ T4291] 6 locks held by syz-executor308/4291: [ 41.950793][ T4291] #0: ffff0000da3c4460 (sb_writers#8){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c [ 41.953136][ T4291] #1: ffff0000d9fc09c0 (&type->i_mutex_dir_key#6/1){+.+.}-{3:3}, at: do_unlinkat+0x2d0/0x70c [ 41.955694][ T4291] #2: ffff0000d9fc1080 (&sb->s_type->i_mutex_key#17){+.+.}-{3:3}, at: vfs_unlink+0xd8/0x508 [ 41.958329][ T4291] #3: ffff0000c3416198 (&sbi->vh_mutex){+.+.}-{3:3}, at: hfsplus_unlink+0x144/0x6a0 [ 41.960740][ T4291] #4: ffff0000d9fc0e88 (&HFSPLUS_I(inode)->extents_lock){+.+.}-{3:3}, at: hfsplus_file_truncate+0x24c/0xa18 [ 41.963753][ T4291] #5: ffff0000c34160f8 (&sbi->alloc_mutex){+.+.}-{3:3}, at: hfsplus_block_free+0xcc/0x4b0 [ 41.966338][ T4291] [ 41.966338][ T4291] stack backtrace: [ 41.967815][ T4291] CPU: 0 PID: 4291 Comm: syz-executor308 Not tainted 6.1.130-syzkaller #0 [ 41.969927][ T4291] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 [ 41.972469][ T4291] Call trace: [ 41.973269][ T4291] dump_backtrace+0x1c8/0x1f4 [ 41.974492][ T4291] show_stack+0x2c/0x3c [ 41.975562][ T4291] dump_stack_lvl+0x108/0x170 [ 41.976711][ T4291] dump_stack+0x1c/0x58 [ 41.977865][ T4291] __lock_acquire+0x6310/0x7680 [ 41.979157][ T4291] lock_acquire+0x26c/0x7cc [ 41.980409][ T4291] __mutex_lock_common+0x190/0x21a0 [ 41.981795][ T4291] mutex_lock_nested+0x38/0x44 [ 41.983078][ T4291] hfsplus_get_block+0x2c4/0x1168 [ 41.984361][ T4291] block_read_full_folio+0x2f4/0x98c [ 41.985787][ T4291] hfsplus_read_folio+0x28/0x38 [ 41.987050][ T4291] filemap_read_folio+0x14c/0x39c [ 41.988364][ T4291] do_read_cache_folio+0x24c/0x544 [ 41.989640][ T4291] read_cache_page+0x6c/0x180 [ 41.990862][ T4291] hfsplus_block_free+0x11c/0x4b0 [ 41.992240][ T4291] hfsplus_free_extents+0x148/0x8d4 [ 41.993664][ T4291] hfsplus_file_truncate+0x674/0xa18 [ 41.995118][ T4291] hfsplus_delete_inode+0x154/0x200 [ 41.996563][ T4291] hfsplus_unlink+0x414/0x6a0 [ 41.997823][ T4291] vfs_unlink+0x2f0/0x508 [ 41.999010][ T4291] do_unlinkat+0x4cc/0x70c [ 42.000172][ T4291] __arm64_sys_unlinkat+0xcc/0xfc [ 42.001510][ T4291] invoke_syscall+0x98/0x2bc [ 42.002696][ T4291] el0_svc_common+0x138/0x258 [ 42.003882][ T4291] do_el0_svc+0x58/0x13c [ 42.004995][ T4291] el0_svc+0x58/0x168 [ 42.006014][ T4291] el0t_64_sync_handler+0x84/0xf0 [ 42.007291][ T4291] el0t_64_sync+0x18c/0x190 [ 42.009943][ T4291] hfsplus: unable to mark blocks free: error -5 [ 42.011482][ T4291] hfsplus: can't free extent [ 42.013283][ T4291] hfsplus: unable to mark blocks free: error -5 [ 42.015132][ T4291] hfsplus: can't free extent [ 42.017483][ T4291] hfsplus: unable to mark blocks free: error -5 [ 42.019055][ T4291] hfsplus: can't free extent [ 46.964922][ T11] hfsplus: b-tree write err: -5, ino 8