loop2: detected capacity change from 0 to 1152 attempt to access beyond end of device loop2: rw=0, want=2044, limit=1152 attempt to access beyond end of device loop2: rw=0, want=2048, limit=1152 ===================================================== BUG: KMSAN: uninit-value in post_read_mst_fixup+0x5ee/0xb80 fs/ntfs/mst.c:39 CPU: 1 PID: 12228 Comm: syz-executor.2 Not tainted 5.12.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x24c/0x2e0 lib/dump_stack.c:120 kmsan_report+0xfb/0x1e0 mm/kmsan/kmsan_report.c:121 __msan_warning+0x5c/0xa0 mm/kmsan/kmsan_instr.c:197 post_read_mst_fixup+0x5ee/0xb80 fs/ntfs/mst.c:39 ntfs_end_buffer_async_read+0xbff/0x14e0 fs/ntfs/aops.c:133 end_bio_bh_io_sync+0x171/0x230 fs/buffer.c:3006 bio_endio+0x8e2/0xa70 block/bio.c:1453 submit_bio_checks+0x512/0x2380 block/blk-core.c:909 submit_bio_noacct+0x60/0x20b0 block/blk-core.c:1032 submit_bio+0x526/0xa90 block/blk-core.c:1118 submit_bh_wbc+0xd2e/0xdd0 fs/buffer.c:3055 submit_bh+0x97/0xc0 fs/buffer.c:3061 ntfs_read_block fs/ntfs/aops.c:345 [inline] ntfs_readpage+0x3ab3/0x4470 fs/ntfs/aops.c:435 do_read_cache_page+0x1821/0x1d00 mm/filemap.c:3263 read_cache_page+0xf3/0x110 mm/filemap.c:3362 read_mapping_page include/linux/pagemap.h:500 [inline] ntfs_map_page fs/ntfs/aops.h:75 [inline] check_mft_mirror+0x7c7/0x30e0 fs/ntfs/super.c:1109 load_system_files fs/ntfs/super.c:1772 [inline] ntfs_fill_super+0x44ff/0xacd0 fs/ntfs/super.c:2893 mount_bdev+0x618/0x900 fs/super.c:1367 ntfs_mount+0xc9/0xe0 fs/ntfs/super.c:3050 legacy_get_tree+0x163/0x2e0 fs/fs_context.c:592 vfs_get_tree+0xd8/0x5e0 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x3d64/0x5c20 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x921/0xa10 fs/namespace.c:3431 __ia32_sys_mount+0x62/0x80 fs/namespace.c:3431 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x77/0xd0 arch/x86/entry/common.c:168 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:211 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c RIP: 0023:0xf7f37549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f5531440 EFLAGS: 00000296 ORIG_RAX: 0000000000000015 RAX: ffffffffffffffda RBX: 00000000f55314b0 RCX: 0000000020000100 RDX: 0000000020000000 RSI: 0000000000000000 RDI: 00000000f55314f0 RBP: 00000000f55314f0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Uninit was created at: kmsan_save_stack_with_flags+0x3c/0x90 mm/kmsan/kmsan.c:120 kmsan_alloc_page+0xd0/0x1e0 mm/kmsan/kmsan_shadow.c:273 __alloc_pages_nodemask+0x827/0xf90 mm/page_alloc.c:5044 alloc_pages_current+0x7b6/0xb60 mm/mempolicy.c:2277 alloc_pages include/linux/gfp.h:561 [inline] __page_cache_alloc mm/filemap.c:978 [inline] do_read_cache_page+0x3e3/0x1d00 mm/filemap.c:3247 read_cache_page+0xf3/0x110 mm/filemap.c:3362 read_mapping_page include/linux/pagemap.h:500 [inline] ntfs_map_page fs/ntfs/aops.h:75 [inline] check_mft_mirror+0x7c7/0x30e0 fs/ntfs/super.c:1109 load_system_files fs/ntfs/super.c:1772 [inline] ntfs_fill_super+0x44ff/0xacd0 fs/ntfs/super.c:2893 mount_bdev+0x618/0x900 fs/super.c:1367 ntfs_mount+0xc9/0xe0 fs/ntfs/super.c:3050 legacy_get_tree+0x163/0x2e0 fs/fs_context.c:592 vfs_get_tree+0xd8/0x5e0 fs/super.c:1497 do_new_mount fs/namespace.c:2903 [inline] path_mount+0x3d64/0x5c20 fs/namespace.c:3233 do_mount fs/namespace.c:3246 [inline] __do_sys_mount fs/namespace.c:3454 [inline] __se_sys_mount+0x921/0xa10 fs/namespace.c:3431 __ia32_sys_mount+0x62/0x80 fs/namespace.c:3431 do_syscall_32_irqs_on arch/x86/entry/common.c:79 [inline] __do_fast_syscall_32+0x127/0x180 arch/x86/entry/common.c:142 do_fast_syscall_32+0x77/0xd0 arch/x86/entry/common.c:168 do_SYSENTER_32+0x73/0x90 arch/x86/entry/common.c:211 entry_SYSENTER_compat_after_hwframe+0x4d/0x5c =====================================================