===================================================== BUG: KMSAN: uninit-value in hfsplus_attr_bin_cmp_key+0xd9/0x190 fs/hfsplus/attributes.c:42 hfsplus_attr_bin_cmp_key+0xd9/0x190 fs/hfsplus/attributes.c:42 hfs_find_rec_by_key+0xab/0x240 fs/hfsplus/bfind.c:89 __hfsplus_brec_find+0x271/0x840 fs/hfsplus/bfind.c:124 hfsplus_brec_find+0x4df/0x9f0 fs/hfsplus/bfind.c:184 hfsplus_find_attr+0x1eb/0x260 fs/hfsplus/attributes.c:-1 __hfsplus_getxattr+0x401/0x1020 fs/hfsplus/xattr.c:520 hfsplus_getxattr+0x240/0x3f0 fs/hfsplus/xattr.c:588 hfsplus_security_getxattr+0x53/0x70 fs/hfsplus/xattr_security.c:20 vfs_getxattr_alloc+0x72e/0xc00 fs/xattr.c:393 ima_read_xattr+0x51/0xe0 security/integrity/ima/ima_appraise.c:230 process_measurement+0x26fd/0x40e0 security/integrity/ima/ima_main.c:366 ima_file_check+0x8e/0xd0 security/integrity/ima/ima_main.c:613 security_file_post_open+0xbf/0x530 security/security.c:3130 do_open fs/namei.c:3882 [inline] path_openat+0x5ac3/0x6760 fs/namei.c:4039 do_filp_open+0x280/0x660 fs/namei.c:4066 do_sys_openat2+0x1bb/0x2f0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_open fs/open.c:1452 [inline] __se_sys_open fs/open.c:1448 [inline] __x64_sys_open+0x219/0x2c0 fs/open.c:1448 x64_sys_call+0x18ec/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4167 [inline] slab_alloc_node mm/slub.c:4210 [inline] __do_kmalloc_node mm/slub.c:4340 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4353 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x90/0x1d0 fs/hfsplus/bfind.c:21 __hfsplus_getxattr+0x355/0x1020 fs/hfsplus/xattr.c:514 hfsplus_getxattr+0x240/0x3f0 fs/hfsplus/xattr.c:588 hfsplus_security_getxattr+0x53/0x70 fs/hfsplus/xattr_security.c:20 vfs_getxattr_alloc+0x72e/0xc00 fs/xattr.c:393 ima_read_xattr+0x51/0xe0 security/integrity/ima/ima_appraise.c:230 process_measurement+0x26fd/0x40e0 security/integrity/ima/ima_main.c:366 ima_file_check+0x8e/0xd0 security/integrity/ima/ima_main.c:613 security_file_post_open+0xbf/0x530 security/security.c:3130 do_open fs/namei.c:3882 [inline] path_openat+0x5ac3/0x6760 fs/namei.c:4039 do_filp_open+0x280/0x660 fs/namei.c:4066 do_sys_openat2+0x1bb/0x2f0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_open fs/open.c:1452 [inline] __se_sys_open fs/open.c:1448 [inline] __x64_sys_open+0x219/0x2c0 fs/open.c:1448 x64_sys_call+0x18ec/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:3 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 15288 Comm: syz.3.2093 Not tainted 6.15.0-rc3-syzkaller-00094-g02ddfb981de8 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================