------------[ cut here ]------------ WARNING: CPU: 0 PID: 4881 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 Modules linked in: CPU: 0 PID: 4881 Comm: syz.0.96 Not tainted 6.1.126-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 : ffff800022257710 x29: ffff800022257720 x28: ffff70000444af04 x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000041 x24: 0000000000000042 x23: ffff0000ce78b820 x22: 000000000000001f x21: ffff0000cff0a000 x20: 0000000000000001 x19: ffff0000f6df8dd8 x18: ffff800022257240 x17: ffff800018b7c000 x16: ffff800008975814 x15: 0000000000000002 x14: 00000000fffffffe x13: 02000000ab000000 x12: 0000000000080000 x11: 000000000004b2ba x10: ffff800024ea9000 x9 : ffff80000907b32c x8 : 000000000004b2bb x7 : 030000007d000000 x6 : 100000005d000000 x5 : ffff0000f6df8e18 x4 : ffff0000f57130a6 x3 : ffff8000082f6a3c 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: 2534 hardirqs last enabled at (2533): [] folio_memcg_lock+0xf4/0x20c mm/memcontrol.c:2110 hardirqs last disabled at (2534): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (854): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (852): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---