------------[ cut here ]------------ WARNING: CPU: 0 PID: 4397 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 Modules linked in: CPU: 0 PID: 4397 Comm: syz.1.2 Not tainted 6.1.127-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 pstate: 60400005 (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 : ffff800021767710 x29: ffff800021767720 x28: ffff7000042ecf04 x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000041 x24: 0000000000000043 x23: ffff0000f4398020 x22: 0000000000000018 x21: ffff0000d07f6000 x20: 0000000000000002 x19: ffff0000df4b2f98 x18: ffff800021767240 x17: ffff800018b7d000 x16: ffff8000089758e8 x15: 0000000000000002 x14: 00000000fffffffe x13: 0000000000000000 x12: 0000000000080000 x11: 000000000007ffff x10: ffff800027de9000 x9 : ffff80000907b464 x8 : 0000000000080000 x7 : 0100000098000000 x6 : 0c00000035000000 x5 : ffff0000df4b2fd8 x4 : ffff0000f64430a6 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: 6050 hardirqs last enabled at (6049): [] folio_memcg_lock+0xf4/0x20c mm/memcontrol.c:2110 hardirqs last disabled at (6050): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (806): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (804): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---