------------[ cut here ]------------ WARNING: CPU: 1 PID: 4609 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 Modules linked in: CPU: 1 PID: 4609 Comm: syz.1.43 Not tainted 6.1.127-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 : ffff800021617710 x29: ffff800021617720 x28: ffff7000042c2f04 x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000041 x24: 000000000000004e x23: ffff0000c3f5c020 x22: 000000000000002b x21: ffff0000cb54a000 x20: 000000000000000d x19: ffff0000c9b028d8 x18: ffff800021617240 x17: ffff800018b7d000 x16: ffff8000089758e8 x15: 0000000000000002 x14: 00000000fffffffe x13: 10000000bf000000 x12: 0000000000080000 x11: 0000000000049abd x10: ffff8000287a9000 x9 : ffff80000907b464 x8 : 0000000000049abe x7 : 030000007d000000 x6 : 100000005d000000 x5 : ffff0000c9b02918 x4 : ffff0000f97e40a6 x3 : ffff8000082f6a44 x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000001 Call trace: hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 hfsplus_file_truncate+0x458/0xa18 fs/hfsplus/extents.c:608 hfsplus_file_release+0xe8/0x3a0 fs/hfsplus/inode.c:238 __fput+0x1c8/0x7c8 fs/file_table.c:320 ____fput+0x20/0x30 fs/file_table.c:348 task_work_run+0x240/0x2f0 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] do_notify_resume+0x2080/0x2cb8 arch/arm64/kernel/signal.c:1132 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:137 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:142 [inline] el0_svc+0x9c/0x168 arch/arm64/kernel/entry-common.c:638 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: 2772 hardirqs last enabled at (2771): [] folio_memcg_lock+0xf4/0x20c mm/memcontrol.c:2110 hardirqs last disabled at (2772): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (1028): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (1026): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---