loop3: detected capacity change from 0 to 64 ===================================================== BUG: KMSAN: uninit-value in __hfs_ext_read_extent fs/hfs/extent.c:160 [inline] BUG: KMSAN: uninit-value in hfs_free_fork+0x929/0xa70 fs/hfs/extent.c:320 __hfs_ext_read_extent fs/hfs/extent.c:160 [inline] hfs_free_fork+0x929/0xa70 fs/hfs/extent.c:320 hfs_cat_delete+0x47c/0xb90 fs/hfs/catalog.c:247 hfs_remove fs/hfs/dir.c:262 [inline] hfs_rename+0x1cb/0x550 fs/hfs/dir.c:294 vfs_rename+0x1e87/0x2460 fs/namei.c:5121 do_renameat2+0x175e/0x1d70 fs/namei.c:5270 __do_sys_rename fs/namei.c:5317 [inline] __se_sys_rename fs/namei.c:5315 [inline] __x64_sys_rename+0xd7/0x140 fs/namei.c:5315 x64_sys_call+0x3553/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/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+0x95f/0x1310 mm/slub.c:4353 kmalloc_noprof include/linux/slab.h:909 [inline] hfs_find_init+0x93/0x260 fs/hfs/bfind.c:21 hfs_free_fork+0x392/0xa70 fs/hfs/extent.c:316 hfs_cat_delete+0x47c/0xb90 fs/hfs/catalog.c:247 hfs_remove fs/hfs/dir.c:262 [inline] hfs_rename+0x1cb/0x550 fs/hfs/dir.c:294 vfs_rename+0x1e87/0x2460 fs/namei.c:5121 do_renameat2+0x175e/0x1d70 fs/namei.c:5270 __do_sys_rename fs/namei.c:5317 [inline] __se_sys_rename fs/namei.c:5315 [inline] __x64_sys_rename+0xd7/0x140 fs/namei.c:5315 x64_sys_call+0x3553/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 7883 Comm: syz.3.449 Not tainted 6.15.0-rc3-syzkaller-00094-g02ddfb981de8 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 =====================================================