===================================================== BUG: KMSAN: uninit-value in hfs_brec_keylen+0x423/0x610 fs/hfs/brec.c:46 hfs_brec_keylen+0x423/0x610 fs/hfs/brec.c:46 __hfs_brec_find+0x111/0x830 fs/hfs/bfind.c:69 hfs_brec_find+0x436/0x980 fs/hfs/bfind.c:138 hfs_cat_move+0x116d/0x12e0 fs/hfs/catalog.c:372 hfs_rename+0x344/0x500 fs/hfs/dir.c:299 vfs_rename+0x1d9d/0x2280 fs/namei.c:5121 do_renameat2+0x1874/0x1d70 fs/namei.c:5270 __do_sys_rename fs/namei.c:5317 [inline] __se_sys_rename fs/namei.c:5315 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5315 x64_sys_call+0x3a1e/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Local variable data created at: hfs_bnode_read_u16+0x3d/0x90 fs/hfs/bnode.c:-1 hfs_brec_keylen+0x23e/0x610 fs/hfs/brec.c:45 CPU: 1 UID: 0 PID: 8323 Comm: syz.7.453 Not tainted 6.15.0-rc3-syzkaller-00001-g9d7a0577c9db #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================