loop5: detected capacity change from 0 to 1024 ===================================================== BUG: KMSAN: uninit-value in hfsplus_cat_case_cmp_key+0xd9/0x190 fs/hfsplus/catalog.c:23 hfsplus_cat_case_cmp_key+0xd9/0x190 fs/hfsplus/catalog.c:23 hfs_find_rec_by_key+0xab/0x240 fs/hfsplus/bfind.c:89 __hfsplus_brec_find+0x274/0x840 fs/hfsplus/bfind.c:124 hfsplus_brec_find+0x4df/0x9f0 fs/hfsplus/bfind.c:184 hfsplus_brec_read+0x46/0x1f0 fs/hfsplus/bfind.c:211 hfsplus_lookup+0x293/0xf70 fs/hfsplus/dir.c:52 lookup_one_qstr_excl_raw+0x207/0x5b0 fs/namei.c:1689 lookup_one_qstr_excl fs/namei.c:1711 [inline] do_renameat2+0x9a6/0x1d70 fs/namei.c:5243 __do_sys_rename fs/namei.c:5333 [inline] __se_sys_rename fs/namei.c:5331 [inline] __ia32_sys_rename+0xd7/0x140 fs/namei.c:5331 ia32_sys_call+0x3d36/0x42c0 arch/x86/include/generated/asm/syscalls_32.h:39 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: slab_post_alloc_hook mm/slub.c:4154 [inline] slab_alloc_node mm/slub.c:4197 [inline] __do_kmalloc_node mm/slub.c:4327 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4340 kmalloc_noprof include/linux/slab.h:909 [inline] hfsplus_find_init+0x90/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_lookup+0x104/0xf70 fs/hfsplus/dir.c:44 lookup_one_qstr_excl_raw+0x207/0x5b0 fs/namei.c:1689 lookup_one_qstr_excl fs/namei.c:1711 [inline] do_renameat2+0x9a6/0x1d70 fs/namei.c:5243 __do_sys_rename fs/namei.c:5333 [inline] __se_sys_rename fs/namei.c:5331 [inline] __ia32_sys_rename+0xd7/0x140 fs/namei.c:5331 ia32_sys_call+0x3d36/0x42c0 arch/x86/include/generated/asm/syscalls_32.h:39 do_syscall_32_irqs_on arch/x86/entry/syscall_32.c:83 [inline] __do_fast_syscall_32+0xb0/0x150 arch/x86/entry/syscall_32.c:306 do_fast_syscall_32+0x38/0x80 arch/x86/entry/syscall_32.c:331 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/syscall_32.c:369 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 14610 Comm: syz.5.1662 Not tainted 6.16.0-rc4-syzkaller-00308-ga79a588fc176 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================