===================================================== BUG: KMSAN: uninit-value in hfs_find_1st_rec_by_cnid+0x27a/0x3f0 fs/hfsplus/bfind.c:67 hfs_find_1st_rec_by_cnid+0x27a/0x3f0 fs/hfsplus/bfind.c:67 __hfsplus_brec_find+0x26f/0x7b0 fs/hfsplus/bfind.c:124 hfsplus_brec_find+0x445/0x970 fs/hfsplus/bfind.c:184 hfsplus_find_attr fs/hfsplus/attributes.c:160 [inline] hfsplus_delete_all_attrs+0x282/0x410 fs/hfsplus/attributes.c:371 hfsplus_delete_cat+0x1266/0x1340 fs/hfsplus/catalog.c:425 hfsplus_rmdir+0x140/0x2e0 fs/hfsplus/dir.c:425 vfs_rmdir+0x5bf/0x800 fs/namei.c:4340 do_rmdir+0x630/0x8b0 fs/namei.c:4399 __do_sys_rmdir fs/namei.c:4418 [inline] __se_sys_rmdir fs/namei.c:4416 [inline] __ia32_sys_rmdir+0x75/0xa0 fs/namei.c:4416 ia32_sys_call+0x107e/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:41 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: slab_post_alloc_hook mm/slub.c:4091 [inline] slab_alloc_node mm/slub.c:4134 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_noprof+0x661/0xf30 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] hfsplus_find_init+0x95/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_delete_all_attrs+0xc8/0x410 fs/hfsplus/attributes.c:366 hfsplus_delete_cat+0x1266/0x1340 fs/hfsplus/catalog.c:425 hfsplus_rmdir+0x140/0x2e0 fs/hfsplus/dir.c:425 vfs_rmdir+0x5bf/0x800 fs/namei.c:4340 do_rmdir+0x630/0x8b0 fs/namei.c:4399 __do_sys_rmdir fs/namei.c:4418 [inline] __se_sys_rmdir fs/namei.c:4416 [inline] __ia32_sys_rmdir+0x75/0xa0 fs/namei.c:4416 ia32_sys_call+0x107e/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:41 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 7809 Comm: syz.2.403 Not tainted 6.12.0-rc4-syzkaller-00047-gc2ee9f594da8 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================