------------[ cut here ]------------ WARNING: CPU: 1 PID: 7936 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x703/0xae0 Modules linked in: CPU: 1 PID: 7936 Comm: syz-executor.2 Not tainted 6.1.63-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:hfsplus_free_extents+0x703/0xae0 fs/hfsplus/extents.c:346 Code: 0f cb 44 89 ef 89 de e8 cb 3f 2c ff 41 39 dd 75 20 49 83 c7 28 e8 5d 3e 2c ff 41 bc 05 00 00 00 e9 e2 f9 ff ff e8 4d 3e 2c ff <0f> 0b e9 83 f9 ff ff 44 89 ef 89 de e8 9c 3f 2c ff 41 29 dd 73 0a RSP: 0018:ffffc9000c7cfaf0 EFLAGS: 00010293 RAX: ffffffff825e51a3 RBX: ffff88807de82820 RCX: ffff888021540000 RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffff88808e2d2048 RBP: ffff888019f30000 R08: dffffc0000000000 R09: ffffed1011c5a40a R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000005 R14: ffffc9000c7cfc10 R15: ffff888099929458 FS: 0000555555d77480(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f9355178038 CR3: 0000000019eae000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_file_truncate+0x7cc/0xb40 fs/hfsplus/extents.c:591 hfsplus_file_release+0xf3/0x3e0 fs/hfsplus/inode.c:238 __fput+0x3b7/0x890 fs/file_table.c:320 task_work_run+0x246/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xde/0x100 kernel/entry/common.c:171 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:297 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7ff446c7b9da 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:00007ffc263c4950 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007ff446c7b9da RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007ff446d9d980 R08: 0000001b33420000 R09: 000000000000025a R10: 00000000816de87a R11: 0000000000000293 R12: 0000000000067881 R13: ffffffffffffffff R14: 00007ff446800000 R15: 0000000000067540