ntfs3: loop3: failed to read volume at offset 0x46c00 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5381 at fs/ntfs3/bitmap.c:217 rb_insert_start fs/ntfs3/bitmap.c:217 [inline] WARNING: CPU: 0 PID: 5381 at fs/ntfs3/bitmap.c:217 wnd_add_free_ext+0xaba/0xd60 fs/ntfs3/bitmap.c:352 Modules linked in: CPU: 0 UID: 0 PID: 5381 Comm: syz.3.16 Not tainted 6.11.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 RIP: 0010:rb_insert_start fs/ntfs3/bitmap.c:217 [inline] RIP: 0010:wnd_add_free_ext+0xaba/0xd60 fs/ntfs3/bitmap.c:352 Code: 00 fc ff df 80 3c 28 00 74 08 48 89 df e8 8e 28 13 ff 48 8b 7c 24 08 48 89 3b 4c 89 f6 e8 2e 0b c5 08 eb 13 e8 47 04 af fe 90 <0f> 0b 90 48 bd 00 00 00 00 00 fc ff df 48 8b 44 24 38 80 3c 28 00 RSP: 0018:ffffc9000474edb0 EFLAGS: 00010283 RAX: ffffffff82e48819 RBX: 0000000000000603 RCX: 0000000000040000 RDX: ffffc900094a1000 RSI: 00000000000243b9 RDI: 00000000000243ba RBP: 0000000000000603 R08: ffffffff82e48752 R09: 0000000000000000 R10: ffff88805d6942a0 R11: fffffbfff27f4d2c R12: ffff88805d694240 R13: ffff88805d694240 R14: ffff8880313a62d8 R15: 1ffff1100bad2857 FS: 00007fef228c36c0(0000) GS:ffff8880b8800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055977bf41000 CR3: 0000000030576000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: wnd_zone_set+0xa6/0x160 fs/ntfs3/bitmap.c:1421 ntfs_look_for_free_space+0x3e9/0x690 fs/ntfs3/fsntfs.c:422 attr_allocate_clusters+0x1d6/0x990 fs/ntfs3/attrib.c:159 attr_data_get_block+0x130e/0x2ff0 fs/ntfs3/attrib.c:1062 ntfs_get_block_vbo+0x3e4/0xd50 fs/ntfs3/inode.c:598 get_more_blocks fs/direct-io.c:649 [inline] do_direct_IO fs/direct-io.c:937 [inline] __blockdev_direct_IO+0x1c90/0x4890 fs/direct-io.c:1249 blockdev_direct_IO include/linux/fs.h:3218 [inline] ntfs_direct_IO+0x195/0x370 fs/ntfs3/inode.c:801 generic_file_direct_write+0x130/0x350 mm/filemap.c:3941 __generic_file_write_iter+0x129/0x230 mm/filemap.c:4107 ntfs_file_write_iter+0x663/0x740 fs/ntfs3/file.c:1193 do_iter_readv_writev+0x60a/0x890 vfs_writev+0x37c/0xbb0 fs/read_write.c:971 do_pwritev fs/read_write.c:1072 [inline] __do_sys_pwritev2 fs/read_write.c:1131 [inline] __se_sys_pwritev2+0x1ca/0x2d0 fs/read_write.c:1122 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fef21b7cef9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fef228c3038 EFLAGS: 00000246 ORIG_RAX: 0000000000000148 RAX: ffffffffffffffda RBX: 00007fef21d35f80 RCX: 00007fef21b7cef9 RDX: 0000000000000001 RSI: 0000000020000240 RDI: 0000000000000005 RBP: 00007fef21bef046 R08: 0000000000000000 R09: 0000000000000003 R10: 0000000000007c00 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fef21d35f80 R15: 00007ffca6077118