------------[ cut here ]------------ WARNING: CPU: 1 PID: 7508 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 Modules linked in: CPU: 1 UID: 0 PID: 7508 Comm: syz.7.141 Not tainted 6.14.0-rc7-syzkaller-ga2392f333575 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 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 : ffff80009ebc6670 x29: ffff80009ebc6680 x28: ffff700013d78cf0 x27: dfff800000000000 x26: dfff800000000000 x25: 00000000000000c4 x24: 00000000000000c7 x23: ffff0000f843b020 x22: 0000000000000021 x21: ffff0000ca330000 x20: 0000000000000003 x19: ffff0000f3e25158 x18: ffff0000f3e25158 x17: 00000000000371b0 x16: ffff800080bf8390 x15: 0000000000000001 x14: 1fffe0001b2e9409 x13: 0000000000000000 x12: 0000000000000000 x11: ffff60001b2e940a x10: 0000000000ff0100 x9 : 0000000000000000 x8 : ffff0000c8c40000 x7 : 01000000e5010000 x6 : 10000000c8010000 x5 : ffff0000f3e25198 x4 : ffff0000f54300a6 x3 : ffff80008045ebc8 x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000001 Call trace: hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 (P) hfsplus_file_truncate+0x458/0xa18 fs/hfsplus/extents.c:608 hfsplus_write_failed+0x88/0xa4 fs/hfsplus/inode.c:37 hfsplus_write_begin+0xc0/0xc4 fs/hfsplus/inode.c:50 generic_perform_write+0x29c/0x868 mm/filemap.c:4102 __generic_file_write_iter+0xfc/0x204 mm/filemap.c:4203 generic_file_write_iter+0x108/0x4b4 mm/filemap.c:4229 __kernel_write_iter+0x340/0x7a0 fs/read_write.c:612 dump_emit_page fs/coredump.c:885 [inline] dump_user_range+0x378/0x6c8 fs/coredump.c:946 elf_core_dump+0x336c/0x3c38 fs/binfmt_elf.c:2129 do_coredump+0x1d30/0x29a8 fs/coredump.c:759 get_signal+0xf6c/0x1500 kernel/signal.c:3021 do_signal+0x1a4/0x3a04 arch/arm64/kernel/signal.c:1658 do_notify_resume+0x74/0x1f4 arch/arm64/kernel/entry-common.c:148 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline] el0_ia+0x104/0x248 arch/arm64/kernel/entry-common.c:623 el0t_64_sync_handler+0xb4/0x108 arch/arm64/kernel/entry-common.c:768 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 7910 hardirqs last enabled at (7909): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (7909): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (7910): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (5356): [] softirq_handle_end kernel/softirq.c:407 [inline] softirqs last enabled at (5356): [] handle_softirqs+0xb44/0xd34 kernel/softirq.c:589 softirqs last disabled at (5341): [] __do_softirq+0x14/0x20 kernel/softirq.c:595 ---[ end trace 0000000000000000 ]---