WARNING: CPU: 0 PID: 10060 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x3d7/0x520 fs/hfsplus/extents.c:346 Modules linked in: CPU: 0 PID: 10060 Comm: syz-executor387 Not tainted 6.7.0-syzkaller-09928-g052d534373b7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:hfsplus_free_extents+0x3d7/0x520 fs/hfsplus/extents.c:346 Code: 2c ff 8b 44 24 04 85 c0 0f 84 34 fe ff ff e8 80 9e 2c ff 48 c7 c7 a0 0b e8 8a e8 14 63 0f ff e9 1e fe ff ff e8 6a 9e 2c ff 90 <0f> 0b 90 e9 b5 fc ff ff e8 5c 9e 2c ff 8b 14 24 8b 74 24 04 48 8b RSP: 0018:ffffc9000b93f9b0 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880791c21d8 RCX: ffffffff825b6eeb RDX: ffff88801f419dc0 RSI: ffffffff825b7236 RDI: 0000000000000001 RBP: 000000000000014e R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: 00000000208dd901 R13: 000000000000014c R14: ffff88804c5d4000 R15: dffffc0000000000 FS: 00007f7c15cc46c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020054000 CR3: 000000002e40d000 CR4: 0000000000350ef0 Call Trace: hfsplus_file_truncate+0x832/0x9d0 fs/hfsplus/extents.c:591 hfsplus_write_failed fs/hfsplus/inode.c:37 [inline] hfsplus_write_begin+0x113/0x140 fs/hfsplus/inode.c:51 generic_perform_write+0x278/0x600 mm/filemap.c:3928 __generic_file_write_iter+0x1f9/0x240 mm/filemap.c:4023 generic_file_write_iter+0xe3/0x350 mm/filemap.c:4049 call_write_iter include/linux/fs.h:2085 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x64f/0xdf0 fs/read_write.c:590 ksys_write+0x12f/0x250 fs/read_write.c:643 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd3/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f7c15d28bc9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 b1 18 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7c15cc4218 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f7c15db16d8 RCX: 00007f7c15d28bc9 RDX: 000000000208e24b RSI: 0000000020000340 RDI: 0000000000000005 RBP: 00007f7c15db16d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7c15d7d750 R13: 0073756c70736668 R14: 0073746e6576652e R15: 652e79726f6d656d