===================================================== BUG: KMSAN: uninit-value in hfsplus_cat_case_cmp_key+0xf1/0x190 fs/hfsplus/catalog.c:23 hfsplus_cat_case_cmp_key+0xf1/0x190 fs/hfsplus/catalog.c:23 hfs_find_rec_by_key+0xb1/0x240 fs/hfsplus/bfind.c:89 __hfsplus_brec_find+0x26f/0x7b0 fs/hfsplus/bfind.c:124 hfsplus_brec_find+0x445/0x970 fs/hfsplus/bfind.c:184 hfsplus_brec_read+0x46/0x1a0 fs/hfsplus/bfind.c:211 hfsplus_find_cat+0xda/0x530 fs/hfsplus/catalog.c:202 hfsplus_cat_write_inode+0x2eb/0xd70 fs/hfsplus/inode.c:593 hfsplus_write_inode+0x192/0x960 fs/hfsplus/super.c:161 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x8da/0x1290 fs/fs-writeback.c:1745 writeback_sb_inodes+0xac4/0x1c90 fs/fs-writeback.c:1976 wb_writeback+0x4df/0xcb0 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x40b/0x1970 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xc1d/0x1e80 kernel/workqueue.c:3319 worker_thread+0xea3/0x1500 kernel/workqueue.c:3400 kthread+0x6ce/0xf10 kernel/kthread.c:464 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Uninit was created at: slab_post_alloc_hook mm/slub.c:4144 [inline] slab_alloc_node mm/slub.c:4187 [inline] __do_kmalloc_node mm/slub.c:4317 [inline] __kmalloc_noprof+0x946/0x1260 mm/slub.c:4330 kmalloc_noprof include/linux/slab.h:906 [inline] hfsplus_find_init+0x97/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_cat_write_inode+0x1c5/0xd70 fs/hfsplus/inode.c:589 hfsplus_write_inode+0x192/0x960 fs/hfsplus/super.c:161 write_inode fs/fs-writeback.c:1525 [inline] __writeback_single_inode+0x8da/0x1290 fs/fs-writeback.c:1745 writeback_sb_inodes+0xac4/0x1c90 fs/fs-writeback.c:1976 wb_writeback+0x4df/0xcb0 fs/fs-writeback.c:2156 wb_do_writeback fs/fs-writeback.c:2303 [inline] wb_workfn+0x40b/0x1970 fs/fs-writeback.c:2343 process_one_work kernel/workqueue.c:3238 [inline] process_scheduled_works+0xc1d/0x1e80 kernel/workqueue.c:3319 worker_thread+0xea3/0x1500 kernel/workqueue.c:3400 kthread+0x6ce/0xf10 kernel/kthread.c:464 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:153 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 CPU: 1 UID: 0 PID: 4793 Comm: kworker/u8:17 Not tainted 6.14.0-syzkaller-07422-gacb4f33713b9 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Workqueue: writeback wb_workfn (flush-7:7) =====================================================