------------[ cut here ]------------ WARNING: CPU: 1 PID: 10212 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 Modules linked in: CPU: 1 PID: 10212 Comm: syz-executor.4 Not tainted 6.8.0-rc7-syzkaller-g707081b61156 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/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 : ffff800098f37870 x29: ffff800098f37880 x28: ffff7000131e6f30 x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000023 x24: ffff800098f379b0 x23: ffff0000c7962020 x22: 0000000000000025 x21: ffff0000c6568000 x20: 0000000000000002 x19: ffff0000fb02b618 x18: 1fffe00036804396 x17: ffff80008ec9d000 x16: ffff80008032116c x15: 0000000000000001 x14: 1fffe00018cad809 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000040000 x10: 00000000000103e2 x9 : ffff8000997cd000 x8 : 00000000000103e3 x7 : ffff800080297c0c x6 : 0000000000000000 x5 : 0000000000000001 x4 : 0000000000000001 x3 : ffff8000803175b8 x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000001 Call trace: hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 hfsplus_file_truncate+0x698/0x9b8 fs/hfsplus/extents.c:591 hfsplus_setattr+0x18c/0x244 fs/hfsplus/inode.c:265 notify_change+0x9d4/0xc8c fs/attr.c:499 do_truncate+0x1c0/0x28c fs/open.c:66 do_sys_ftruncate+0x284/0x318 fs/open.c:194 __do_sys_ftruncate fs/open.c:205 [inline] __se_sys_ftruncate fs/open.c:203 [inline] __arm64_sys_ftruncate+0x60/0x74 fs/open.c:203 __invoke_syscall arch/arm64/kernel/syscall.c:34 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:48 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:133 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:152 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:712 el0t_64_sync_handler+0x84/0xfc arch/arm64/kernel/entry-common.c:730 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:598 irq event stamp: 962 hardirqs last enabled at (961): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1397 [inline] hardirqs last enabled at (961): [] finish_lock_switch+0xbc/0x1e4 kernel/sched/core.c:5154 hardirqs last disabled at (962): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:470 softirqs last enabled at (958): [] softirq_handle_end kernel/softirq.c:399 [inline] softirqs last enabled at (958): [] __do_softirq+0xac8/0xce4 kernel/softirq.c:582 softirqs last disabled at (833): [] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:81 ---[ end trace 0000000000000000 ]---