loop4: detected capacity change from 0 to 1024 ===================================================== BUG: KMSAN: uninit-value in hfsplus_lookup+0x674/0xf70 fs/hfsplus/dir.c:83 hfsplus_lookup+0x674/0xf70 fs/hfsplus/dir.c:83 lookup_open fs/namei.c:3695 [inline] open_last_lookups fs/namei.c:3816 [inline] path_openat+0x298a/0x6760 fs/namei.c:4052 do_filp_open+0x280/0x660 fs/namei.c:4082 do_sys_openat2+0x1bb/0x2f0 fs/open.c:1437 do_sys_open fs/open.c:1452 [inline] __do_sys_open fs/open.c:1460 [inline] __se_sys_open fs/open.c:1456 [inline] __x64_sys_open+0x219/0x2c0 fs/open.c:1456 x64_sys_call+0x18ec/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:3 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: __alloc_frozen_pages_noprof+0x689/0xf00 mm/page_alloc.c:4982 alloc_pages_mpol+0x328/0x860 mm/mempolicy.c:2419 alloc_frozen_pages_noprof+0xf7/0x200 mm/mempolicy.c:2490 alloc_slab_page mm/slub.c:2451 [inline] allocate_slab+0x24d/0x1220 mm/slub.c:2619 new_slab mm/slub.c:2673 [inline] ___slab_alloc+0xfec/0x3480 mm/slub.c:3859 __slab_alloc mm/slub.c:3949 [inline] __slab_alloc_node mm/slub.c:4024 [inline] slab_alloc_node mm/slub.c:4185 [inline] kmem_cache_alloc_lru_noprof+0x922/0xed0 mm/slub.c:4216 hfsplus_alloc_inode+0x5a/0xd0 fs/hfsplus/super.c:627 alloc_inode+0x87/0x4a0 fs/inode.c:346 iget_locked+0x239/0x12d0 fs/inode.c:1439 hfsplus_iget+0x5c/0xb80 fs/hfsplus/super.c:65 hfsplus_btree_open+0x134/0x1d00 fs/hfsplus/btree.c:150 hfsplus_fill_super+0x1161/0x2740 fs/hfsplus/super.c:474 get_tree_bdev_flags+0x6e6/0x920 fs/super.c:1681 get_tree_bdev+0x38/0x50 fs/super.c:1704 hfsplus_get_tree+0x35/0x40 fs/hfsplus/super.c:640 vfs_get_tree+0xb3/0x5c0 fs/super.c:1804 do_new_mount+0x738/0x1610 fs/namespace.c:3885 path_mount+0x6db/0x1e90 fs/namespace.c:4209 do_mount fs/namespace.c:4222 [inline] __do_sys_mount fs/namespace.c:4433 [inline] __se_sys_mount+0x6eb/0x7d0 fs/namespace.c:4410 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4410 x64_sys_call+0xfa7/0x3db0 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: 8156 Comm: syz.4.527 Not tainted 6.16.0-rc2-syzkaller-00087-g24770983ccfe #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================