===================================================== BUG: KMSAN: uninit-value in __hfsplus_ext_read_extent fs/hfsplus/extents.c:167 [inline] BUG: KMSAN: uninit-value in __hfsplus_ext_cache_extent+0x7cb/0x990 fs/hfsplus/extents.c:191 __hfsplus_ext_read_extent fs/hfsplus/extents.c:167 [inline] __hfsplus_ext_cache_extent+0x7cb/0x990 fs/hfsplus/extents.c:191 hfsplus_ext_read_extent fs/hfsplus/extents.c:218 [inline] hfsplus_file_extend+0x7b5/0x1df0 fs/hfsplus/extents.c:462 hfsplus_get_block+0xfc3/0x1a20 fs/hfsplus/extents.c:245 __block_write_begin_int+0xa73/0x3030 fs/buffer.c:2151 block_write_begin fs/buffer.c:2262 [inline] cont_write_begin+0x10e1/0x1bc0 fs/buffer.c:2601 hfsplus_write_begin+0x85/0x130 fs/hfsplus/inode.c:46 cont_expand_zero fs/buffer.c:2528 [inline] cont_write_begin+0x35d/0x1bc0 fs/buffer.c:2591 hfsplus_write_begin+0x85/0x130 fs/hfsplus/inode.c:46 generic_perform_write+0x3f4/0x10c0 mm/filemap.c:4112 __generic_file_write_iter+0x213/0x460 mm/filemap.c:4229 generic_file_write_iter+0x131/0x980 mm/filemap.c:4255 new_sync_write fs/read_write.c:593 [inline] vfs_write+0xb48/0x1580 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x2ab/0x3b0 fs/read_write.c:798 x64_sys_call+0x10f7/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:19 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: 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_ext_read_extent fs/hfsplus/extents.c:216 [inline] hfsplus_file_extend+0x72f/0x1df0 fs/hfsplus/extents.c:462 hfsplus_get_block+0xfc3/0x1a20 fs/hfsplus/extents.c:245 __block_write_begin_int+0xa73/0x3030 fs/buffer.c:2151 block_write_begin fs/buffer.c:2262 [inline] cont_write_begin+0x10e1/0x1bc0 fs/buffer.c:2601 hfsplus_write_begin+0x85/0x130 fs/hfsplus/inode.c:46 cont_expand_zero fs/buffer.c:2528 [inline] cont_write_begin+0x35d/0x1bc0 fs/buffer.c:2591 hfsplus_write_begin+0x85/0x130 fs/hfsplus/inode.c:46 generic_perform_write+0x3f4/0x10c0 mm/filemap.c:4112 __generic_file_write_iter+0x213/0x460 mm/filemap.c:4229 generic_file_write_iter+0x131/0x980 mm/filemap.c:4255 new_sync_write fs/read_write.c:593 [inline] vfs_write+0xb48/0x1580 fs/read_write.c:686 ksys_pwrite64 fs/read_write.c:793 [inline] __do_sys_pwrite64 fs/read_write.c:801 [inline] __se_sys_pwrite64 fs/read_write.c:798 [inline] __x64_sys_pwrite64+0x2ab/0x3b0 fs/read_write.c:798 x64_sys_call+0x10f7/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:19 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: 1 UID: 0 PID: 24938 Comm: syz.0.5250 Not tainted 6.16.0-rc2-syzkaller-00318-g739a6c93cc75 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 =====================================================