loop6: detected capacity change from 0 to 1024 ===================================================== BUG: KMSAN: uninit-value in hfs_find_1st_rec_by_cnid+0x212/0x3d0 fs/hfsplus/bfind.c:67 hfs_find_1st_rec_by_cnid+0x212/0x3d0 fs/hfsplus/bfind.c:67 __hfsplus_brec_find+0x274/0x840 fs/hfsplus/bfind.c:124 hfsplus_brec_find+0x4df/0x9f0 fs/hfsplus/bfind.c:184 hfsplus_find_attr fs/hfsplus/attributes.c:160 [inline] hfsplus_delete_all_attrs+0x255/0x420 fs/hfsplus/attributes.c:371 hfsplus_delete_cat+0x1302/0x13d0 fs/hfsplus/catalog.c:425 hfsplus_unlink+0x526/0xd70 fs/hfsplus/dir.c:385 vfs_unlink+0x616/0xab0 fs/namei.c:4595 do_unlinkat+0x6e6/0xe50 fs/namei.c:4659 __do_sys_unlink fs/namei.c:4705 [inline] __se_sys_unlink fs/namei.c:4703 [inline] __x64_sys_unlink+0x71/0xb0 fs/namei.c:4703 x64_sys_call+0x29de/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:88 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4154 [inline] slab_alloc_node mm/slub.c:4197 [inline] __do_kmalloc_node mm/slub.c:4327 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4340 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x90/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_delete_all_attrs+0xc0/0x420 fs/hfsplus/attributes.c:366 hfsplus_delete_cat+0x1302/0x13d0 fs/hfsplus/catalog.c:425 hfsplus_unlink+0x526/0xd70 fs/hfsplus/dir.c:385 vfs_unlink+0x616/0xab0 fs/namei.c:4595 do_unlinkat+0x6e6/0xe50 fs/namei.c:4659 __do_sys_unlink fs/namei.c:4705 [inline] __se_sys_unlink fs/namei.c:4703 [inline] __x64_sys_unlink+0x71/0xb0 fs/namei.c:4703 x64_sys_call+0x29de/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:88 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 22079 Comm: syz.6.4261 Not tainted 6.16.0-rc2-syzkaller-00231-g75f5f23f8787 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================