===================================================== BUG: KMSAN: uninit-value in hfs_brec_keylen+0x39c/0x640 fs/hfs/brec.c:46 hfs_brec_keylen+0x39c/0x640 fs/hfs/brec.c:46 __hfs_brec_find+0x11e/0x8b0 fs/hfs/bfind.c:69 hfs_brec_find+0x4c4/0x9f0 fs/hfs/bfind.c:138 hfs_cat_move+0x122d/0x1390 fs/hfs/catalog.c:372 hfs_rename+0x313/0x550 fs/hfs/dir.c:299 vfs_rename+0x1e87/0x2460 fs/namei.c:5121 do_renameat2+0x175e/0x1d70 fs/namei.c:5270 __do_sys_rename fs/namei.c:5317 [inline] __se_sys_rename fs/namei.c:5315 [inline] __ia32_sys_rename+0xd7/0x140 fs/namei.c:5315 ia32_sys_call+0x3d36/0x42c0 arch/x86/include/generated/asm/syscalls_32.h:39 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x110 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 Local variable data created at: hfs_bnode_read_u16+0x3b/0x90 fs/hfs/bnode.c:44 hfs_brec_keylen+0x209/0x640 fs/hfs/brec.c:45 CPU: 1 UID: 0 PID: 6265 Comm: syz.1.89 Not tainted 6.15.0-rc3-syzkaller-00094-g02ddfb981de8 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/29/2025 =====================================================