loop8: detected capacity change from 0 to 1024
=====================================================
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_unlink+0x4da/0xd20 fs/hfsplus/dir.c:385
 vfs_unlink+0x676/0xa90 fs/namei.c:4525
 do_unlinkat+0x823/0xe20 fs/namei.c:4589
 __do_sys_unlinkat fs/namei.c:4632 [inline]
 __se_sys_unlinkat fs/namei.c:4625 [inline]
 __x64_sys_unlinkat+0x17a/0x220 fs/namei.c:4625
 x64_sys_call+0x321e/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:264
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was created at:
 slab_post_alloc_hook mm/slub.c:4121 [inline]
 slab_alloc_node mm/slub.c:4164 [inline]
 __do_kmalloc_node mm/slub.c:4293 [inline]
 __kmalloc_noprof+0x923/0x1230 mm/slub.c:4306
 kmalloc_noprof include/linux/slab.h:905 [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_unlink+0x4da/0xd20 fs/hfsplus/dir.c:385
 vfs_unlink+0x676/0xa90 fs/namei.c:4525
 do_unlinkat+0x823/0xe20 fs/namei.c:4589
 __do_sys_unlinkat fs/namei.c:4632 [inline]
 __se_sys_unlinkat fs/namei.c:4625 [inline]
 __x64_sys_unlinkat+0x17a/0x220 fs/namei.c:4625
 x64_sys_call+0x321e/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:264
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 1 UID: 0 PID: 15757 Comm: syz.8.3585 Not tainted 6.14.0-rc3-syzkaller-00166-g334426094588 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
=====================================================