syz.2.44: attempt to access beyond end of device loop2: rw=0, sector=566, nr_sectors = 2 limit=0 ntfs3: loop2: failed to read volume at offset 0x46c00 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 5748 at fs/ntfs3/bitmap.c:217 rb_insert_start fs/ntfs3/bitmap.c:217 [inline] WARNING: CPU: 1 PID: 5748 at fs/ntfs3/bitmap.c:217 wnd_add_free_ext+0xaba/0xd60 fs/ntfs3/bitmap.c:352 Modules linked in: CPU: 1 UID: 0 PID: 5748 Comm: syz.2.44 Not tainted 6.11.0-rc6-syzkaller-00026-g88fac17500f4 #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 5e 39 13 ff 48 8b 7c 24 08 48 89 3b 4c 89 f6 e8 9e 0d c5 08 eb 13 e8 17 16 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:ffffc90009447750 EFLAGS: 00010293 RAX: ffffffff82e47649 RBX: 0000000000000603 RCX: ffff8880267abc00 RDX: 0000000000000000 RSI: 0000000000000603 RDI: 0000000000000603 RBP: 0000000000000603 R08: ffffffff82e47582 R09: 0000000000000000 R10: ffff888011ab2000 R11: fffffbfff27f4d29 R12: ffff888060a14420 R13: ffff888060a14420 R14: ffff8880728fa2d8 R15: 1ffff11002356403 FS: 00007f324e73c6c0(0000) GS:ffff8880b8900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3254fcb0d0 CR3: 0000000024f6a000 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_fallocate+0xdc3/0x1280 fs/ntfs3/file.c:703 vfs_fallocate+0x553/0x6c0 fs/open.c:334 ksys_fallocate fs/open.c:357 [inline] __do_sys_fallocate fs/open.c:365 [inline] __se_sys_fallocate fs/open.c:363 [inline] __x64_sys_fallocate+0xbd/0x110 fs/open.c:363 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:0x7f324d97cef9 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:00007f324e73c038 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f324db36130 RCX: 00007f324d97cef9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f324d9ef01e R08: 0000000000000000 R09: 0000000000000000 R10: 00000000001001f0 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000001 R14: 00007f324db36130 R15: 00007ffe2ae27398