------------[ cut here ]------------ WARNING: CPU: 1 PID: 5456 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 Modules linked in: CPU: 1 PID: 5456 Comm: syz-executor.2 Not tainted 5.15.157-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 pstate: 80401005 (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 : ffff80001cc67850 x29: ffff80001cc67860 x28: ffff70000398cf2c x27: 000000000000002b x26: dfff800000000000 x25: 0000000000000031 x24: ffff0000ca920010 x23: ffff0000d2115820 x22: 000000000000000c x21: ffff0000d9846000 x20: 0000000000000006 x19: ffff0000ca920058 x18: 1fffe0003690198e x17: 1fffe0003690198e x16: ffff8000082eca30 x15: ffff8000149dec20 x14: 1ffff0000292806a x13: dfff800000000000 x12: 0000000000040000 x11: 00000000000299cc x10: ffff80001dc79000 x9 : 00000000000299cd x8 : ffff800008fae7e8 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff8000082e117c x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000001 Call trace: hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 hfsplus_file_truncate+0x600/0x9cc fs/hfsplus/extents.c:606 hfsplus_setattr+0x18c/0x25c fs/hfsplus/inode.c:267 notify_change+0xa34/0xcf8 fs/attr.c:505 do_truncate+0x1c0/0x28c fs/open.c:65 do_sys_ftruncate+0x288/0x31c fs/open.c:193 __do_sys_ftruncate fs/open.c:204 [inline] __se_sys_ftruncate fs/open.c:202 [inline] __arm64_sys_ftruncate+0x60/0x74 fs/open.c:202 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 irq event stamp: 5640 hardirqs last enabled at (5639): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1338 [inline] hardirqs last enabled at (5639): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:4784 hardirqs last disabled at (5640): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:396 softirqs last enabled at (5524): [] softirq_handle_end kernel/softirq.c:401 [inline] softirqs last enabled at (5524): [] __do_softirq+0xb5c/0xdb0 kernel/softirq.c:587 softirqs last disabled at (5479): [] do_softirq_own_stack include/asm-generic/softirq_stack.h:10 [inline] softirqs last disabled at (5479): [] invoke_softirq kernel/softirq.c:439 [inline] softirqs last disabled at (5479): [] __irq_exit_rcu+0x264/0x4d4 kernel/softirq.c:637 ---[ end trace bb960f85ce7c7019 ]---