===================================================== BUG: KMSAN: uninit-value in longest_match_std+0x5d9/0xe00 fs/ntfs3/lznt.c:60 longest_match_std+0x5d9/0xe00 fs/ntfs3/lznt.c:60 compress_chunk fs/ntfs3/lznt.c:170 [inline] compress_lznt+0x41f/0xef0 fs/ntfs3/lznt.c:339 ni_write_frame+0xf8f/0x1c80 fs/ntfs3/frecord.c:2904 ntfs_compress_write+0x25cb/0x3c80 fs/ntfs3/file.c:1146 ntfs_file_write_iter+0x9f3/0xe60 fs/ntfs3/file.c:1258 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xb2b/0x1540 fs/read_write.c:683 ksys_write+0x24f/0x4c0 fs/read_write.c:736 __do_sys_write fs/read_write.c:748 [inline] __se_sys_write fs/read_write.c:745 [inline] __x64_sys_write+0x93/0xe0 fs/read_write.c:745 x64_sys_call+0x306a/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_pages_noprof+0x9a7/0xe00 mm/page_alloc.c:4774 alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2265 alloc_pages_noprof mm/mempolicy.c:2345 [inline] folio_alloc_noprof+0x1db/0x310 mm/mempolicy.c:2352 filemap_alloc_folio_noprof+0xa6/0x440 mm/filemap.c:1010 __filemap_get_folio+0xac4/0x1550 mm/filemap.c:1952 ntfs_get_frame_pages+0xd6/0x6b0 fs/ntfs3/file.c:943 ntfs_compress_write+0x1bd9/0x3c80 fs/ntfs3/file.c:1095 ntfs_file_write_iter+0x9f3/0xe60 fs/ntfs3/file.c:1258 new_sync_write fs/read_write.c:590 [inline] vfs_write+0xb2b/0x1540 fs/read_write.c:683 ksys_write+0x24f/0x4c0 fs/read_write.c:736 __do_sys_write fs/read_write.c:748 [inline] __se_sys_write fs/read_write.c:745 [inline] __x64_sys_write+0x93/0xe0 fs/read_write.c:745 x64_sys_call+0x306a/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 6005 Comm: syz.3.10 Not tainted 6.12.0-rc7-syzkaller-00212-g4a5df3796467 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 =====================================================