loop0: detected capacity change from 0 to 64 ===================================================== BUG: KMSAN: uninit-value in hfs_cat_keycmp+0x154/0x210 fs/hfs/catalog.c:178 hfs_cat_keycmp+0x154/0x210 fs/hfs/catalog.c:178 __hfs_brec_find+0x254/0x830 fs/hfs/bfind.c:75 hfs_brec_find+0x436/0x980 fs/hfs/bfind.c:138 hfs_brec_read+0x3f/0x1a0 fs/hfs/bfind.c:165 hfs_cat_find_brec+0xe5/0x420 fs/hfs/catalog.c:194 hfs_fill_super+0x6a3/0xb00 fs/hfs/super.c:350 get_tree_bdev_flags+0x6ec/0x910 fs/super.c:1636 get_tree_bdev+0x37/0x50 fs/super.c:1659 hfs_get_tree+0x34/0x40 fs/hfs/super.c:388 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: slab_post_alloc_hook mm/slub.c:4157 [inline] slab_alloc_node mm/slub.c:4200 [inline] __do_kmalloc_node mm/slub.c:4330 [inline] __kmalloc_noprof+0x946/0x1260 mm/slub.c:4343 kmalloc_noprof include/linux/slab.h:909 [inline] hfs_find_init+0x92/0x260 fs/hfs/bfind.c:21 hfs_fill_super+0x63e/0xb00 fs/hfs/super.c:347 get_tree_bdev_flags+0x6ec/0x910 fs/super.c:1636 get_tree_bdev+0x37/0x50 fs/super.c:1659 hfs_get_tree+0x34/0x40 fs/hfs/super.c:388 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: 6327 Comm: syz.0.16 Not tainted 6.14.0-syzkaller-12886-ga1b5bd45d4ee #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================