------------[ cut here ]------------ WARNING: CPU: 0 PID: 6170 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 Modules linked in: CPU: 0 PID: 6170 Comm: syz.3.464 Not tainted 6.1.116-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 lr : hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 sp : ffff800023d27770 x29: ffff800023d27780 x28: ffff7000047a4f10 x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000001 x23: ffff0000fded9020 x22: 0000000000000001 x21: ffff0000dde20000 x20: 0000000000000001 x19: ffff0000d2d106d8 x18: 1fffe0003679ed76 x17: ffff8000159dd000 x16: ffff800008305dfc x15: ffff0001b3cf6bbc x14: 1ffff00002b3c0b0 x13: dfff800000000000 x12: 0000000000040000 x11: 000000000001cd80 x10: ffff80002372d000 x9 : ffff80000907e79c x8 : 000000000001cd81 x7 : ffff80000827d390 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff8000082fb2a4 x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000001 Call trace: hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 hfsplus_file_truncate+0x674/0xa18 fs/hfsplus/extents.c:592 hfsplus_delete_inode+0x154/0x200 hfsplus_unlink+0x414/0x6a0 fs/hfsplus/dir.c:405 vfs_unlink+0x2f0/0x508 fs/namei.c:4322 do_unlinkat+0x4cc/0x70c fs/namei.c:4390 __do_sys_unlinkat fs/namei.c:4433 [inline] __se_sys_unlinkat fs/namei.c:4426 [inline] __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4426 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 irq event stamp: 248 hardirqs last enabled at (247): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (247): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000 hardirqs last disabled at (248): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (10): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (8): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---