loop1: 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 hfsplus_rename+0x157/0x2f0 fs/hfsplus/dir.c:547 vfs_rename+0x1f4e/0x2530 fs/namei.c:5129 do_renameat2+0x1484/0x1a50 fs/namei.c:5278 __do_sys_renameat2 fs/namei.c:5312 [inline] __se_sys_renameat2 fs/namei.c:5309 [inline] __ia32_sys_renameat2+0x15d/0x210 fs/namei.c:5309 ia32_sys_call+0x3490/0x4310 arch/x86/include/generated/asm/syscalls_32.h:354 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: slab_post_alloc_hook mm/slub.c:4186 [inline] slab_alloc_node mm/slub.c:4229 [inline] __do_kmalloc_node mm/slub.c:4364 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4377 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 hfsplus_rename+0x157/0x2f0 fs/hfsplus/dir.c:547 vfs_rename+0x1f4e/0x2530 fs/namei.c:5129 do_renameat2+0x1484/0x1a50 fs/namei.c:5278 __do_sys_renameat2 fs/namei.c:5312 [inline] __se_sys_renameat2 fs/namei.c:5309 [inline] __ia32_sys_renameat2+0x15d/0x210 fs/namei.c:5309 ia32_sys_call+0x3490/0x4310 arch/x86/include/generated/asm/syscalls_32.h:354 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 8060 Comm: syz.1.515 Not tainted syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================