loop3: detected capacity change from 0 to 1024 ===================================================== BUG: KMSAN: uninit-value in hfsplus_attr_bin_cmp_key+0xed/0x180 fs/hfsplus/attributes.c:42 hfsplus_attr_bin_cmp_key+0xed/0x180 fs/hfsplus/attributes.c:42 hfs_find_rec_by_key+0xac/0x240 fs/hfsplus/bfind.c:100 __hfsplus_brec_find+0x27a/0x7d0 fs/hfsplus/bfind.c:135 hfsplus_brec_find+0x46a/0x9d0 fs/hfsplus/bfind.c:195 hfsplus_find_attr+0x308/0x380 hfsplus_attr_exists+0x1d2/0x280 fs/hfsplus/attributes.c:182 __hfsplus_setxattr+0x553/0x1c20 fs/hfsplus/xattr.c:336 hfsplus_setxattr+0x125/0x1d0 fs/hfsplus/xattr.c:434 hfsplus_user_setxattr+0x51/0x60 fs/hfsplus/xattr_user.c:30 __vfs_setxattr+0x671/0x770 fs/xattr.c:182 __vfs_setxattr_noperm+0x24d/0xa40 fs/xattr.c:216 __vfs_setxattr_locked+0x43c/0x470 fs/xattr.c:277 vfs_setxattr+0x2a1/0x680 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x574/0x5e0 fs/xattr.c:617 path_setxattr+0x202/0x3f0 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __ia32_sys_setxattr+0xf0/0x170 fs/xattr.c:648 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: slab_post_alloc_hook mm/slab.h:742 [inline] slab_alloc_node mm/slub.c:3398 [inline] __kmem_cache_alloc_node+0x6ee/0xc90 mm/slub.c:3437 __do_kmalloc_node mm/slab_common.c:954 [inline] __kmalloc+0x11d/0x3c0 mm/slab_common.c:968 kmalloc include/linux/slab.h:558 [inline] hfsplus_find_init+0x8d/0x250 fs/hfsplus/bfind.c:21 hfsplus_attr_exists+0xe7/0x280 fs/hfsplus/attributes.c:178 __hfsplus_setxattr+0x553/0x1c20 fs/hfsplus/xattr.c:336 hfsplus_setxattr+0x125/0x1d0 fs/hfsplus/xattr.c:434 hfsplus_user_setxattr+0x51/0x60 fs/hfsplus/xattr_user.c:30 __vfs_setxattr+0x671/0x770 fs/xattr.c:182 __vfs_setxattr_noperm+0x24d/0xa40 fs/xattr.c:216 __vfs_setxattr_locked+0x43c/0x470 fs/xattr.c:277 vfs_setxattr+0x2a1/0x680 fs/xattr.c:309 do_setxattr fs/xattr.c:594 [inline] setxattr+0x574/0x5e0 fs/xattr.c:617 path_setxattr+0x202/0x3f0 fs/xattr.c:636 __do_sys_setxattr fs/xattr.c:652 [inline] __se_sys_setxattr fs/xattr.c:648 [inline] __ia32_sys_setxattr+0xf0/0x170 fs/xattr.c:648 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 0 PID: 8361 Comm: syz-executor.3 Not tainted 6.1.0-syzkaller-64311-g5c6259d6d19f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 =====================================================