RDX: 00007f775a184ce0 RSI: 0000000000000000 RDI: 00000000200004c0 RBP: 0000000000000001 R08: 00007ffd975be0f7 R09: 00007f775a210039 R10: 0000000000000001 R11: 0000000000000246 R12: 2e73656369766564 R13: 00007ffd975be538 R14: 0000000000000001 R15: 0000000000000001 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5013 at fs/ntfs3/bitmap.c:216 wnd_add_free_ext+0xab9/0xd60 fs/ntfs3/bitmap.c:351 Modules linked in: CPU: 1 PID: 5013 Comm: syz-executor961 Not tainted 6.5.0-rc4-syzkaller-00245-gf6a691685962 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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 3e ca 18 ff 48 8b 7c 24 08 48 89 3b 4c 89 f6 e8 fe 1f ea 07 eb 11 e8 37 fc 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:ffffc900039ff4c0 EFLAGS: 00010293 RAX: ffffffff82cbab49 RBX: 00000000000002f9 RCX: ffff888028e75940 RDX: 0000000000000000 RSI: 00000000000002f9 RDI: 00000000000002f9 RBP: 00000000000002f9 R08: ffffffff82cbaa82 R09: 0000000000000000 R10: ffff888075aba360 R11: fffffbfff1d30c9e R12: ffff888075aba240 R13: ffff888075aba240 R14: ffff888016af82d0 R15: 1ffff1100eb5746f FS: 0000555556704380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005614c5807ff0 CR3: 0000000024eea000 CR4: 00000000003506e0 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:0x7f775a185ab9 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:00007ffd975be358 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007ffd975be360 RCX: 00007f775a185ab9 RDX: 00007f775a184ce0 RSI: 0000000000000000 RDI: 00000000200004c0 RBP: 0000000000000001 R08: 00007ffd975be0f7 R09: 00007f775a210039 R10: 0000000000000001 R11: 0000000000000246 R12: 2e73656369766564 R13: 00007ffd975be538 R14: 0000000000000001 R15: 0000000000000001