WARNING: CPU: 1 PID: 6848 at fs/hfsplus/extents.c:346 hfsplus_free_extents+0x3d7/0x520 fs/hfsplus/extents.c:346 Modules linked in: CPU: 1 PID: 6848 Comm: syz-executor922 Not tainted 6.7.0-rc2-syzkaller-00195-g0f5cc96c367f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:hfsplus_free_extents+0x3d7/0x520 fs/hfsplus/extents.c:346 Code: 2f ff 8b 44 24 04 85 c0 0f 84 34 fe ff ff e8 90 65 2f ff 48 c7 c7 60 b0 e7 8a e8 c4 40 12 ff e9 1e fe ff ff e8 7a 65 2f ff 90 <0f> 0b 90 e9 b5 fc ff ff e8 6c 65 2f ff 8b 14 24 8b 74 24 04 48 8b RSP: 0018:ffffc9000af9f780 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880294b9558 RCX: ffffffff8257178b RDX: ffff888029658000 RSI: ffffffff82571ad6 RDI: 0000000000000001 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000001 R12: 00000000278e0001 R13: 0000000000000000 R14: ffff888076e38000 R15: dffffc0000000000 FS: 00007efd7cf1b6c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007efd7cf3d000 CR3: 00000000210ca000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hfsplus_file_truncate+0x832/0x9d0 fs/hfsplus/extents.c:591 hfsplus_setattr+0x1eb/0x310 fs/hfsplus/inode.c:269 notify_change+0x742/0x11c0 fs/attr.c:499 do_truncate+0x15c/0x220 fs/open.c:66 handle_truncate fs/namei.c:3280 [inline] do_open fs/namei.c:3626 [inline] path_openat+0x25a0/0x2c50 fs/namei.c:3779 do_filp_open+0x1de/0x430 fs/namei.c:3809 do_sys_openat2+0x176/0x1e0 fs/open.c:1440 do_sys_open fs/open.c:1455 [inline] __do_sys_creat fs/open.c:1531 [inline] __se_sys_creat fs/open.c:1525 [inline] __x64_sys_creat+0xcd/0x120 fs/open.c:1525 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x40/0x110 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7efd7cf7fb89 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:00007efd7cf1b218 EFLAGS: 00000246 ORIG_RAX: 0000000000000055 RAX: ffffffffffffffda RBX: 00007efd7d0086d8 RCX: 00007efd7cf7fb89 RDX: 00007efd7cf59146 RSI: 0000000000000000 RDI: 00000000200000c0 RBP: 00007efd7d0086d0 R08: 00007ffdf1c16727 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007efd7cfd40c0 R13: 0073756c70736668 R14: 0031656c69662f2e R15: 6465646165726874