===================================================== BUG: KMSAN: uninit-value in hfsplus_attr_bin_cmp_key+0xed/0x180 fs/hfsplus/attributes.c:42 hfsplus_attr_bin_cmp_key+0xed/0x180 fs/hfsplus/attributes.c:42 hfs_find_rec_by_key+0xac/0x240 fs/hfsplus/bfind.c:100 __hfsplus_brec_find+0x27a/0x7d0 fs/hfsplus/bfind.c:135 hfsplus_brec_find+0x46a/0x9d0 fs/hfsplus/bfind.c:195 hfsplus_find_attr+0x308/0x380 __hfsplus_getxattr+0x380/0xe50 fs/hfsplus/xattr.c:522 hfsplus_getxattr+0x11f/0x1d0 fs/hfsplus/xattr.c:590 hfsplus_security_getxattr+0x4f/0x60 fs/hfsplus/xattr_security.c:20 vfs_getxattr_alloc+0x84a/0xbf0 fs/xattr.c:380 ima_read_xattr+0x50/0xe0 security/integrity/ima/ima_appraise.c:228 process_measurement+0x1bf2/0x3680 security/integrity/ima/ima_main.c:319 ima_file_check+0xbc/0x120 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x497c/0x5600 fs/namei.c:3714 do_filp_open+0x249/0x660 fs/namei.c:3741 do_sys_openat2+0x1f0/0x910 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_compat_sys_openat fs/open.c:1386 [inline] __se_compat_sys_openat fs/open.c:1384 [inline] __ia32_compat_sys_openat+0x2a7/0x330 fs/open.c:1384 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: slab_post_alloc_hook mm/slab.h:742 [inline] slab_alloc_node mm/slub.c:3398 [inline] __kmem_cache_alloc_node+0x6ee/0xc90 mm/slub.c:3437 __do_kmalloc_node mm/slab_common.c:954 [inline] __kmalloc+0x11d/0x3c0 mm/slab_common.c:968 kmalloc include/linux/slab.h:558 [inline] hfsplus_find_init+0x8d/0x250 fs/hfsplus/bfind.c:21 __hfsplus_getxattr+0x2d1/0xe50 fs/hfsplus/xattr.c:516 hfsplus_getxattr+0x11f/0x1d0 fs/hfsplus/xattr.c:590 hfsplus_security_getxattr+0x4f/0x60 fs/hfsplus/xattr_security.c:20 vfs_getxattr_alloc+0x84a/0xbf0 fs/xattr.c:380 ima_read_xattr+0x50/0xe0 security/integrity/ima/ima_appraise.c:228 process_measurement+0x1bf2/0x3680 security/integrity/ima/ima_main.c:319 ima_file_check+0xbc/0x120 security/integrity/ima/ima_main.c:517 do_open fs/namei.c:3559 [inline] path_openat+0x497c/0x5600 fs/namei.c:3714 do_filp_open+0x249/0x660 fs/namei.c:3741 do_sys_openat2+0x1f0/0x910 fs/open.c:1310 do_sys_open fs/open.c:1326 [inline] __do_compat_sys_openat fs/open.c:1386 [inline] __se_compat_sys_openat fs/open.c:1384 [inline] __ia32_compat_sys_openat+0x2a7/0x330 fs/open.c:1384 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 1 PID: 3820 Comm: syz-executor.3 Not tainted 6.1.0-rc7-syzkaller-63931-g49a9a20768f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 =====================================================