ntfs3(loop4): Different NTFS sector size (2048) and media sector size (512). ===================================================== BUG: KMSAN: uninit-value in ntfs_dir_emit fs/ntfs3/dir.c:333 [inline] BUG: KMSAN: uninit-value in ntfs_read_hdr+0xfba/0x1290 fs/ntfs3/dir.c:383 ntfs_dir_emit fs/ntfs3/dir.c:333 [inline] ntfs_read_hdr+0xfba/0x1290 fs/ntfs3/dir.c:383 ntfs_readdir+0xf48/0x1a10 fs/ntfs3/dir.c:494 iterate_dir+0x5b3/0x9e0 fs/readdir.c:108 __do_sys_getdents64 fs/readdir.c:407 [inline] __se_sys_getdents64+0x16e/0x550 fs/readdir.c:392 __x64_sys_getdents64+0x96/0xe0 fs/readdir.c:392 x64_sys_call+0x3430/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:218 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 stored to memory at: ntfs_read_run_nb+0x786/0x1070 fs/ntfs3/fsntfs.c:1252 ntfs_read_bh+0x64/0xde0 fs/ntfs3/fsntfs.c:1313 indx_read+0x44e/0x17b0 fs/ntfs3/index.c:1067 ntfs_readdir+0xe07/0x1a10 fs/ntfs3/dir.c:489 iterate_dir+0x5b3/0x9e0 fs/readdir.c:108 __do_sys_getdents64 fs/readdir.c:407 [inline] __se_sys_getdents64+0x16e/0x550 fs/readdir.c:392 __x64_sys_getdents64+0x96/0xe0 fs/readdir.c:392 x64_sys_call+0x3430/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:218 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 stored to memory at: ntfs_write_bh+0x652/0xdb0 fs/ntfs3/fsntfs.c:1450 indx_write fs/ntfs3/index.c:1027 [inline] indx_insert_into_buffer+0xd8f/0x2010 fs/ntfs3/index.c:1811 indx_insert_entry+0xa3c/0xee0 fs/ntfs3/index.c:1988 ni_add_name+0xe5d/0x10d0 fs/ntfs3/frecord.c:3120 ntfs_link_inode+0x265/0x310 fs/ntfs3/inode.c:1735 ntfs_link+0x21d/0x500 fs/ntfs3/namei.c:146 vfs_link+0x94c/0xb70 fs/namei.c:4739 do_linkat+0x4f5/0xfd0 fs/namei.c:4809 __do_sys_linkat fs/namei.c:4837 [inline] __se_sys_linkat fs/namei.c:4834 [inline] __x64_sys_linkat+0x186/0x230 fs/namei.c:4834 x64_sys_call+0x37e1/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:266 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 stored to memory at: hdr_insert_de fs/ntfs3/index.c:838 [inline] indx_insert_into_buffer+0xcdf/0x2010 fs/ntfs3/index.c:1807 indx_insert_entry+0xa3c/0xee0 fs/ntfs3/index.c:1988 ni_add_name+0xe5d/0x10d0 fs/ntfs3/frecord.c:3120 ntfs_link_inode+0x265/0x310 fs/ntfs3/inode.c:1735 ntfs_link+0x21d/0x500 fs/ntfs3/namei.c:146 vfs_link+0x94c/0xb70 fs/namei.c:4739 do_linkat+0x4f5/0xfd0 fs/namei.c:4809 __do_sys_linkat fs/namei.c:4837 [inline] __se_sys_linkat fs/namei.c:4834 [inline] __x64_sys_linkat+0x186/0x230 fs/namei.c:4834 x64_sys_call+0x37e1/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:266 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: slab_post_alloc_hook mm/slub.c:4091 [inline] slab_alloc_node mm/slub.c:4134 [inline] kmem_cache_alloc_noprof+0x637/0xb20 mm/slub.c:4141 ntfs_link_inode+0x8f/0x310 fs/ntfs3/inode.c:1723 ntfs_link+0x21d/0x500 fs/ntfs3/namei.c:146 vfs_link+0x94c/0xb70 fs/namei.c:4739 do_linkat+0x4f5/0xfd0 fs/namei.c:4809 __do_sys_linkat fs/namei.c:4837 [inline] __se_sys_linkat fs/namei.c:4834 [inline] __x64_sys_linkat+0x186/0x230 fs/namei.c:4834 x64_sys_call+0x37e1/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:266 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: 0 UID: 0 PID: 10448 Comm: syz.4.1589 Not tainted 6.12.0-rc6-syzkaller-00272-gda4373fbcf00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 =====================================================