------------[ cut here ]------------ WARNING: CPU: 1 PID: 23587 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x704/0xae0 fs/hfsplus/extents.c:346 Modules linked in: CPU: 1 PID: 23587 Comm: syz-executor.1 Not tainted 6.7.0-rc8-syzkaller-00174-g95c8a35f1c01 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:hfsplus_free_extents+0x704/0xae0 fs/hfsplus/extents.c:346 Code: cb 44 89 ef 89 de e8 fb b0 25 ff 41 39 dd 75 22 49 83 c7 28 e8 6d af 25 ff 41 bc 05 00 00 00 e9 e2 f9 ff ff e8 5d af 25 ff 90 <0f> 0b 90 e9 81 f9 ff ff 44 89 ef 89 de e8 ca b0 25 ff 41 29 dd 73 RSP: 0018:ffffc90003e7fc10 EFLAGS: 00010293 RAX: ffffffff8268ca93 RBX: ffff888079589020 RCX: ffff88801d08bb80 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff8880203ba048 RBP: ffff88807dca8000 R08: ffff8880203ba04f R09: 1ffff11004077409 R10: dffffc0000000000 R11: ffffed100407740a R12: dffffc0000000000 R13: 0000000000000005 R14: ffffc90003e7fd30 R15: ffff88801d8e1b18 FS: 00005555559cd480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020002002 CR3: 000000001f219000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_file_truncate+0x7d0/0xb40 fs/hfsplus/extents.c:591 hfsplus_file_release+0xf7/0x3e0 fs/hfsplus/inode.c:238 __fput+0x3cc/0x9e0 fs/file_table.c:394 __do_sys_close fs/open.c:1587 [inline] __se_sys_close fs/open.c:1572 [inline] __x64_sys_close+0x7e/0x100 fs/open.c:1572 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x45/0x110 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f877de7bc1a Code: 48 3d 00 f0 ff ff 77 48 c3 0f 1f 80 00 00 00 00 48 83 ec 18 89 7c 24 0c e8 03 7f 02 00 8b 7c 24 0c 89 c2 b8 03 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 36 89 d7 89 44 24 0c e8 63 7f 02 00 8b 44 24 RSP: 002b:00007fffaa6ed150 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f877de7bc1a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f877dfad980 R08: 0000001b31720000 R09: 0000000000000057 R10: 000000008b15082c R11: 0000000000000293 R12: 00000000000d5602 R13: ffffffffffffffff R14: 00007f877da00000 R15: 00000000000d52c1