loop2: 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+0x6b4/0xa50 fs/hfs/extent.c:320 __hfs_ext_read_extent fs/hfs/extent.c:160 [inline] hfs_free_fork+0x6b4/0xa50 fs/hfs/extent.c:320 hfs_cat_delete+0x501/0xb90 fs/hfs/catalog.c:247 hfs_remove fs/hfs/dir.c:262 [inline] hfs_rename+0x1d3/0x500 fs/hfs/dir.c:294 vfs_rename+0x1d9d/0x2280 fs/namei.c:5013 do_renameat2+0x18cc/0x1d50 fs/namei.c:5170 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __ia32_sys_rename+0xd8/0x130 fs/namei.c:5215 ia32_sys_call+0x1e18/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:39 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: slab_post_alloc_hook mm/slub.c:4091 [inline] slab_alloc_node mm/slub.c:4134 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_noprof+0x661/0xf30 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] hfs_find_init+0x91/0x250 fs/hfs/bfind.c:21 hfs_free_fork+0x3bb/0xa50 fs/hfs/extent.c:316 hfs_cat_delete+0x501/0xb90 fs/hfs/catalog.c:247 hfs_remove fs/hfs/dir.c:262 [inline] hfs_rename+0x1d3/0x500 fs/hfs/dir.c:294 vfs_rename+0x1d9d/0x2280 fs/namei.c:5013 do_renameat2+0x18cc/0x1d50 fs/namei.c:5170 __do_sys_rename fs/namei.c:5217 [inline] __se_sys_rename fs/namei.c:5215 [inline] __ia32_sys_rename+0xd8/0x130 fs/namei.c:5215 ia32_sys_call+0x1e18/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:39 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 1 UID: 0 PID: 6103 Comm: syz.2.40 Not tainted 6.12.0-rc7-syzkaller-00125-gcfaaa7d010d1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 =====================================================