===================================================== 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:5067 do_renameat2+0x18d0/0x1d50 fs/namei.c:5224 __do_sys_renameat2 fs/namei.c:5258 [inline] __se_sys_renameat2 fs/namei.c:5255 [inline] __ia32_sys_renameat2+0x14f/0x1f0 fs/namei.c:5255 ia32_sys_call+0x2f8a/0x4180 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:5067 do_renameat2+0x18d0/0x1d50 fs/namei.c:5224 __do_sys_renameat2 fs/namei.c:5258 [inline] __se_sys_renameat2 fs/namei.c:5255 [inline] __ia32_sys_renameat2+0x14f/0x1f0 fs/namei.c:5255 ia32_sys_call+0x2f8a/0x4180 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:4774 alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2265 alloc_pages_noprof+0x1bf/0x1e0 mm/mempolicy.c:2344 alloc_slab_page mm/slub.c:2408 [inline] allocate_slab+0x320/0x12e0 mm/slub.c:2574 new_slab mm/slub.c:2627 [inline] ___slab_alloc+0x12ef/0x35e0 mm/slub.c:3815 __slab_alloc mm/slub.c:3905 [inline] __slab_alloc_node mm/slub.c:3980 [inline] slab_alloc_node mm/slub.c:4141 [inline] kmem_cache_alloc_lru_noprof+0x855/0xe20 mm/slub.c:4172 hfsplus_alloc_inode+0x5a/0xd0 fs/hfsplus/super.c:627 alloc_inode+0x86/0x460 fs/inode.c:336 iget_locked+0x250/0x1290 fs/inode.c:1487 hfsplus_iget+0x59/0xae0 fs/hfsplus/super.c:65 hfsplus_lookup+0xcde/0xef0 fs/hfsplus/dir.c:118 __lookup_slow+0x506/0x6e0 fs/namei.c:1791 lookup_slow+0x6a/0xd0 fs/namei.c:1808 walk_component+0x467/0x650 fs/namei.c:2112 lookup_last fs/namei.c:2610 [inline] path_lookupat+0x27d/0x6f0 fs/namei.c:2634 filename_lookup+0x288/0x7c0 fs/namei.c:2663 filename_setxattr+0x79/0x760 fs/xattr.c:660 path_setxattrat+0x53d/0x760 fs/xattr.c:713 __do_sys_setxattr fs/xattr.c:747 [inline] __se_sys_setxattr fs/xattr.c:743 [inline] __ia32_sys_setxattr+0xf9/0x180 fs/xattr.c:743 ia32_sys_call+0x63f/0x4180 arch/x86/include/generated/asm/syscalls_32.h:227 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: 9873 Comm: syz.7.1184 Not tainted 6.13.0-rc1-syzkaller-00001-ge70140ba0d2b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================