hfsplus: request for non-existent node 3 in B*Tree hfsplus: xattr searching failed ===================================================== 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_rename_cat+0x424/0x1700 fs/hfsplus/catalog.c:466 hfsplus_link+0x443/0xc00 fs/hfsplus/dir.c:323 vfs_link+0x93d/0xb70 fs/namei.c:4605 do_linkat+0x6e1/0x1160 fs/namei.c:4676 __do_sys_link fs/namei.c:4710 [inline] __se_sys_link fs/namei.c:4708 [inline] __x64_sys_link+0xf0/0x150 fs/namei.c:4708 x64_sys_call+0x31b2/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:87 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f 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_rename_cat+0x106/0x1700 fs/hfsplus/catalog.c:447 hfsplus_link+0x443/0xc00 fs/hfsplus/dir.c:323 vfs_link+0x93d/0xb70 fs/namei.c:4605 do_linkat+0x6e1/0x1160 fs/namei.c:4676 __do_sys_link fs/namei.c:4710 [inline] __se_sys_link fs/namei.c:4708 [inline] __x64_sys_link+0xf0/0x150 fs/namei.c:4708 x64_sys_call+0x31b2/0x3b50 arch/x86/include/generated/asm/syscalls_64.h:87 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcf/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 PID: 7211 Comm: syz-executor.4 Not tainted 6.9.0-rc5-syzkaller-00296-g5eb4573ea63d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================