loop9: 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+0x126a/0x1340 fs/hfsplus/catalog.c:425 hfsplus_unlink+0x4da/0xd20 fs/hfsplus/dir.c:385 hfsplus_rename+0x161/0x2e0 fs/hfsplus/dir.c:547 vfs_rename+0x1d9d/0x2280 fs/namei.c:5121 do_renameat2+0x1874/0x1d70 fs/namei.c:5270 __do_sys_rename fs/namei.c:5317 [inline] __se_sys_rename fs/namei.c:5315 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5315 x64_sys_call+0x3a1e/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1b0 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:4167 [inline] slab_alloc_node mm/slub.c:4210 [inline] __do_kmalloc_node mm/slub.c:4340 [inline] __kmalloc_noprof+0x946/0x1260 mm/slub.c:4353 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x97/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_delete_all_attrs+0xc8/0x410 fs/hfsplus/attributes.c:366 hfsplus_delete_cat+0x126a/0x1340 fs/hfsplus/catalog.c:425 hfsplus_unlink+0x4da/0xd20 fs/hfsplus/dir.c:385 hfsplus_rename+0x161/0x2e0 fs/hfsplus/dir.c:547 vfs_rename+0x1d9d/0x2280 fs/namei.c:5121 do_renameat2+0x1874/0x1d70 fs/namei.c:5270 __do_sys_rename fs/namei.c:5317 [inline] __se_sys_rename fs/namei.c:5315 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5315 x64_sys_call+0x3a1e/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 16773 Comm: syz.9.2620 Not tainted 6.15.0-rc3-syzkaller-00008-ga33b5a08cbbd #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================