hfsplus: request for non-existent node 3 in B*Tree hfsplus: request for non-existent node 3 in B*Tree ===================================================== BUG: KMSAN: uninit-value in hfsplus_cat_case_cmp_key+0xf1/0x190 fs/hfsplus/catalog.c:23 hfsplus_cat_case_cmp_key+0xf1/0x190 fs/hfsplus/catalog.c:23 hfs_find_rec_by_key+0xb1/0x240 fs/hfsplus/bfind.c:100 __hfsplus_brec_find+0x26f/0x7b0 fs/hfsplus/bfind.c:135 hfsplus_brec_find+0x445/0x970 fs/hfsplus/bfind.c:195 hfsplus_brec_read+0x46/0x1a0 fs/hfsplus/bfind.c:222 hfsplus_find_cat+0xdb/0x460 fs/hfsplus/catalog.c:202 __hfsplus_setxattr+0x281/0x3580 fs/hfsplus/xattr.c:283 hfsplus_setxattr+0x129/0x1e0 fs/hfsplus/xattr.c:434 hfsplus_security_setxattr+0x55/0x70 fs/hfsplus/xattr_security.c:31 __vfs_setxattr+0x844/0x8b0 fs/xattr.c:200 __vfs_setxattr_noperm+0x24f/0xa40 fs/xattr.c:234 __vfs_setxattr_locked+0x441/0x480 fs/xattr.c:295 vfs_setxattr+0x294/0x650 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] setxattr+0x463/0x540 fs/xattr.c:652 path_setxattr+0x1f5/0x3d0 fs/xattr.c:671 __do_sys_setxattr fs/xattr.c:687 [inline] __se_sys_setxattr fs/xattr.c:683 [inline] __ia32_sys_setxattr+0xf4/0x180 fs/xattr.c:683 ia32_sys_call+0x227c/0x40a0 arch/x86/include/generated/asm/syscalls_32.h:227 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x120 arch/x86/entry/common.c:321 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:346 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:384 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: slab_post_alloc_hook mm/slub.c:3804 [inline] slab_alloc_node mm/slub.c:3845 [inline] __do_kmalloc_node mm/slub.c:3965 [inline] __kmalloc+0x6e4/0x1000 mm/slub.c:3979 kmalloc include/linux/slab.h:632 [inline] hfsplus_find_init+0x91/0x250 fs/hfsplus/bfind.c:21 __hfsplus_setxattr+0x1d0/0x3580 fs/hfsplus/xattr.c:277 hfsplus_setxattr+0x129/0x1e0 fs/hfsplus/xattr.c:434 hfsplus_security_setxattr+0x55/0x70 fs/hfsplus/xattr_security.c:31 __vfs_setxattr+0x844/0x8b0 fs/xattr.c:200 __vfs_setxattr_noperm+0x24f/0xa40 fs/xattr.c:234 __vfs_setxattr_locked+0x441/0x480 fs/xattr.c:295 vfs_setxattr+0x294/0x650 fs/xattr.c:321 do_setxattr fs/xattr.c:629 [inline] setxattr+0x463/0x540 fs/xattr.c:652 path_setxattr+0x1f5/0x3d0 fs/xattr.c:671 __do_sys_setxattr fs/xattr.c:687 [inline] __se_sys_setxattr fs/xattr.c:683 [inline] __ia32_sys_setxattr+0xf4/0x180 fs/xattr.c:683 ia32_sys_call+0x227c/0x40a0 arch/x86/include/generated/asm/syscalls_32.h:227 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x120 arch/x86/entry/common.c:321 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:346 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:384 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 1 PID: 9312 Comm: syz-executor.1 Tainted: G W 6.9.0-rc3-syzkaller-00073-ge8c39d0f57f3 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================