loop9: 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+0x10f0/0x1340 fs/hfsplus/catalog.c:419 hfsplus_subfolders_dec fs/hfsplus/catalog.c:248 [inline] hfsplus_delete_cat+0x10f0/0x1340 fs/hfsplus/catalog.c:419 hfsplus_rmdir+0x140/0x2e0 fs/hfsplus/dir.c:425 vfs_rmdir+0x5bf/0x800 fs/namei.c:4396 do_rmdir+0x630/0x8b0 fs/namei.c:4455 __do_sys_rmdir fs/namei.c:4474 [inline] __se_sys_rmdir fs/namei.c:4472 [inline] __ia32_sys_rmdir+0x75/0xa0 fs/namei.c:4472 ia32_sys_call+0x3254/0x4180 arch/x86/include/generated/asm/syscalls_32.h:41 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:387 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:412 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:450 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was stored to memory at: hfsplus_subfolders_inc fs/hfsplus/catalog.c:232 [inline] hfsplus_create_cat+0x17f6/0x1800 fs/hfsplus/catalog.c:314 hfsplus_mknod+0x201/0x560 fs/hfsplus/dir.c:494 hfsplus_mkdir+0x58/0x70 fs/hfsplus/dir.c:529 vfs_mkdir+0x4a0/0x780 fs/namei.c:4313 do_mkdirat+0x529/0x820 fs/namei.c:4336 __do_sys_mkdirat fs/namei.c:4351 [inline] __se_sys_mkdirat fs/namei.c:4349 [inline] __ia32_sys_mkdirat+0xc6/0x120 fs/namei.c:4349 ia32_sys_call+0x849/0x4180 arch/x86/include/generated/asm/syscalls_32.h:297 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:387 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:412 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:450 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was stored to memory at: hfsplus_subfolders_inc fs/hfsplus/catalog.c:232 [inline] hfsplus_create_cat+0x17f6/0x1800 fs/hfsplus/catalog.c:314 hfsplus_fill_super+0x2236/0x26e0 fs/hfsplus/super.c:561 get_tree_bdev_flags+0x6ec/0x910 fs/super.c:1636 get_tree_bdev+0x37/0x50 fs/super.c:1659 hfsplus_get_tree+0x34/0x40 fs/hfsplus/super.c:640 vfs_get_tree+0xb1/0x5a0 fs/super.c:1814 do_new_mount+0x71f/0x15e0 fs/namespace.c:3560 path_mount+0x742/0x1f10 fs/namespace.c:3887 do_mount fs/namespace.c:3900 [inline] __do_sys_mount fs/namespace.c:4111 [inline] __se_sys_mount+0x71f/0x800 fs/namespace.c:4088 __ia32_sys_mount+0xe3/0x150 fs/namespace.c:4088 ia32_sys_call+0x260e/0x4180 arch/x86/include/generated/asm/syscalls_32.h:22 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:387 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:412 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:450 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: __alloc_frozen_pages_noprof+0x9a7/0xe00 mm/page_alloc.c:4763 alloc_pages_mpol+0x4cd/0x890 mm/mempolicy.c:2270 alloc_frozen_pages_noprof+0x1bf/0x1e0 mm/mempolicy.c:2341 alloc_slab_page mm/slub.c:2423 [inline] allocate_slab+0x23a/0x1110 mm/slub.c:2587 new_slab mm/slub.c:2640 [inline] ___slab_alloc+0x1287/0x3540 mm/slub.c:3826 __slab_alloc mm/slub.c:3916 [inline] __slab_alloc_node mm/slub.c:3991 [inline] slab_alloc_node mm/slub.c:4152 [inline] kmem_cache_alloc_lru_noprof+0x855/0xe20 mm/slub.c:4183 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 hfsplus_create+0x51/0x60 fs/hfsplus/dir.c:523 lookup_open fs/namei.c:3651 [inline] open_last_lookups fs/namei.c:3750 [inline] path_openat+0x2ed8/0x6250 fs/namei.c:3986 do_filp_open+0x268/0x600 fs/namei.c:4016 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1428 do_sys_open fs/open.c:1443 [inline] __do_compat_sys_openat fs/open.c:1505 [inline] __se_compat_sys_openat fs/open.c:1503 [inline] __ia32_compat_sys_openat+0x298/0x300 fs/open.c:1503 ia32_sys_call+0x2fb4/0x4180 arch/x86/include/generated/asm/syscalls_32.h:296 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:387 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:412 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:450 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 19959 Comm: syz.9.3718 Not tainted 6.14.0-rc7-syzkaller-00179-gb3ee1e460951 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================