------------[ cut here ]------------ WARNING: CPU: 0 PID: 17845 at fs/hfsplus/extents.c:346 hfsplus_free_extents.cold+0x27/0x44 fs/hfsplus/extents.c:346 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 17845 Comm: syz-executor.2 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 panic+0x26a/0x50e kernel/panic.c:186 __warn.cold+0x20/0x5a kernel/panic.c:541 report_bug+0x262/0x2b0 lib/bug.c:183 fixup_bug arch/x86/kernel/traps.c:178 [inline] fixup_bug arch/x86/kernel/traps.c:173 [inline] do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038 RIP: 0010:hfsplus_free_extents.cold+0x27/0x44 fs/hfsplus/extents.c:346 Code: 9c 04 fa e8 b7 43 6c f9 48 c7 c7 e0 74 7d 88 e8 16 75 fd ff e9 b7 a6 04 fa e8 a1 43 6c f9 48 c7 c7 40 74 7d 88 e8 00 75 fd ff <0f> 0b e9 1b a5 04 fa e8 89 43 6c f9 48 c7 c7 e0 74 7d 88 e8 e8 74 RSP: 0018:ffff8880aab0f908 EFLAGS: 00010286 RAX: 0000000000000024 RBX: ffff88803bc37858 RCX: 0000000000000000 RDX: 000000000003fe6e RSI: ffffffff814dff01 RDI: ffffed1015561f13 RBP: 000000000000014e R08: 0000000000000024 R09: 0000000000000000 R10: 0000000000000005 R11: 0000000000000000 R12: ffff88803962c140 R13: ffff88809fd24180 R14: ffff8880969c8240 R15: 000000000000014c hfsplus_file_truncate+0xd96/0x1040 fs/hfsplus/extents.c:591 hfsplus_write_failed fs/hfsplus/inode.c:41 [inline] hfsplus_write_begin+0x118/0x150 fs/hfsplus/inode.c:56 generic_perform_write+0x1f8/0x4d0 mm/filemap.c:3170 __generic_file_write_iter+0x24b/0x610 mm/filemap.c:3295 generic_file_write_iter+0x3f8/0x730 mm/filemap.c:3323 call_write_iter include/linux/fs.h:1821 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x51b/0x770 fs/read_write.c:487 vfs_write+0x1f3/0x540 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f518bcbe0c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f518a20f168 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f518bdde050 RCX: 00007f518bcbe0c9 RDX: 000000006db6e559 RSI: 0000000020000080 RDI: 0000000000000008 RBP: 00007f518bd19ae9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffdbf9098bf R14: 00007f518a20f300 R15: 0000000000022000 Kernel Offset: disabled Rebooting in 86400 seconds..