loop3: detected capacity change from 0 to 64 ===================================================== BUG: KMSAN: uninit-value in hfs_find_set_zero_bits+0x74d/0xb60 fs/hfs/bitmap.c:45 hfs_find_set_zero_bits+0x74d/0xb60 fs/hfs/bitmap.c:45 hfs_vbm_search_free+0x13c/0x5b0 fs/hfs/bitmap.c:151 hfs_extend_file+0x6a5/0x1b00 fs/hfs/extent.c:408 hfs_bmap_reserve+0x11c/0x5a0 fs/hfs/btree.c:269 hfs_cat_create+0x22e/0xc40 fs/hfs/catalog.c:104 hfs_create+0xce/0x250 fs/hfs/dir.c:202 lookup_open fs/namei.c:3708 [inline] open_last_lookups fs/namei.c:3807 [inline] path_openat+0x2d47/0x6760 fs/namei.c:4043 do_filp_open+0x280/0x660 fs/namei.c:4073 do_sys_openat2+0x1bb/0x2f0 fs/open.c:1435 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __x64_sys_openat+0x240/0x300 fs/open.c:1461 x64_sys_call+0x3bcc/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:258 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 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:4186 [inline] slab_alloc_node mm/slub.c:4229 [inline] __kmalloc_cache_noprof+0x7f7/0xed0 mm/slub.c:4391 kmalloc_noprof include/linux/slab.h:905 [inline] hfs_mdb_get+0x1cc8/0x2a90 fs/hfs/mdb.c:175 hfs_fill_super+0x3d0/0xb70 fs/hfs/super.c:337 get_tree_bdev_flags+0x6e3/0x920 fs/super.c:1692 get_tree_bdev+0x38/0x50 fs/super.c:1715 hfs_get_tree+0x35/0x40 fs/hfs/super.c:388 vfs_get_tree+0xb0/0x5c0 fs/super.c:1815 do_new_mount+0x733/0x1420 fs/namespace.c:3808 path_mount+0x6db/0x1e90 fs/namespace.c:4123 do_mount fs/namespace.c:4136 [inline] __do_sys_mount fs/namespace.c:4347 [inline] __se_sys_mount+0x6eb/0x7d0 fs/namespace.c:4324 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4324 x64_sys_call+0x3604/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:166 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x210 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 10637 Comm: syz.3.1309 Not tainted syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================