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_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:4293 do_rmdir+0x630/0x8b0 fs/namei.c:4352 __do_sys_unlinkat fs/namei.c:4528 [inline] __se_sys_unlinkat fs/namei.c:4522 [inline] __x64_sys_unlinkat+0x1ba/0x220 fs/namei.c:4522 x64_sys_call+0x2981/0x3c10 arch/x86/include/generated/asm/syscalls_64.h:264 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_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:4210 do_mkdirat+0x529/0x810 fs/namei.c:4233 __do_sys_mkdirat fs/namei.c:4248 [inline] __se_sys_mkdirat fs/namei.c:4246 [inline] __x64_sys_mkdirat+0xc6/0x120 fs/namei.c:4246 x64_sys_call+0x39e5/0x3c10 arch/x86/include/generated/asm/syscalls_64.h:259 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_create_cat+0x17f6/0x1800 fs/hfsplus/catalog.c:314 hfsplus_fill_super+0x227f/0x2700 fs/hfsplus/super.c:566 mount_bdev+0x39a/0x520 fs/super.c:1668 hfsplus_mount+0x4d/0x60 fs/hfsplus/super.c:647 legacy_get_tree+0x114/0x290 fs/fs_context.c:662 vfs_get_tree+0xa7/0x570 fs/super.c:1789 do_new_mount+0x71f/0x15e0 fs/namespace.c:3472 path_mount+0x742/0x1f10 fs/namespace.c:3799 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x722/0x810 fs/namespace.c:3997 __x64_sys_mount+0xe4/0x150 fs/namespace.c:3997 x64_sys_call+0xed5/0x3c10 arch/x86/include/generated/asm/syscalls_64.h:166 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+0x9d6/0xe70 mm/page_alloc.c:4719 __alloc_pages_node_noprof include/linux/gfp.h:269 [inline] alloc_pages_node_noprof include/linux/gfp.h:296 [inline] alloc_slab_page mm/slub.c:2321 [inline] allocate_slab+0x203/0x1220 mm/slub.c:2484 new_slab mm/slub.c:2537 [inline] ___slab_alloc+0x12ef/0x35e0 mm/slub.c:3723 __slab_alloc mm/slub.c:3813 [inline] __slab_alloc_node mm/slub.c:3866 [inline] slab_alloc_node mm/slub.c:4025 [inline] kmem_cache_alloc_lru_noprof+0x584/0xb30 mm/slub.c:4056 hfsplus_alloc_inode+0x5a/0xd0 fs/hfsplus/super.c:633 alloc_inode+0x86/0x460 fs/inode.c:263 iget_locked+0x2a7/0xf20 fs/inode.c:1342 hfsplus_iget+0x59/0xaf0 fs/hfsplus/super.c:64 hfsplus_btree_open+0x13e/0x1d00 fs/hfsplus/btree.c:150 hfsplus_fill_super+0x1113/0x2700 fs/hfsplus/super.c:479 mount_bdev+0x39a/0x520 fs/super.c:1668 hfsplus_mount+0x4d/0x60 fs/hfsplus/super.c:647 legacy_get_tree+0x114/0x290 fs/fs_context.c:662 vfs_get_tree+0xa7/0x570 fs/super.c:1789 do_new_mount+0x71f/0x15e0 fs/namespace.c:3472 path_mount+0x742/0x1f10 fs/namespace.c:3799 do_mount fs/namespace.c:3812 [inline] __do_sys_mount fs/namespace.c:4020 [inline] __se_sys_mount+0x722/0x810 fs/namespace.c:3997 __x64_sys_mount+0xe4/0x150 fs/namespace.c:3997 x64_sys_call+0xed5/0x3c10 arch/x86/include/generated/asm/syscalls_64.h:166 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: 5186 Comm: syz-executor187 Not tainted 6.10.0-syzkaller-12562-g1722389b0d86 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 =====================================================