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+0x16a/0x2f0 fs/hfs/dir.c:262 vfs_unlink+0x676/0xa30 fs/namei.c:4343 do_unlinkat+0x823/0xe10 fs/namei.c:4407 __do_sys_unlinkat fs/namei.c:4450 [inline] __se_sys_unlinkat fs/namei.c:4443 [inline] __ia32_sys_unlinkat+0x17c/0x230 fs/namei.c:4443 ia32_sys_call+0x28de/0x40a0 arch/x86/include/generated/asm/syscalls_32.h:302 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x120 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:3877 [inline] slab_alloc_node mm/slub.c:3918 [inline] __do_kmalloc_node mm/slub.c:4038 [inline] __kmalloc+0x6e4/0x1060 mm/slub.c:4052 kmalloc include/linux/slab.h:632 [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+0x16a/0x2f0 fs/hfs/dir.c:262 vfs_unlink+0x676/0xa30 fs/namei.c:4343 do_unlinkat+0x823/0xe10 fs/namei.c:4407 __do_sys_unlinkat fs/namei.c:4450 [inline] __se_sys_unlinkat fs/namei.c:4443 [inline] __ia32_sys_unlinkat+0x17c/0x230 fs/namei.c:4443 ia32_sys_call+0x28de/0x40a0 arch/x86/include/generated/asm/syscalls_32.h:302 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb4/0x120 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: 0 PID: 6308 Comm: syz-executor.2 Not tainted 6.9.0-syzkaller-02339-g101b7a97143a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 =====================================================