------------[ cut here ]------------ WARNING: CPU: 1 PID: 6891 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 Modules linked in: CPU: 1 UID: 0 PID: 6891 Comm: syz.0.77 Not tainted 6.14.0-rc1-syzkaller-g2014c95afece #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/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 : ffff8000a4157770 x29: ffff8000a4157780 x28: ffff70001482af10 x27: dfff800000000000 x26: dfff800000000000 x25: 0000000000000020 x24: 0000000000000022 x23: ffff0000cd80a820 x22: 0000000000000022 x21: ffff0000cd574000 x20: 0000000000000002 x19: ffff0000ef4257d8 x18: ffff8000a4157200 x17: 000000000002c2a4 x16: ffff800080bfa334 x15: 0000000000000001 x14: 1fffe00019af4009 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000011585 x9 : ffff8000a4e3a000 x8 : 0000000000011586 x7 : 0000000000000000 x6 : 0000000000000000 x5 : ffff8000939715e0 x4 : 0000000000000008 x3 : ffff80008045f3f8 x2 : 0000000000000000 x1 : 0000000000000008 x0 : 0000000000000001 Call trace: hfsplus_free_extents+0x5c4/0x8d4 fs/hfsplus/extents.c:346 (P) hfsplus_file_truncate+0x674/0xa18 fs/hfsplus/extents.c:592 hfsplus_setattr+0x184/0x24c fs/hfsplus/inode.c:264 notify_change+0x9f0/0xca0 fs/attr.c:552 do_truncate+0x1c0/0x28c fs/open.c:65 vfs_truncate+0x3fc/0x464 fs/open.c:115 do_sys_truncate+0xe8/0x1ac fs/open.c:138 __do_sys_truncate fs/open.c:150 [inline] __se_sys_truncate fs/open.c:148 [inline] __arm64_sys_truncate+0x5c/0x70 fs/open.c:148 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:49 el0_svc_common+0x130/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x54/0x168 arch/arm64/kernel/entry-common.c:744 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600 irq event stamp: 4208 hardirqs last enabled at (4207): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (4207): [] _raw_spin_unlock_irqrestore+0x38/0x98 kernel/locking/spinlock.c:194 hardirqs last disabled at (4208): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488 softirqs last enabled at (4200): [] softirq_handle_end kernel/softirq.c:407 [inline] softirqs last enabled at (4200): [] handle_softirqs+0xb44/0xd34 kernel/softirq.c:589 softirqs last disabled at (4191): [] __do_softirq+0x14/0x20 kernel/softirq.c:595 ---[ end trace 0000000000000000 ]---