loop0: detected capacity change from 0 to 1024 ===================================================== 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 fs/open.c:65 [inline] do_ftruncate+0x8c1/0xbf0 fs/open.c:181 do_sys_ftruncate fs/open.c:196 [inline] __do_compat_sys_ftruncate fs/open.c:207 [inline] __se_compat_sys_ftruncate fs/open.c:205 [inline] __ia32_compat_sys_ftruncate+0x14c/0x270 fs/open.c:205 ia32_sys_call+0x3d3d/0x4180 arch/x86/include/generated/asm/syscalls_32.h:94 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 fs/open.c:65 [inline] do_ftruncate+0x8c1/0xbf0 fs/open.c:181 do_sys_ftruncate fs/open.c:196 [inline] __do_compat_sys_ftruncate fs/open.c:207 [inline] __se_compat_sys_ftruncate fs/open.c:205 [inline] __ia32_compat_sys_ftruncate+0x14c/0x270 fs/open.c:205 ia32_sys_call+0x3d3d/0x4180 arch/x86/include/generated/asm/syscalls_32.h:94 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: 1 UID: 0 PID: 6976 Comm: syz.0.267 Not tainted 6.12.0-syzkaller-11677-g2ba9f676d0a2 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================