loop0: 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+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_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x2a1/0x310 fs/open.c:1441 x64_sys_call+0x120e/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f 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_sys_openat fs/open.c:1446 [inline] __se_sys_openat fs/open.c:1441 [inline] __x64_sys_openat+0x2a1/0x310 fs/open.c:1441 x64_sys_call+0x120e/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 5787 Comm: syz-executor246 Not tainted 6.12.0-rc5-syzkaller-00044-gc1e939a21eb1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================