loop3: detected capacity change from 0 to 1024
=====================================================
BUG: KMSAN: uninit-value in hfsplus_attr_bin_cmp_key+0xf1/0x190 fs/hfsplus/attributes.c:42
 hfsplus_attr_bin_cmp_key+0xf1/0x190 fs/hfsplus/attributes.c:42
 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_find_attr+0x20d/0x260
 __hfsplus_getxattr+0x373/0xe80 fs/hfsplus/xattr.c:520
 hfsplus_getxattr+0x236/0x380 fs/hfsplus/xattr.c:588
 hfsplus_security_getxattr+0x53/0x70 fs/hfsplus/xattr_security.c:20
 vfs_getxattr_alloc+0x77a/0xc10 fs/xattr.c:393
 ima_read_xattr+0x51/0xe0 security/integrity/ima/ima_appraise.c:230
 process_measurement+0x26e5/0x3f30 security/integrity/ima/ima_main.c:356
 ima_file_check+0x8e/0xd0 security/integrity/ima/ima_main.c:603
 security_file_post_open+0xc6/0x540 security/security.c:3130
 do_open fs/namei.c:3847 [inline]
 path_openat+0x5950/0x6280 fs/namei.c:4004
 do_filp_open+0x26b/0x610 fs/namei.c:4031
 do_sys_openat2+0x1ca/0x300 fs/open.c:1429
 do_sys_open fs/open.c:1444 [inline]
 __do_sys_openat fs/open.c:1460 [inline]
 __se_sys_openat fs/open.c:1455 [inline]
 __x64_sys_openat+0x2a1/0x310 fs/open.c:1455
 x64_sys_call+0x1fe/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:258
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x1e0 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:4144 [inline]
 slab_alloc_node mm/slub.c:4187 [inline]
 __do_kmalloc_node mm/slub.c:4317 [inline]
 __kmalloc_noprof+0x946/0x1260 mm/slub.c:4330
 kmalloc_noprof include/linux/slab.h:906 [inline]
 hfsplus_find_init+0x97/0x1d0 fs/hfsplus/bfind.c:21
 __hfsplus_getxattr+0x2c4/0xe80 fs/hfsplus/xattr.c:514
 hfsplus_getxattr+0x236/0x380 fs/hfsplus/xattr.c:588
 hfsplus_security_getxattr+0x53/0x70 fs/hfsplus/xattr_security.c:20
 vfs_getxattr_alloc+0x77a/0xc10 fs/xattr.c:393
 ima_read_xattr+0x51/0xe0 security/integrity/ima/ima_appraise.c:230
 process_measurement+0x26e5/0x3f30 security/integrity/ima/ima_main.c:356
 ima_file_check+0x8e/0xd0 security/integrity/ima/ima_main.c:603
 security_file_post_open+0xc6/0x540 security/security.c:3130
 do_open fs/namei.c:3847 [inline]
 path_openat+0x5950/0x6280 fs/namei.c:4004
 do_filp_open+0x26b/0x610 fs/namei.c:4031
 do_sys_openat2+0x1ca/0x300 fs/open.c:1429
 do_sys_open fs/open.c:1444 [inline]
 __do_sys_openat fs/open.c:1460 [inline]
 __se_sys_openat fs/open.c:1455 [inline]
 __x64_sys_openat+0x2a1/0x310 fs/open.c:1455
 x64_sys_call+0x1fe/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:258
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x1e0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 1 UID: 0 PID: 7398 Comm: syz.3.360 Not tainted 6.14.0-syzkaller-01103-g2df0c02dab82 #0 PREEMPT(undef) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
=====================================================