===================================================== 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+0x30c/0x390 __hfsplus_getxattr+0x376/0xe40 fs/hfsplus/xattr.c:520 hfsplus_getxattr+0x123/0x1e0 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:229 process_measurement+0x26e5/0x3f30 security/integrity/ima/ima_main.c:353 ima_file_check+0xb4/0x100 security/integrity/ima/ima_main.c:572 security_file_post_open+0xc6/0x540 security/security.c:3129 do_open fs/namei.c:3776 [inline] path_openat+0x58cc/0x6200 fs/namei.c:3933 do_filp_open+0x20e/0x590 fs/namei.c:3960 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_compat_sys_open fs/open.c:1483 [inline] __se_compat_sys_open fs/open.c:1481 [inline] __ia32_compat_sys_open+0x26c/0x2d0 fs/open.c:1481 ia32_sys_call+0x585/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:6 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: slab_post_alloc_hook mm/slub.c:4091 [inline] slab_alloc_node mm/slub.c:4134 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_noprof+0x661/0xf30 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] hfsplus_find_init+0x95/0x1d0 fs/hfsplus/bfind.c:21 __hfsplus_getxattr+0x2c6/0xe40 fs/hfsplus/xattr.c:514 hfsplus_getxattr+0x123/0x1e0 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:229 process_measurement+0x26e5/0x3f30 security/integrity/ima/ima_main.c:353 ima_file_check+0xb4/0x100 security/integrity/ima/ima_main.c:572 security_file_post_open+0xc6/0x540 security/security.c:3129 do_open fs/namei.c:3776 [inline] path_openat+0x58cc/0x6200 fs/namei.c:3933 do_filp_open+0x20e/0x590 fs/namei.c:3960 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_compat_sys_open fs/open.c:1483 [inline] __se_compat_sys_open fs/open.c:1481 [inline] __ia32_compat_sys_open+0x26c/0x2d0 fs/open.c:1481 ia32_sys_call+0x585/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:6 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 6088 Comm: syz.1.24 Not tainted 6.12.0-rc7-syzkaller-00216-gf66d6acccbc0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 =====================================================