hfsplus: bad catalog entry type ===================================================== BUG: KMSAN: uninit-value in hfsplus_compose_lookup fs/hfsplus/unicode.c:108 [inline] BUG: KMSAN: uninit-value in hfsplus_uni2asc+0x821/0x2350 fs/hfsplus/unicode.c:181 hfsplus_compose_lookup fs/hfsplus/unicode.c:108 [inline] hfsplus_uni2asc+0x821/0x2350 fs/hfsplus/unicode.c:181 hfsplus_readdir+0xbd7/0x18d0 fs/hfsplus/dir.c:207 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 created at: slab_post_alloc_hook mm/slub.c:4091 [inline] slab_alloc_node mm/slub.c:4134 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_noprof+0x661/0xf30 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] hfsplus_find_init+0x95/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_readdir+0x1da/0x18d0 fs/hfsplus/dir.c:144 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 CPU: 1 UID: 0 PID: 9120 Comm: syz-executor Tainted: G W 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================