loop4: detected capacity change from 0 to 1024 ===================================================== BUG: KMSAN: uninit-value in hfsplus_subfolders_dec fs/hfsplus/catalog.c:248 [inline] BUG: KMSAN: uninit-value in hfsplus_delete_cat+0x1195/0x13d0 fs/hfsplus/catalog.c:419 hfsplus_subfolders_dec fs/hfsplus/catalog.c:248 [inline] hfsplus_delete_cat+0x1195/0x13d0 fs/hfsplus/catalog.c:419 hfsplus_rmdir+0x13c/0x310 fs/hfsplus/dir.c:425 hfsplus_rename+0xf9/0x2f0 fs/hfsplus/dir.c:545 vfs_rename+0x1f51/0x2530 fs/namei.c:5129 do_renameat2+0x1484/0x1a50 fs/namei.c:5278 __do_sys_rename fs/namei.c:5325 [inline] __se_sys_rename fs/namei.c:5323 [inline] __x64_sys_rename+0xd7/0x140 fs/namei.c:5323 x64_sys_call+0x269/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:83 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was stored to memory at: hfsplus_subfolders_inc fs/hfsplus/catalog.c:232 [inline] hfsplus_create_cat+0x18fb/0x1910 fs/hfsplus/catalog.c:314 hfsplus_mknod+0x208/0x560 fs/hfsplus/dir.c:494 hfsplus_mkdir+0x5a/0x80 fs/hfsplus/dir.c:529 vfs_mkdir+0x4ea/0x850 fs/namei.c:4366 do_mkdirat+0x41a/0xf30 fs/namei.c:4399 __do_sys_mkdirat fs/namei.c:4416 [inline] __se_sys_mkdirat fs/namei.c:4414 [inline] __x64_sys_mkdirat+0xc1/0x140 fs/namei.c:4414 x64_sys_call+0x338/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:259 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_frozen_pages_noprof+0x689/0xf00 mm/page_alloc.c:5171 alloc_pages_mpol+0x328/0x860 mm/mempolicy.c:2416 alloc_frozen_pages_noprof+0xf7/0x200 mm/mempolicy.c:2487 alloc_slab_page mm/slub.c:2492 [inline] allocate_slab+0x24d/0x1220 mm/slub.c:2660 new_slab mm/slub.c:2714 [inline] ___slab_alloc+0xff3/0x3470 mm/slub.c:3901 __slab_alloc mm/slub.c:3992 [inline] __slab_alloc_node mm/slub.c:4067 [inline] slab_alloc_node mm/slub.c:4228 [inline] kmem_cache_alloc_lru_noprof+0x922/0xed0 mm/slub.c:4259 hfsplus_alloc_inode+0x5a/0xd0 fs/hfsplus/super.c:625 alloc_inode+0x8a/0x4a0 fs/inode.c:346 iget_locked+0x239/0x12d0 fs/inode.c:1438 hfsplus_iget+0x5c/0xb80 fs/hfsplus/super.c:65 hfsplus_lookup+0xd5f/0xf70 fs/hfsplus/dir.c:118 __lookup_slow+0x560/0x760 fs/namei.c:1808 lookup_slow+0x6a/0xd0 fs/namei.c:1825 walk_component+0x444/0x650 fs/namei.c:2129 lookup_last fs/namei.c:2630 [inline] path_lookupat+0x251/0x6b0 fs/namei.c:2654 filename_lookup+0x2bd/0x800 fs/namei.c:2683 user_path_at+0x91/0x3d0 fs/namei.c:3127 do_sys_truncate+0x82/0x240 fs/open.c:139 __do_sys_truncate fs/open.c:153 [inline] __se_sys_truncate fs/open.c:151 [inline] __x64_sys_truncate+0x74/0xb0 fs/open.c:151 x64_sys_call+0x1f47/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:77 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 9021 Comm: syz.4.1190 Not tainted syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025 =====================================================