===================================================== 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_delete_entry+0x1a9e/0x7e20 fs/ntfs3/index.c:2330 ni_remove_name+0x345/0xc30 fs/ntfs3/frecord.c:2994 ni_rename+0x19b/0x240 fs/ntfs3/frecord.c:3155 ntfs_rename+0xdb5/0x1300 fs/ntfs3/namei.c:317 vfs_rename+0x1d9d/0x2280 fs/namei.c:5013 do_renameat2+0x18cc/0x1d50 fs/namei.c:5170 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5215 x64_sys_call+0x1e4d/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:83 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 indx_find+0xd12/0x1440 fs/ntfs3/index.c:1181 indx_delete_entry+0xfe4/0x7e20 fs/ntfs3/index.c:2294 ni_remove_name+0x345/0xc30 fs/ntfs3/frecord.c:2994 ni_rename+0x19b/0x240 fs/ntfs3/frecord.c:3155 ntfs_rename+0xdb5/0x1300 fs/ntfs3/namei.c:317 vfs_rename+0x1d9d/0x2280 fs/namei.c:5013 do_renameat2+0x18cc/0x1d50 fs/namei.c:5170 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5215 x64_sys_call+0x1e4d/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:83 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 ni_rename+0x9b/0x240 fs/ntfs3/frecord.c:3152 ntfs_rename+0xdb5/0x1300 fs/ntfs3/namei.c:317 vfs_rename+0x1d9d/0x2280 fs/namei.c:5013 do_renameat2+0x18cc/0x1d50 fs/namei.c:5170 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5215 x64_sys_call+0x1e4d/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:83 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 ni_rename+0x9b/0x240 fs/ntfs3/frecord.c:3152 ntfs_rename+0xdb5/0x1300 fs/ntfs3/namei.c:317 vfs_rename+0x1d9d/0x2280 fs/namei.c:5013 do_renameat2+0x18cc/0x1d50 fs/namei.c:5170 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5215 x64_sys_call+0x1e4d/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:83 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_rename+0x847/0x1300 fs/ntfs3/namei.c:291 vfs_rename+0x1d9d/0x2280 fs/namei.c:5013 do_renameat2+0x18cc/0x1d50 fs/namei.c:5170 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5215 x64_sys_call+0x1e4d/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:83 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: 14441 Comm: syz-executor Not tainted 6.12.0-rc7-syzkaller-00189-ge8bdb3c8be08 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 =====================================================