loop6: detected capacity change from 0 to 64 ===================================================== BUG: KMSAN: uninit-value in __hfs_ext_read_extent fs/hfs/extent.c:160 [inline] BUG: KMSAN: uninit-value in __hfs_ext_cache_extent+0x69f/0x7e0 fs/hfs/extent.c:179 __hfs_ext_read_extent fs/hfs/extent.c:160 [inline] __hfs_ext_cache_extent+0x69f/0x7e0 fs/hfs/extent.c:179 hfs_file_truncate+0x769/0xd30 fs/hfs/extent.c:526 hfs_inode_setattr+0x998/0xab0 fs/hfs/inode.c:654 notify_change+0x1a8e/0x1b80 fs/attr.c:503 do_truncate+0x22a/0x2b0 fs/open.c:65 handle_truncate fs/namei.c:3395 [inline] do_open fs/namei.c:3778 [inline] path_openat+0x5c3c/0x6200 fs/namei.c:3933 do_filp_open+0x20e/0x590 fs/namei.c:3960 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_creat fs/open.c:1508 [inline] __se_sys_creat fs/open.c:1502 [inline] __x64_sys_creat+0xe6/0x140 fs/open.c:1502 x64_sys_call+0x3a6c/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f Uninit was created at: slab_post_alloc_hook mm/slub.c:4091 [inline] slab_alloc_node mm/slub.c:4134 [inline] __do_kmalloc_node mm/slub.c:4263 [inline] __kmalloc_noprof+0x661/0xf30 mm/slub.c:4276 kmalloc_noprof include/linux/slab.h:882 [inline] hfs_find_init+0x91/0x250 fs/hfs/bfind.c:21 hfs_file_truncate+0x3c5/0xd30 fs/hfs/extent.c:512 hfs_inode_setattr+0x998/0xab0 fs/hfs/inode.c:654 notify_change+0x1a8e/0x1b80 fs/attr.c:503 do_truncate+0x22a/0x2b0 fs/open.c:65 handle_truncate fs/namei.c:3395 [inline] do_open fs/namei.c:3778 [inline] path_openat+0x5c3c/0x6200 fs/namei.c:3933 do_filp_open+0x20e/0x590 fs/namei.c:3960 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1415 do_sys_open fs/open.c:1430 [inline] __do_sys_creat fs/open.c:1508 [inline] __se_sys_creat fs/open.c:1502 [inline] __x64_sys_creat+0xe6/0x140 fs/open.c:1502 x64_sys_call+0x3a6c/0x3ba0 arch/x86/include/generated/asm/syscalls_64.h:86 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 0 UID: 0 PID: 6867 Comm: syz.6.176 Not tainted 6.12.0-rc6-syzkaller-00272-gda4373fbcf00 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 =====================================================