loop1: 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+0x10f4/0x1340 fs/hfsplus/catalog.c:419 hfsplus_subfolders_dec fs/hfsplus/catalog.c:248 [inline] hfsplus_delete_cat+0x10f4/0x1340 fs/hfsplus/catalog.c:419 hfsplus_rmdir+0x140/0x2e0 fs/hfsplus/dir.c:425 vfs_rmdir+0x5bf/0x800 fs/namei.c:4419 do_rmdir+0x5c4/0x850 fs/namei.c:4474 __do_sys_rmdir fs/namei.c:4493 [inline] __se_sys_rmdir fs/namei.c:4491 [inline] __x64_sys_rmdir+0x76/0xa0 fs/namei.c:4491 x64_sys_call+0x33a3/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:85 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1e0 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+0x17fb/0x1810 fs/hfsplus/catalog.c:314 hfsplus_mknod+0x201/0x560 fs/hfsplus/dir.c:494 hfsplus_mkdir+0x58/0x80 fs/hfsplus/dir.c:529 vfs_mkdir+0x4f7/0x830 fs/namei.c:4324 do_mkdirat+0x3db/0x870 fs/namei.c:4357 __do_sys_mkdirat fs/namei.c:4374 [inline] __se_sys_mkdirat fs/namei.c:4372 [inline] __x64_sys_mkdirat+0xc6/0x120 fs/namei.c:4372 x64_sys_call+0x3a33/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:259 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1e0 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+0x17fb/0x1810 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:1759 do_new_mount+0x71f/0x15e0 fs/namespace.c:3878 path_mount+0x742/0x1f10 fs/namespace.c:4205 do_mount fs/namespace.c:4218 [inline] __do_sys_mount fs/namespace.c:4429 [inline] __se_sys_mount+0x71f/0x800 fs/namespace.c:4406 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4406 x64_sys_call+0xed5/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: __alloc_frozen_pages_noprof+0x9a7/0xe00 mm/page_alloc.c:4763 alloc_pages_mpol+0x4cd/0x890 mm/mempolicy.c:2301 alloc_frozen_pages_noprof+0x1bf/0x1e0 mm/mempolicy.c:2372 alloc_slab_page mm/slub.c:2446 [inline] allocate_slab+0x23a/0x1110 mm/slub.c:2610 new_slab mm/slub.c:2663 [inline] ___slab_alloc+0x128a/0x3550 mm/slub.c:3849 __slab_alloc mm/slub.c:3939 [inline] __slab_alloc_node mm/slub.c:4014 [inline] slab_alloc_node mm/slub.c:4175 [inline] kmem_cache_alloc_lru_noprof+0x866/0xe30 mm/slub.c:4206 hfsplus_alloc_inode+0x5a/0xd0 fs/hfsplus/super.c:627 alloc_inode+0x8a/0x470 fs/inode.c:346 iget_locked+0x254/0x1240 fs/inode.c:1439 hfsplus_iget+0x59/0xae0 fs/hfsplus/super.c:65 hfsplus_btree_open+0x13e/0x1ed0 fs/hfsplus/btree.c:150 hfsplus_fill_super+0x1113/0x26e0 fs/hfsplus/super.c:474 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:1759 do_new_mount+0x71f/0x15e0 fs/namespace.c:3878 path_mount+0x742/0x1f10 fs/namespace.c:4205 do_mount fs/namespace.c:4218 [inline] __do_sys_mount fs/namespace.c:4429 [inline] __se_sys_mount+0x71f/0x800 fs/namespace.c:4406 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4406 x64_sys_call+0xed5/0x3c80 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 6082 Comm: syz.1.43 Not tainted 6.14.0-syzkaller-05877-g1a9239bb4253 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================