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+0x1ca/0x770 fs/hfsplus/unicode.c:47 case_fold fs/hfsplus/unicode.c:23 [inline] hfsplus_strcasecmp+0x1ca/0x770 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+0xdb/0x460 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+0x506/0x6e0 fs/namei.c:1791 lookup_slow+0x6a/0xd0 fs/namei.c:1808 walk_component+0x467/0x650 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2634 filename_lookup+0x288/0x7c0 fs/namei.c:2663 user_path_at+0x90/0x3e0 fs/namei.c:3070 ksys_umount fs/namespace.c:2031 [inline] __do_sys_umount fs/namespace.c:2039 [inline] __se_sys_umount fs/namespace.c:2037 [inline] __x64_sys_umount+0x146/0x240 fs/namespace.c:2037 x64_sys_call+0x265e/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:167 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:4125 [inline] slab_alloc_node mm/slub.c:4168 [inline] __do_kmalloc_node mm/slub.c:4297 [inline] __kmalloc_noprof+0x923/0x1230 mm/slub.c:4310 kmalloc_noprof include/linux/slab.h:905 [inline] hfsplus_find_init+0x95/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+0x506/0x6e0 fs/namei.c:1791 lookup_slow+0x6a/0xd0 fs/namei.c:1808 walk_component+0x467/0x650 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2634 filename_lookup+0x288/0x7c0 fs/namei.c:2663 user_path_at+0x90/0x3e0 fs/namei.c:3070 ksys_umount fs/namespace.c:2031 [inline] __do_sys_umount fs/namespace.c:2039 [inline] __se_sys_umount fs/namespace.c:2037 [inline] __x64_sys_umount+0x146/0x240 fs/namespace.c:2037 x64_sys_call+0x265e/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:167 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: 0 UID: 0 PID: 5794 Comm: syz-executor Not tainted 6.13.0-rc7-syzkaller-00149-g9bffa1ad25b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024 =====================================================