ntfs3(loop3): 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 __ia32_sys_getdents64+0x93/0xe0 fs/readdir.c:392 ia32_sys_call+0xe0c/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:221 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e 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 __ia32_sys_getdents64+0x93/0xe0 fs/readdir.c:392 ia32_sys_call+0xe0c/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:221 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e 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] __ia32_sys_linkat+0x186/0x230 fs/namei.c:4834 ia32_sys_call+0x3629/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:304 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e 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] __ia32_sys_linkat+0x186/0x230 fs/namei.c:4834 ia32_sys_call+0x3629/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:304 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e 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] __ia32_sys_linkat+0x186/0x230 fs/namei.c:4834 ia32_sys_call+0x3629/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:304 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 1 UID: 0 PID: 10383 Comm: syz.3.1766 Not tainted 6.12.0-rc6-syzkaller-00272-gda4373fbcf00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 =====================================================