loop4: 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 fs/hfsplus/attributes.c:-1 [inline] hfsplus_attr_exists+0x3c4/0x4b0 fs/hfsplus/attributes.c:182 __hfsplus_setxattr+0x593/0x37c0 fs/hfsplus/xattr.c:336 hfsplus_setxattr+0x243/0x410 fs/hfsplus/xattr.c:432 hfsplus_trusted_setxattr+0x55/0x70 fs/hfsplus/xattr_trusted.c:30 __vfs_setxattr+0x742/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+0x72b/0x820 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __x64_sys_lsetxattr+0x103/0x1c0 fs/xattr.c:750 x64_sys_call+0x2464/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:190 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 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: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_attr_exists+0xe0/0x4b0 fs/hfsplus/attributes.c:178 __hfsplus_setxattr+0x593/0x37c0 fs/hfsplus/xattr.c:336 hfsplus_setxattr+0x243/0x410 fs/hfsplus/xattr.c:432 hfsplus_trusted_setxattr+0x55/0x70 fs/hfsplus/xattr_trusted.c:30 __vfs_setxattr+0x742/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+0x72b/0x820 fs/xattr.c:713 __do_sys_lsetxattr fs/xattr.c:754 [inline] __se_sys_lsetxattr fs/xattr.c:750 [inline] __x64_sys_lsetxattr+0x103/0x1c0 fs/xattr.c:750 x64_sys_call+0x2464/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:190 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 11892 Comm: syz.4.2145 Not tainted 6.15.0-rc6-syzkaller-00346-g5723cc3450bc #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================