===================================================== BUG: KMSAN: uninit-value in __hfsplus_ext_read_extent fs/hfsplus/extents.c:167 [inline] BUG: KMSAN: uninit-value in __hfsplus_ext_cache_extent+0x82c/0x970 fs/hfsplus/extents.c:191 __hfsplus_ext_read_extent fs/hfsplus/extents.c:167 [inline] __hfsplus_ext_cache_extent+0x82c/0x970 fs/hfsplus/extents.c:191 hfsplus_file_truncate+0x730/0xf50 fs/hfsplus/extents.c:600 hfsplus_setattr+0x33e/0x560 fs/hfsplus/inode.c:264 notify_change+0x1a8e/0x1b80 fs/attr.c:552 do_truncate+0x22a/0x2b0 fs/open.c:65 handle_truncate fs/namei.c:3449 [inline] do_open fs/namei.c:3832 [inline] path_openat+0x5c3c/0x6200 fs/namei.c:3987 do_filp_open+0x268/0x600 fs/namei.c:4014 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_compat_sys_openat fs/open.c:1479 [inline] __se_compat_sys_openat fs/open.c:1477 [inline] __ia32_compat_sys_openat+0x298/0x300 fs/open.c:1477 ia32_sys_call+0x2fb4/0x4180 arch/x86/include/generated/asm/syscalls_32.h:296 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e Uninit was created at: slab_post_alloc_hook mm/slub.c:4110 [inline] slab_alloc_node mm/slub.c:4153 [inline] __do_kmalloc_node mm/slub.c:4282 [inline] __kmalloc_noprof+0x923/0x1230 mm/slub.c:4295 kmalloc_noprof include/linux/slab.h:905 [inline] hfsplus_find_init+0x95/0x1d0 fs/hfsplus/bfind.c:21 hfsplus_file_truncate+0x53b/0xf50 fs/hfsplus/extents.c:583 hfsplus_setattr+0x33e/0x560 fs/hfsplus/inode.c:264 notify_change+0x1a8e/0x1b80 fs/attr.c:552 do_truncate+0x22a/0x2b0 fs/open.c:65 handle_truncate fs/namei.c:3449 [inline] do_open fs/namei.c:3832 [inline] path_openat+0x5c3c/0x6200 fs/namei.c:3987 do_filp_open+0x268/0x600 fs/namei.c:4014 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_compat_sys_openat fs/open.c:1479 [inline] __se_compat_sys_openat fs/open.c:1477 [inline] __ia32_compat_sys_openat+0x298/0x300 fs/open.c:1477 ia32_sys_call+0x2fb4/0x4180 arch/x86/include/generated/asm/syscalls_32.h:296 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline] __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449 entry_SYSENTER_compat_after_hwframe+0x84/0x8e CPU: 0 UID: 0 PID: 6027 Comm: syz.4.16 Not tainted 6.12.0-syzkaller-11677-g2ba9f676d0a2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================