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+0x560/0x760 fs/namei.c:1817 lookup_slow+0x6a/0xd0 fs/namei.c:1834 walk_component+0x444/0x650 fs/namei.c:2138 lookup_last fs/namei.c:2636 [inline] path_lookupat+0x251/0x6b0 fs/namei.c:2660 filename_lookup+0x2bd/0x800 fs/namei.c:2689 user_path_at+0x91/0x3d0 fs/namei.c:3120 ksys_umount fs/namespace.c:2161 [inline] __do_sys_umount fs/namespace.c:2169 [inline] __se_sys_umount fs/namespace.c:2167 [inline] __x64_sys_umount+0x143/0x250 fs/namespace.c:2167 x64_sys_call+0x320b/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:167 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 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:4153 [inline] slab_alloc_node mm/slub.c:4196 [inline] __do_kmalloc_node mm/slub.c:4326 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4339 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+0x560/0x760 fs/namei.c:1817 lookup_slow+0x6a/0xd0 fs/namei.c:1834 walk_component+0x444/0x650 fs/namei.c:2138 lookup_last fs/namei.c:2636 [inline] path_lookupat+0x251/0x6b0 fs/namei.c:2660 filename_lookup+0x2bd/0x800 fs/namei.c:2689 user_path_at+0x91/0x3d0 fs/namei.c:3120 ksys_umount fs/namespace.c:2161 [inline] __do_sys_umount fs/namespace.c:2169 [inline] __se_sys_umount fs/namespace.c:2167 [inline] __x64_sys_umount+0x143/0x250 fs/namespace.c:2167 x64_sys_call+0x320b/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:167 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 6767 Comm: syz-executor Not tainted 6.15.0-rc6-syzkaller-00234-g83a896549f92 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================