===================================================== BUG: KMSAN: uninit-value in hfs_revalidate_dentry+0x30b/0x3f0 fs/hfs/sysdep.c:30 hfs_revalidate_dentry+0x30b/0x3f0 fs/hfs/sysdep.c:30 lookup_fast+0x418/0x8e0 open_last_lookups fs/namei.c:3542 [inline] path_openat+0x950/0x5b00 fs/namei.c:3804 do_filp_open+0x20e/0x590 fs/namei.c:3834 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1406 do_sys_open fs/open.c:1421 [inline] __do_sys_openat fs/open.c:1437 [inline] __se_sys_openat fs/open.c:1432 [inline] __x64_sys_openat+0x2a1/0x310 fs/open.c:1432 x64_sys_call+0x3a64/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_pages+0x9d6/0xe70 mm/page_alloc.c:4598 __alloc_pages_node include/linux/gfp.h:238 [inline] alloc_pages_node include/linux/gfp.h:261 [inline] alloc_slab_page mm/slub.c:2190 [inline] allocate_slab mm/slub.c:2353 [inline] new_slab+0x2de/0x1400 mm/slub.c:2406 ___slab_alloc+0x121d/0x34a0 mm/slub.c:3592 __slab_alloc mm/slub.c:3682 [inline] __slab_alloc_node mm/slub.c:3735 [inline] slab_alloc_node mm/slub.c:3908 [inline] kmem_cache_alloc_lru+0x6da/0xc20 mm/slub.c:3937 alloc_inode_sb include/linux/fs.h:3107 [inline] hfs_alloc_inode+0x5a/0xd0 fs/hfs/super.c:165 alloc_inode+0x86/0x460 fs/inode.c:261 iget5_locked+0xa9/0x210 fs/inode.c:1235 hfs_iget+0x121/0x250 fs/hfs/inode.c:401 hfs_lookup+0x2f3/0x3d0 fs/hfs/dir.c:37 __lookup_slow+0x506/0x6e0 fs/namei.c:1692 lookup_slow+0x6a/0xd0 fs/namei.c:1709 walk_component+0x467/0x650 fs/namei.c:2004 lookup_last fs/namei.c:2469 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2493 filename_lookup+0x22f/0x750 fs/namei.c:2522 user_path_at_empty+0x8b/0x3a0 fs/namei.c:2929 user_path_at include/linux/namei.h:58 [inline] __do_sys_chdir fs/open.c:558 [inline] __se_sys_chdir+0x5e/0x2e0 fs/open.c:552 __x64_sys_chdir+0x48/0x60 fs/open.c:552 x64_sys_call+0x36dd/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:81 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 PID: 5523 Comm: syz-executor.1 Not tainted 6.9.0-syzkaller-02707-g614da38e2f7a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 =====================================================