loop7: 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+0xab/0x240 fs/hfsplus/bfind.c:89 __hfsplus_brec_find+0x274/0x840 fs/hfsplus/bfind.c:124 hfsplus_brec_find+0x4df/0x9f0 fs/hfsplus/bfind.c:184 hfsplus_find_attr fs/hfsplus/attributes.c:-1 [inline] hfsplus_attr_exists+0x3c4/0x4b0 fs/hfsplus/attributes.c:182 __hfsplus_setxattr+0x588/0x3780 fs/hfsplus/xattr.c:336 hfsplus_setxattr+0x243/0x410 fs/hfsplus/xattr.c:432 hfsplus_security_setxattr+0x55/0x70 fs/hfsplus/xattr_security.c:31 __vfs_setxattr+0x73f/0x850 fs/xattr.c:200 __vfs_setxattr_noperm+0x224/0xad0 fs/xattr.c:234 __vfs_setxattr_locked+0x448/0x490 fs/xattr.c:295 vfs_setxattr+0x27f/0x640 fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x3a4/0xcc0 fs/xattr.c:665 path_setxattrat+0x734/0x820 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __ia32_sys_setxattr+0xfd/0x1b0 fs/xattr.c:743 ia32_sys_call+0x3836/0x42c0 arch/x86/include/generated/asm/syscalls_32.h:227 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 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:4154 [inline] slab_alloc_node mm/slub.c:4197 [inline] __do_kmalloc_node mm/slub.c:4327 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4340 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x90/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_attr_exists+0xe0/0x4b0 fs/hfsplus/attributes.c:178 __hfsplus_setxattr+0x588/0x3780 fs/hfsplus/xattr.c:336 hfsplus_setxattr+0x243/0x410 fs/hfsplus/xattr.c:432 hfsplus_security_setxattr+0x55/0x70 fs/hfsplus/xattr_security.c:31 __vfs_setxattr+0x73f/0x850 fs/xattr.c:200 __vfs_setxattr_noperm+0x224/0xad0 fs/xattr.c:234 __vfs_setxattr_locked+0x448/0x490 fs/xattr.c:295 vfs_setxattr+0x27f/0x640 fs/xattr.c:321 do_setxattr fs/xattr.c:636 [inline] filename_setxattr+0x3a4/0xcc0 fs/xattr.c:665 path_setxattrat+0x734/0x820 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __ia32_sys_setxattr+0xfd/0x1b0 fs/xattr.c:743 ia32_sys_call+0x3836/0x42c0 arch/x86/include/generated/asm/syscalls_32.h:227 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 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: 19553 Comm: syz.7.4829 Not tainted 6.16.0-rc4-syzkaller-00049-gb4911fb0b060 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================