loop0: 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_rename_cat+0x10e5/0x16f0 fs/hfsplus/catalog.c:513 hfsplus_subfolders_dec fs/hfsplus/catalog.c:248 [inline] hfsplus_rename_cat+0x10e5/0x16f0 fs/hfsplus/catalog.c:513 hfsplus_rename+0x209/0x2e0 fs/hfsplus/dir.c:552 vfs_rename+0x1d9d/0x2280 fs/namei.c:5013 do_renameat2+0x18cc/0x1d50 fs/namei.c:5170 __do_sys_renameat2 fs/namei.c:5204 [inline] __se_sys_renameat2 fs/namei.c:5201 [inline] __ia32_sys_renameat2+0x14f/0x1f0 fs/namei.c:5201 ia32_sys_call+0x230f/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:354 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 stored to memory at: hfsplus_subfolders_inc fs/hfsplus/catalog.c:232 [inline] hfsplus_rename_cat+0x1014/0x16f0 fs/hfsplus/catalog.c:496 hfsplus_rename+0x209/0x2e0 fs/hfsplus/dir.c:552 vfs_rename+0x1d9d/0x2280 fs/namei.c:5013 do_renameat2+0x18cc/0x1d50 fs/namei.c:5170 __do_sys_renameat2 fs/namei.c:5204 [inline] __se_sys_renameat2 fs/namei.c:5201 [inline] __ia32_sys_renameat2+0x14f/0x1f0 fs/namei.c:5201 ia32_sys_call+0x230f/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:354 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: __alloc_pages_noprof+0x9a7/0xe00 mm/page_alloc.c:4773 alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2265 alloc_pages_noprof+0x1bf/0x1e0 mm/mempolicy.c:2345 alloc_slab_page mm/slub.c:2412 [inline] allocate_slab+0x320/0x12e0 mm/slub.c:2578 new_slab mm/slub.c:2631 [inline] ___slab_alloc+0x12ef/0x35e0 mm/slub.c:3818 __slab_alloc mm/slub.c:3908 [inline] __slab_alloc_node mm/slub.c:3961 [inline] slab_alloc_node mm/slub.c:4122 [inline] kmem_cache_alloc_lru_noprof+0x584/0xb30 mm/slub.c:4153 hfsplus_alloc_inode+0x5a/0xd0 fs/hfsplus/super.c:633 alloc_inode+0x86/0x460 fs/inode.c:265 new_inode_pseudo fs/inode.c:1104 [inline] new_inode+0x38/0x480 fs/inode.c:1123 hfsplus_new_inode+0x5e/0xa70 fs/hfsplus/inode.c:381 hfsplus_mknod+0xbe/0x560 fs/hfsplus/dir.c:487 vfs_mknod+0x5ed/0x6a0 fs/namei.c:4135 do_mknodat+0x6d7/0xb90 __do_sys_mknod fs/namei.c:4218 [inline] __se_sys_mknod fs/namei.c:4216 [inline] __ia32_sys_mknod+0xc4/0x120 fs/namei.c:4216 ia32_sys_call+0x27d2/0x40d0 arch/x86/include/generated/asm/syscalls_32.h:15 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: 7851 Comm: syz.0.547 Not tainted 6.12.0-rc7-syzkaller-00125-gcfaaa7d010d1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 =====================================================