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:5067 do_renameat2+0x18d0/0x1d50 fs/namei.c:5224 __do_sys_rename fs/namei.c:5271 [inline] __se_sys_rename fs/namei.c:5269 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5269 x64_sys_call+0x36cb/0x3c30 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 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_rename fs/namei.c:5271 [inline] __se_sys_rename fs/namei.c:5269 [inline] __x64_sys_rename+0xe8/0x140 fs/namei.c:5269 x64_sys_call+0x36cb/0x3c30 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: __alloc_pages_noprof+0x9a7/0xe00 mm/page_alloc.c:4774 alloc_pages_mpol_noprof+0x299/0x990 mm/mempolicy.c:2269 alloc_pages_noprof+0x1bf/0x1e0 mm/mempolicy.c:2348 alloc_slab_page mm/slub.c:2423 [inline] allocate_slab+0x320/0x12e0 mm/slub.c:2589 new_slab mm/slub.c:2642 [inline] ___slab_alloc+0x12ef/0x35e0 mm/slub.c:3830 __slab_alloc mm/slub.c:3920 [inline] __slab_alloc_node mm/slub.c:3995 [inline] slab_alloc_node mm/slub.c:4156 [inline] kmem_cache_alloc_lru_noprof+0x855/0xe20 mm/slub.c:4187 hfsplus_alloc_inode+0x5a/0xd0 fs/hfsplus/super.c:627 alloc_inode+0x86/0x460 fs/inode.c:336 new_inode_pseudo fs/inode.c:1174 [inline] new_inode+0x38/0x480 fs/inode.c:1193 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:4189 do_mknodat+0x6d7/0xb90 __do_sys_mknod fs/namei.c:4272 [inline] __se_sys_mknod fs/namei.c:4270 [inline] __x64_sys_mknod+0xc4/0x120 fs/namei.c:4270 x64_sys_call+0x1a29/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:134 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: 1 UID: 0 PID: 7402 Comm: syz.0.362 Not tainted 6.13.0-rc2-syzkaller-00333-ga0e3919a2df2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 =====================================================