loop4: detected capacity change from 0 to 4096 ntfs3: loop4: Different NTFS' sector size (1024) and media sector size (512) ================================================================================ UBSAN: array-index-out-of-bounds in ./include/linux/pagevec.h:129:2 index 255 is out of range for type 'struct folio *[15]' CPU: 0 PID: 24653 Comm: syz-executor.4 Not tainted 6.1.25-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 dump_stack+0x1c/0x58 lib/dump_stack.c:113 ubsan_epilogue lib/ubsan.c:151 [inline] __ubsan_handle_out_of_bounds+0xfc/0x148 lib/ubsan.c:282 folio_batch_add include/linux/pagevec.h:129 [inline] find_lock_entries+0x7ac/0xa08 mm/filemap.c:2110 truncate_inode_pages_range+0x178/0xf10 mm/truncate.c:364 truncate_inode_pages mm/truncate.c:452 [inline] truncate_inode_pages_final+0x90/0xc0 mm/truncate.c:487 ntfs_evict_inode+0x24/0xc8 fs/ntfs3/inode.c:1754 evict+0x260/0x68c fs/inode.c:664 iput_final fs/inode.c:1747 [inline] iput+0x7c0/0x8a4 fs/inode.c:1773 ntfs_fill_super+0x32d8/0x3a04 fs/ntfs3/super.c:1190 get_tree_bdev+0x360/0x54c fs/super.c:1346 ntfs_fs_get_tree+0x28/0x38 fs/ntfs3/super.c:1359 vfs_get_tree+0x90/0x274 fs/super.c:1553 do_new_mount+0x25c/0x8c8 fs/namespace.c:3040 path_mount+0x590/0xe58 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount fs/namespace.c:3568 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3568 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 ================================================================================