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+0x1cd/0x780 fs/hfsplus/unicode.c:47 case_fold fs/hfsplus/unicode.c:23 [inline] hfsplus_strcasecmp+0x1cd/0x780 fs/hfsplus/unicode.c:47 hfsplus_cat_case_cmp_key+0xde/0x190 fs/hfsplus/catalog.c:26 hfs_find_rec_by_key+0xb1/0x240 fs/hfsplus/bfind.c:89 __hfsplus_brec_find+0x26f/0x7b0 fs/hfsplus/bfind.c:124 hfsplus_brec_find+0x445/0x970 fs/hfsplus/bfind.c:184 hfsplus_brec_read+0x46/0x1a0 fs/hfsplus/bfind.c:211 hfsplus_find_cat+0xda/0x530 fs/hfsplus/catalog.c:202 hfsplus_iget+0x729/0xae0 fs/hfsplus/super.c:83 hfsplus_lookup+0xcde/0xef0 fs/hfsplus/dir.c:118 __lookup_slow+0x538/0x710 fs/namei.c:1817 lookup_slow+0x6a/0xd0 fs/namei.c:1834 walk_component+0x472/0x660 fs/namei.c:2138 lookup_last fs/namei.c:2636 [inline] path_lookupat+0x277/0x6f0 fs/namei.c:2660 filename_lookup+0x28b/0x7c0 fs/namei.c:2689 user_path_at+0x90/0x410 fs/namei.c:3120 ksys_umount fs/namespace.c:2164 [inline] __do_sys_umount fs/namespace.c:2172 [inline] __se_sys_umount fs/namespace.c:2170 [inline] __x64_sys_umount+0x143/0x240 fs/namespace.c:2170 x64_sys_call+0x3142/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:167 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/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:4167 [inline] slab_alloc_node mm/slub.c:4210 [inline] __do_kmalloc_node mm/slub.c:4340 [inline] __kmalloc_noprof+0x946/0x1260 mm/slub.c:4353 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x97/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_iget+0x3c4/0xae0 fs/hfsplus/super.c:81 hfsplus_lookup+0xcde/0xef0 fs/hfsplus/dir.c:118 __lookup_slow+0x538/0x710 fs/namei.c:1817 lookup_slow+0x6a/0xd0 fs/namei.c:1834 walk_component+0x472/0x660 fs/namei.c:2138 lookup_last fs/namei.c:2636 [inline] path_lookupat+0x277/0x6f0 fs/namei.c:2660 filename_lookup+0x28b/0x7c0 fs/namei.c:2689 user_path_at+0x90/0x410 fs/namei.c:3120 ksys_umount fs/namespace.c:2164 [inline] __do_sys_umount fs/namespace.c:2172 [inline] __se_sys_umount fs/namespace.c:2170 [inline] __x64_sys_umount+0x143/0x240 fs/namespace.c:2170 x64_sys_call+0x3142/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:167 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 5795 Comm: syz-executor Tainted: G W 6.15.0-rc3-syzkaller-00001-g9d7a0577c9db #0 PREEMPT(undef) Tainted: [W]=WARN Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================