loop6: detected capacity change from 0 to 1024 ===================================================== 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+0xae/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+0x780/0x7d0 fs/xattr.c:423 cap_inode_need_killpriv+0x5a/0xf0 security/commoncap.c:331 security_inode_need_killpriv+0xb4/0x500 security/security.c:2638 dentry_needs_remove_privs+0xe5/0x210 fs/inode.c:2172 do_truncate+0x112/0x2a0 fs/open.c:57 do_ftruncate+0x698/0x730 fs/open.c:192 do_sys_ftruncate fs/open.c:207 [inline] __do_compat_sys_ftruncate fs/open.c:218 [inline] __se_compat_sys_ftruncate fs/open.c:216 [inline] __ia32_compat_sys_ftruncate+0x149/0x270 fs/open.c:216 ia32_sys_call+0x3246/0x42c0 arch/x86/include/generated/asm/syscalls_32.h:94 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: slab_post_alloc_hook mm/slub.c:4153 [inline] slab_alloc_node mm/slub.c:4196 [inline] __do_kmalloc_node mm/slub.c:4326 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4339 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+0x780/0x7d0 fs/xattr.c:423 cap_inode_need_killpriv+0x5a/0xf0 security/commoncap.c:331 security_inode_need_killpriv+0xb4/0x500 security/security.c:2638 dentry_needs_remove_privs+0xe5/0x210 fs/inode.c:2172 do_truncate+0x112/0x2a0 fs/open.c:57 do_ftruncate+0x698/0x730 fs/open.c:192 do_sys_ftruncate fs/open.c:207 [inline] __do_compat_sys_ftruncate fs/open.c:218 [inline] __se_compat_sys_ftruncate fs/open.c:216 [inline] __ia32_compat_sys_ftruncate+0x149/0x270 fs/open.c:216 ia32_sys_call+0x3246/0x42c0 arch/x86/include/generated/asm/syscalls_32.h:94 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 1 UID: 0 PID: 9111 Comm: syz.6.1154 Not tainted 6.15.0-rc7-syzkaller-00007-g4a95bc121ccd #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================