===================================================== BUG: KMSAN: uninit-value in hfsplus_cat_case_cmp_key+0xf1/0x190 fs/hfsplus/catalog.c:23 hfsplus_cat_case_cmp_key+0xf1/0x190 fs/hfsplus/catalog.c:23 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_removexattr fs/hfsplus/xattr.c:788 [inline] __hfsplus_setxattr+0x6f0/0x3580 fs/hfsplus/xattr.c:275 hfsplus_setxattr+0x129/0x1e0 fs/hfsplus/xattr.c:434 hfsplus_user_setxattr+0x55/0x70 fs/hfsplus/xattr_user.c:30 __vfs_removexattr+0x875/0x8f0 fs/xattr.c:518 __vfs_removexattr_locked+0x280/0x7d0 fs/xattr.c:553 vfs_removexattr+0xba/0x3c0 fs/xattr.c:575 removexattr+0x271/0x310 fs/xattr.c:917 path_removexattr+0x1c1/0x3b0 fs/xattr.c:931 __do_sys_lremovexattr fs/xattr.c:951 [inline] __se_sys_lremovexattr fs/xattr.c:948 [inline] __x64_sys_lremovexattr+0x6f/0xb0 fs/xattr.c:948 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x6d/0x75 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_removexattr fs/hfsplus/xattr.c:782 [inline] __hfsplus_setxattr+0x63d/0x3580 fs/hfsplus/xattr.c:275 hfsplus_setxattr+0x129/0x1e0 fs/hfsplus/xattr.c:434 hfsplus_user_setxattr+0x55/0x70 fs/hfsplus/xattr_user.c:30 __vfs_removexattr+0x875/0x8f0 fs/xattr.c:518 __vfs_removexattr_locked+0x280/0x7d0 fs/xattr.c:553 vfs_removexattr+0xba/0x3c0 fs/xattr.c:575 removexattr+0x271/0x310 fs/xattr.c:917 path_removexattr+0x1c1/0x3b0 fs/xattr.c:931 __do_sys_lremovexattr fs/xattr.c:951 [inline] __se_sys_lremovexattr fs/xattr.c:948 [inline] __x64_sys_lremovexattr+0x6f/0xb0 fs/xattr.c:948 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x6d/0x75 CPU: 1 PID: 7792 Comm: syz-executor.0 Not tainted 6.8.0-syzkaller-13006-g4f55aa85a874 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 =====================================================