loop0: detected capacity change from 0 to 1024 ===================================================== BUG: KMSAN: uninit-value in hfsplus_cat_bin_cmp_key+0xf1/0x190 fs/hfsplus/catalog.c:36 hfsplus_cat_bin_cmp_key+0xf1/0x190 fs/hfsplus/catalog.c:36 hfs_find_rec_by_key+0xb1/0x240 fs/hfsplus/bfind.c:89 __hfsplus_brec_find+0x26f/0x7b0 fs/hfsplus/bfind.c:124 hfsplus_brec_find+0x445/0x970 fs/hfsplus/bfind.c:184 hfsplus_brec_read+0x46/0x1a0 fs/hfsplus/bfind.c:211 hfsplus_find_cat+0xda/0x530 fs/hfsplus/catalog.c:202 hfsplus_iget+0x729/0xae0 fs/hfsplus/super.c:83 hfsplus_fill_super+0x1552/0x26e0 fs/hfsplus/super.c:504 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:3881 path_mount+0x742/0x1f10 fs/namespace.c:4208 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount+0x71f/0x800 fs/namespace.c:4409 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4409 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/0x1b0 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:4167 [inline] slab_alloc_node mm/slub.c:4210 [inline] __do_kmalloc_node mm/slub.c:4340 [inline] __kmalloc_noprof+0x946/0x1260 mm/slub.c:4353 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x97/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_iget+0x3c4/0xae0 fs/hfsplus/super.c:81 hfsplus_fill_super+0x1552/0x26e0 fs/hfsplus/super.c:504 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:3881 path_mount+0x742/0x1f10 fs/namespace.c:4208 do_mount fs/namespace.c:4221 [inline] __do_sys_mount fs/namespace.c:4432 [inline] __se_sys_mount+0x71f/0x800 fs/namespace.c:4409 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4409 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/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 6785 Comm: syz.0.15 Not tainted 6.15.0-rc3-syzkaller-ga33b5a08cbbd #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 =====================================================