loop1: 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_slow+0x563/0x760 fs/namei.c:1808 lookup_slow+0x6a/0xd0 fs/namei.c:1825 walk_component+0x444/0x650 fs/namei.c:2129 lookup_last fs/namei.c:2630 [inline] path_lookupat+0x251/0x6b0 fs/namei.c:2654 filename_lookup+0x2bd/0x800 fs/namei.c:2683 user_path_at+0x91/0x3d0 fs/namei.c:3127 do_sys_truncate+0x82/0x240 fs/open.c:139 __do_sys_truncate fs/open.c:153 [inline] __se_sys_truncate fs/open.c:151 [inline] __x64_sys_truncate+0x74/0xb0 fs/open.c:151 x64_sys_call+0x1f47/0x3e20 arch/x86/include/generated/asm/syscalls_64.h:77 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:5171 alloc_pages_mpol+0x328/0x860 mm/mempolicy.c:2416 alloc_frozen_pages_noprof+0xf7/0x200 mm/mempolicy.c:2487 alloc_slab_page mm/slub.c:2487 [inline] allocate_slab+0x24d/0x1220 mm/slub.c:2655 new_slab mm/slub.c:2709 [inline] ___slab_alloc+0x1024/0x34e0 mm/slub.c:3891 __slab_alloc mm/slub.c:3981 [inline] __slab_alloc_node mm/slub.c:4056 [inline] slab_alloc_node mm/slub.c:4217 [inline] kmem_cache_alloc_lru_noprof+0x922/0xed0 mm/slub.c:4248 hfsplus_alloc_inode+0x5a/0xd0 fs/hfsplus/super.c:625 alloc_inode+0x8a/0x4a0 fs/inode.c:346 iget_locked+0x239/0x12d0 fs/inode.c:1438 hfsplus_iget+0x5c/0xb80 fs/hfsplus/super.c:65 hfsplus_btree_open+0x128/0x1cf0 fs/hfsplus/btree.c:150 hfsplus_fill_super+0x1161/0x2730 fs/hfsplus/super.c:472 get_tree_bdev_flags+0x6e3/0x920 fs/super.c:1692 get_tree_bdev+0x38/0x50 fs/super.c:1715 hfsplus_get_tree+0x35/0x40 fs/hfsplus/super.c:638 vfs_get_tree+0xb0/0x5c0 fs/super.c:1815 do_new_mount+0x733/0x1420 fs/namespace.c:3805 path_mount+0x6db/0x1e90 fs/namespace.c:4120 do_mount fs/namespace.c:4133 [inline] __do_sys_mount fs/namespace.c:4344 [inline] __se_sys_mount+0x6eb/0x7d0 fs/namespace.c:4321 __x64_sys_mount+0xe4/0x150 fs/namespace.c:4321 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: 18127 Comm: syz.1.1722 Not tainted 6.17.0-rc2-syzkaller #0 PREEMPT(none) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 =====================================================