===================================================== 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_create+0x461/0xc40 fs/hfs/catalog.c:112 hfs_create+0xce/0x250 fs/hfs/dir.c:202 lookup_open fs/namei.c:3701 [inline] open_last_lookups fs/namei.c:3800 [inline] path_openat+0x2d44/0x6760 fs/namei.c:4036 do_filp_open+0x280/0x660 fs/namei.c:4066 do_sys_openat2+0x1bb/0x2f0 fs/open.c:1429 do_sys_open fs/open.c:1444 [inline] __do_sys_openat fs/open.c:1460 [inline] __se_sys_openat fs/open.c:1455 [inline] __x64_sys_openat+0x240/0x300 fs/open.c:1455 x64_sys_call+0x213/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f 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: 0 UID: 0 PID: 6028 Comm: syz.2.19 Not tainted 6.15.0-rc3-syzkaller-00076-ge72e9e693307 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================