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:82 hfsplus_lookup+0xcde/0xef0 fs/hfsplus/dir.c:118 __lookup_slow+0x506/0x6e0 fs/namei.c:1732 lookup_slow+0x6a/0xd0 fs/namei.c:1749 walk_component+0x467/0x650 fs/namei.c:2053 lookup_last fs/namei.c:2556 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2580 filename_lookup+0x22f/0x750 fs/namei.c:2609 user_path_at+0x85/0x390 fs/namei.c:3016 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+0x2bbd/0x3ba0 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:4091 [inline] slab_alloc_node mm/slub.c:4134 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_noprof+0x661/0xf30 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] hfsplus_find_init+0x95/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_iget+0x3c4/0xae0 fs/hfsplus/super.c:80 hfsplus_lookup+0xcde/0xef0 fs/hfsplus/dir.c:118 __lookup_slow+0x506/0x6e0 fs/namei.c:1732 lookup_slow+0x6a/0xd0 fs/namei.c:1749 walk_component+0x467/0x650 fs/namei.c:2053 lookup_last fs/namei.c:2556 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2580 filename_lookup+0x22f/0x750 fs/namei.c:2609 user_path_at+0x85/0x390 fs/namei.c:3016 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+0x2bbd/0x3ba0 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: 7900 Comm: syz-executor Not tainted 6.12.0-rc5-syzkaller-00047-g4236f913808c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================