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:100 __hfsplus_brec_find+0x26f/0x7b0 fs/hfsplus/bfind.c:135 hfsplus_brec_find+0x445/0x970 fs/hfsplus/bfind.c:195 hfsplus_brec_read+0x46/0x1a0 fs/hfsplus/bfind.c:222 hfsplus_find_cat+0xdb/0x460 fs/hfsplus/catalog.c:202 hfsplus_iget+0x740/0xaf0 fs/hfsplus/super.c:82 hfsplus_lookup+0xce4/0xf00 fs/hfsplus/dir.c:118 __lookup_slow+0x506/0x6e0 fs/namei.c:1692 lookup_slow+0x6a/0xd0 fs/namei.c:1709 walk_component+0x467/0x650 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2485 filename_lookup+0x22f/0x750 fs/namei.c:2514 user_path_at_empty+0x8b/0x3a0 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] ksys_umount fs/namespace.c:1916 [inline] __do_sys_umount fs/namespace.c:1924 [inline] __se_sys_umount fs/namespace.c:1922 [inline] __x64_sys_umount+0x149/0x240 fs/namespace.c:1922 x64_sys_call+0x3da/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:167 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/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:3804 [inline] slab_alloc_node mm/slub.c:3845 [inline] __do_kmalloc_node mm/slub.c:3965 [inline] __kmalloc+0x6e4/0x1000 mm/slub.c:3979 kmalloc include/linux/slab.h:632 [inline] hfsplus_find_init+0x91/0x250 fs/hfsplus/bfind.c:21 hfsplus_iget+0x3e1/0xaf0 fs/hfsplus/super.c:80 hfsplus_lookup+0xce4/0xf00 fs/hfsplus/dir.c:118 __lookup_slow+0x506/0x6e0 fs/namei.c:1692 lookup_slow+0x6a/0xd0 fs/namei.c:1709 walk_component+0x467/0x650 fs/namei.c:2004 lookup_last fs/namei.c:2461 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2485 filename_lookup+0x22f/0x750 fs/namei.c:2514 user_path_at_empty+0x8b/0x3a0 fs/namei.c:2921 user_path_at include/linux/namei.h:57 [inline] ksys_umount fs/namespace.c:1916 [inline] __do_sys_umount fs/namespace.c:1924 [inline] __se_sys_umount fs/namespace.c:1922 [inline] __x64_sys_umount+0x149/0x240 fs/namespace.c:1922 x64_sys_call+0x3da/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:167 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 PID: 5040 Comm: syz-executor.0 Not tainted 6.9.0-rc5-syzkaller-00042-ge88c4cfcb7b8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================