hfsplus: bad catalog entry type ===================================================== BUG: KMSAN: uninit-value in case_fold fs/hfsplus/unicode.c:23 [inline] BUG: KMSAN: uninit-value in hfsplus_strcasecmp+0x27e/0x730 fs/hfsplus/unicode.c:47 case_fold fs/hfsplus/unicode.c:23 [inline] hfsplus_strcasecmp+0x27e/0x730 fs/hfsplus/unicode.c:47 hfsplus_cat_case_cmp_key+0xb9/0x190 fs/hfsplus/catalog.c:26 hfs_find_rec_by_key+0xae/0x240 fs/hfsplus/bfind.c:89 __hfsplus_brec_find+0x271/0x840 fs/hfsplus/bfind.c:124 hfsplus_brec_find+0x4df/0x9f0 fs/hfsplus/bfind.c:184 hfsplus_brec_read+0x46/0x1f0 fs/hfsplus/bfind.c:211 hfsplus_find_cat+0xb5/0x4f0 fs/hfsplus/catalog.c:202 hfsplus_iget+0x77d/0xb80 fs/hfsplus/super.c:83 hfsplus_lookup+0xd5f/0xf70 fs/hfsplus/dir.c:118 __lookup_slow+0x563/0x760 fs/namei.c:1808 lookup_slow+0x6a/0xd0 fs/namei.c:1825 walk_component+0x444/0x650 fs/namei.c:2129 lookup_last fs/namei.c:2630 [inline] path_lookupat+0x251/0x6b0 fs/namei.c:2654 filename_lookup+0x2bd/0x800 fs/namei.c:2683 user_path_at+0x91/0x3d0 fs/namei.c:3127 ksys_umount fs/namespace.c:2115 [inline] __do_sys_umount fs/namespace.c:2123 [inline] __se_sys_umount fs/namespace.c:2121 [inline] __x64_sys_umount+0x143/0x250 fs/namespace.c:2121 x64_sys_call+0x1057/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:167 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4185 [inline] slab_alloc_node mm/slub.c:4228 [inline] __do_kmalloc_node mm/slub.c:4363 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4376 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x90/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_iget+0x359/0xb80 fs/hfsplus/super.c:81 hfsplus_lookup+0xd5f/0xf70 fs/hfsplus/dir.c:118 __lookup_slow+0x563/0x760 fs/namei.c:1808 lookup_slow+0x6a/0xd0 fs/namei.c:1825 walk_component+0x444/0x650 fs/namei.c:2129 lookup_last fs/namei.c:2630 [inline] path_lookupat+0x251/0x6b0 fs/namei.c:2654 filename_lookup+0x2bd/0x800 fs/namei.c:2683 user_path_at+0x91/0x3d0 fs/namei.c:3127 ksys_umount fs/namespace.c:2115 [inline] __do_sys_umount fs/namespace.c:2123 [inline] __se_sys_umount fs/namespace.c:2121 [inline] __x64_sys_umount+0x143/0x250 fs/namespace.c:2121 x64_sys_call+0x1057/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:167 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 21317 Comm: syz-executor Tainted: G W 6.16.0-syzkaller-08685-g260f6f4fda93 #0 PREEMPT(none) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================