===================================================== 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+0xb0/0x240 fs/hfsplus/bfind.c:100 __hfsplus_brec_find+0x26b/0x7b0 fs/hfsplus/bfind.c:135 hfsplus_brec_find+0x445/0x970 fs/hfsplus/bfind.c:195 hfsplus_brec_read+0x46/0x1a0 fs/hfsplus/bfind.c:222 hfsplus_find_cat+0xdb/0x460 fs/hfsplus/catalog.c:202 hfsplus_cat_write_inode+0x2eb/0xd50 fs/hfsplus/inode.c:594 hfsplus_write_inode+0x192/0x960 fs/hfsplus/super.c:160 write_inode fs/fs-writeback.c:1456 [inline] __writeback_single_inode+0x843/0x12b0 fs/fs-writeback.c:1668 writeback_sb_inodes+0xb76/0x1c00 fs/fs-writeback.c:1894 wb_writeback+0x4a1/0xdf0 fs/fs-writeback.c:2070 wb_do_writeback fs/fs-writeback.c:2217 [inline] wb_workfn+0x3a4/0x1710 fs/fs-writeback.c:2257 process_one_work+0xbf6/0x17c0 kernel/workqueue.c:2597 worker_thread+0x107e/0x1d60 kernel/workqueue.c:2748 kthread+0x3e8/0x540 kernel/kthread.c:389 ret_from_fork+0x57/0x80 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Uninit was created at: slab_post_alloc_hook+0x12f/0xb70 mm/slab.h:767 slab_alloc_node mm/slub.c:3470 [inline] __kmem_cache_alloc_node+0x536/0x8d0 mm/slub.c:3509 __do_kmalloc_node mm/slab_common.c:984 [inline] __kmalloc+0x121/0x3c0 mm/slab_common.c:998 kmalloc include/linux/slab.h:586 [inline] hfsplus_find_init+0x91/0x250 fs/hfsplus/bfind.c:21 hfsplus_cat_write_inode+0x1c5/0xd50 fs/hfsplus/inode.c:590 hfsplus_write_inode+0x192/0x960 fs/hfsplus/super.c:160 write_inode fs/fs-writeback.c:1456 [inline] __writeback_single_inode+0x843/0x12b0 fs/fs-writeback.c:1668 writeback_sb_inodes+0xb76/0x1c00 fs/fs-writeback.c:1894 wb_writeback+0x4a1/0xdf0 fs/fs-writeback.c:2070 wb_do_writeback fs/fs-writeback.c:2217 [inline] wb_workfn+0x3a4/0x1710 fs/fs-writeback.c:2257 process_one_work+0xbf6/0x17c0 kernel/workqueue.c:2597 worker_thread+0x107e/0x1d60 kernel/workqueue.c:2748 kthread+0x3e8/0x540 kernel/kthread.c:389 ret_from_fork+0x57/0x80 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 CPU: 0 PID: 970 Comm: kworker/u4:4 Not tainted 6.5.0-rc4-syzkaller-00041-gec351c8f2e62 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: writeback wb_workfn (flush-7:0) =====================================================