loop5: detected capacity change from 0 to 64 ===================================================== BUG: KMSAN: uninit-value in hfs_cat_keycmp+0x1c8/0x290 fs/hfs/catalog.c:178 hfs_cat_keycmp+0x1c8/0x290 fs/hfs/catalog.c:178 __hfs_brec_find+0x33a/0x9c0 fs/hfs/bfind.c:75 hfs_brec_find+0x4d0/0x9d0 fs/hfs/bfind.c:138 hfs_brec_read+0x7c/0x250 fs/hfs/bfind.c:165 hfs_cat_find_brec+0x17b/0x550 fs/hfs/catalog.c:194 hfs_fill_super+0x224a/0x2790 fs/hfs/super.c:419 mount_bdev+0x628/0x920 fs/super.c:1359 hfs_mount+0xcd/0xe0 fs/hfs/super.c:456 legacy_get_tree+0x167/0x2e0 fs/fs_context.c:610 vfs_get_tree+0xdc/0x5d0 fs/super.c:1489 do_new_mount+0x7a9/0x16f0 fs/namespace.c:3145 path_mount+0xf98/0x26a0 fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x919/0x9e0 fs/namespace.c:3674 __ia32_sys_mount+0x15b/0x1b0 fs/namespace.c:3674 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: slab_post_alloc_hook+0x271/0xf70 mm/slab.h:766 slab_alloc_node mm/slub.c:3452 [inline] __kmem_cache_alloc_node+0x68c/0xac0 mm/slub.c:3491 __do_kmalloc_node mm/slab_common.c:967 [inline] __kmalloc+0x260/0x640 mm/slab_common.c:981 kmalloc include/linux/slab.h:584 [inline] hfs_find_init+0xeb/0x360 fs/hfs/bfind.c:21 hfs_fill_super+0x21b4/0x2790 fs/hfs/super.c:416 mount_bdev+0x628/0x920 fs/super.c:1359 hfs_mount+0xcd/0xe0 fs/hfs/super.c:456 legacy_get_tree+0x167/0x2e0 fs/fs_context.c:610 vfs_get_tree+0xdc/0x5d0 fs/super.c:1489 do_new_mount+0x7a9/0x16f0 fs/namespace.c:3145 path_mount+0xf98/0x26a0 fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x919/0x9e0 fs/namespace.c:3674 __ia32_sys_mount+0x15b/0x1b0 fs/namespace.c:3674 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 1 PID: 7300 Comm: syz-executor.5 Not tainted 6.2.0-syzkaller-81151-g224e1375d540 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 =====================================================