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:4966 do_renameat2+0x18cc/0x1d50 fs/namei.c:5123 __do_sys_rename fs/namei.c:5170 [inline] __se_sys_rename fs/namei.c:5168 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5168 x64_sys_call+0x1e4d/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:3994 [inline] slab_alloc_node mm/slub.c:4037 [inline] __do_kmalloc_node mm/slub.c:4157 [inline] __kmalloc_noprof+0x661/0xf30 mm/slub.c:4170 kmalloc_noprof include/linux/slab.h:685 [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:4966 do_renameat2+0x18cc/0x1d50 fs/namei.c:5123 __do_sys_rename fs/namei.c:5170 [inline] __se_sys_rename fs/namei.c:5168 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5168 x64_sys_call+0x1e4d/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 19995 Comm: syz.2.3754 Not tainted 6.11.0-rc2-syzkaller-00239-g34ac1e82e5a7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 =====================================================