RAX: ffffffffffffffda RBX: 00007fffb03f0ab0 RCX: 00007fee0ffebab9 RDX: 00007fee0ffeace0 RSI: 0000000000000000 RDI: 00000000200004c0 RBP: 0000000000000002 R08: 00007fffb03f0846 R09: 00007fee10003431 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffb03f0c88 R14: 0000000000000001 R15: 0000000000000001 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5025 at fs/ntfs3/bitmap.c:216 wnd_add_free_ext+0xab9/0xd60 fs/ntfs3/bitmap.c:351 Modules linked in: CPU: 0 PID: 5025 Comm: syz-executor375 Not tainted 6.5.0-rc7-syzkaller-00022-ga5e505a99ca7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:rb_insert_start fs/ntfs3/bitmap.c:216 [inline] RIP: 0010:wnd_add_free_ext+0xab9/0xd60 fs/ntfs3/bitmap.c:351 Code: 00 00 fc ff df 80 3c 28 00 74 08 48 89 df e8 de c3 18 ff 48 8b 7c 24 08 48 89 3b 4c 89 f6 e8 4e 64 ea 07 eb 11 e8 37 f1 bf fe <0f> 0b 48 bd 00 00 00 00 00 fc ff df 48 8b 44 24 38 80 3c 28 00 4c RSP: 0018:ffffc90003cbf4c0 EFLAGS: 00010293 RAX: ffffffff82cbc6f9 RBX: 00000000000002a5 RCX: ffff88801f7e5940 RDX: 0000000000000000 RSI: 00000000000002a5 RDI: 00000000000002a5 RBP: 00000000000002a5 R08: ffffffff82cbc632 R09: 0000000000000000 R10: ffff888075e8f000 R11: fffffbfff1d30efe R12: ffff888075e8df60 R13: ffff888075e8df60 R14: ffff888016b802d0 R15: 1ffff1100ebd1e03 FS: 0000555556a0e380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bc4508ec00 CR3: 000000002ba65000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: wnd_set_free+0x532/0x580 fs/ntfs3/bitmap.c:749 mark_as_free_ex+0x134/0x330 fs/ntfs3/fsntfs.c:2485 run_deallocate_ex+0x244/0x5f0 fs/ntfs3/attrib.c:122 attr_set_size+0x1684/0x4290 fs/ntfs3/attrib.c:750 ntfs_truncate fs/ntfs3/file.c:393 [inline] ntfs3_setattr+0x556/0xb00 fs/ntfs3/file.c:682 notify_change+0xc8b/0xf40 fs/attr.c:483 do_truncate+0x220/0x300 fs/open.c:66 vfs_truncate+0x2e1/0x3a0 fs/open.c:112 do_sys_truncate+0xde/0x190 fs/open.c:135 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fee0ffebab9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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:00007fffb03f0aa8 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007fffb03f0ab0 RCX: 00007fee0ffebab9 RDX: 00007fee0ffeace0 RSI: 0000000000000000 RDI: 00000000200004c0 RBP: 0000000000000002 R08: 00007fffb03f0846 R09: 00007fee10003431 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000001 R13: 00007fffb03f0c88 R14: 0000000000000001 R15: 0000000000000001