------------[ cut here ]------------ WARNING: CPU: 1 PID: 7182 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 Modules linked in: CPU: 1 PID: 7182 Comm: syz.1.806 Not tainted 6.1.110-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/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 : ffff800022007770 x29: ffff800022007780 x28: ffff700004400f10 x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000000 x24: 0000000000000001 x23: ffff0000cf6eb820 x22: 0000000000000001 x21: ffff0000d7a5a000 x20: 0000000000000001 x19: ffff0000d497bcd8 x18: 1fffe000367a3376 x17: ffff8000159cd000 x16: ffff800008305998 x15: ffff0001b3d19bbc x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: 0000000000040000 x11: 0000000000017f3d x10: ffff800030800000 x9 : ffff800009082d20 x8 : 0000000000017f3e x7 : ffff80000827d484 x6 : 0000000000000000 x5 : 0000000000000080 x4 : 0000000000000001 x3 : ffff8000082fae40 x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000001 Call trace: hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 hfsplus_file_truncate+0x674/0xa18 fs/hfsplus/extents.c:592 hfsplus_delete_inode+0x154/0x200 hfsplus_unlink+0x414/0x6a0 fs/hfsplus/dir.c:405 vfs_unlink+0x2f0/0x508 fs/namei.c:4324 do_unlinkat+0x4cc/0x70c fs/namei.c:4392 __do_sys_unlinkat fs/namei.c:4435 [inline] __se_sys_unlinkat fs/namei.c:4428 [inline] __arm64_sys_unlinkat+0xcc/0xfc fs/namei.c:4428 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 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: 242 hardirqs last enabled at (241): [] raw_spin_rq_unlock_irq kernel/sched/sched.h:1367 [inline] hardirqs last enabled at (241): [] finish_lock_switch+0xbc/0x1e8 kernel/sched/core.c:5000 hardirqs last disabled at (242): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (238): [] softirq_handle_end kernel/softirq.c:414 [inline] softirqs last enabled at (238): [] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599 softirqs last disabled at (229): [] __do_softirq+0x14/0x20 kernel/softirq.c:605 ---[ end trace 0000000000000000 ]---