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_readdir+0x3b1/0x18e0 fs/hfsplus/dir.c:153 iterate_dir+0x688/0x870 fs/readdir.c:110 __do_sys_getdents fs/readdir.c:326 [inline] __se_sys_getdents+0x16c/0x540 fs/readdir.c:311 __x64_sys_getdents+0x96/0xe0 fs/readdir.c:311 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x72/0x7a 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_readdir+0x1e0/0x18e0 fs/hfsplus/dir.c:144 iterate_dir+0x688/0x870 fs/readdir.c:110 __do_sys_getdents fs/readdir.c:326 [inline] __se_sys_getdents+0x16c/0x540 fs/readdir.c:311 __x64_sys_getdents+0x96/0xe0 fs/readdir.c:311 do_syscall_64+0xd5/0x1f0 entry_SYSCALL_64_after_hwframe+0x72/0x7a CPU: 1 PID: 5895 Comm: syz-executor.1 Tainted: G W 6.9.0-rc2-syzkaller-00207-ge8b0ccb2a787 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 =====================================================