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+0x740/0xaf0 fs/hfsplus/super.c:82 hfsplus_lookup+0xcde/0xef0 fs/hfsplus/dir.c:118 __lookup_slow+0x506/0x6e0 fs/namei.c:1718 lookup_slow+0x6a/0xd0 fs/namei.c:1735 walk_component+0x467/0x650 fs/namei.c:2039 lookup_last fs/namei.c:2542 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2566 filename_lookup+0x22f/0x750 fs/namei.c:2595 user_path_at+0x85/0x390 fs/namei.c:3002 ksys_umount fs/namespace.c:2033 [inline] __do_sys_umount fs/namespace.c:2041 [inline] __se_sys_umount fs/namespace.c:2039 [inline] __x64_sys_umount+0x146/0x240 fs/namespace.c:2039 x64_sys_call+0x3109/0x3c10 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:3994 [inline] slab_alloc_node mm/slub.c:4037 [inline] __do_kmalloc_node mm/slub.c:4157 [inline] __kmalloc_noprof+0x661/0xf30 mm/slub.c:4170 kmalloc_noprof include/linux/slab.h:685 [inline] hfsplus_find_init+0x95/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_iget+0x3e1/0xaf0 fs/hfsplus/super.c:80 hfsplus_lookup+0xcde/0xef0 fs/hfsplus/dir.c:118 __lookup_slow+0x506/0x6e0 fs/namei.c:1718 lookup_slow+0x6a/0xd0 fs/namei.c:1735 walk_component+0x467/0x650 fs/namei.c:2039 lookup_last fs/namei.c:2542 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2566 filename_lookup+0x22f/0x750 fs/namei.c:2595 user_path_at+0x85/0x390 fs/namei.c:3002 ksys_umount fs/namespace.c:2033 [inline] __do_sys_umount fs/namespace.c:2041 [inline] __se_sys_umount fs/namespace.c:2039 [inline] __x64_sys_umount+0x146/0x240 fs/namespace.c:2039 x64_sys_call+0x3109/0x3c10 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: 1 UID: 0 PID: 16196 Comm: syz-executor Not tainted 6.10.0-syzkaller-12381-gc33ffdb70cc6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 =====================================================