loop7: 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_delete_inode+0x5b3/0x640 fs/hfs/inode.c:259 hfs_remove+0x242/0x2f0 fs/hfs/dir.c:267 vfs_unlink+0x676/0xa90 fs/namei.c:4523 do_unlinkat+0x823/0xe20 fs/namei.c:4587 __do_sys_unlinkat fs/namei.c:4630 [inline] __se_sys_unlinkat fs/namei.c:4623 [inline] __x64_sys_unlinkat+0x17a/0x220 fs/namei.c:4623 x64_sys_call+0x321e/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:264 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:4125 [inline] slab_alloc_node mm/slub.c:4168 [inline] __do_kmalloc_node mm/slub.c:4297 [inline] __kmalloc_noprof+0x923/0x1230 mm/slub.c:4310 kmalloc_noprof include/linux/slab.h:905 [inline] hfs_find_init+0x91/0x250 fs/hfs/bfind.c:21 hfs_file_truncate+0x3c5/0xd30 fs/hfs/extent.c:512 hfs_delete_inode+0x5b3/0x640 fs/hfs/inode.c:259 hfs_remove+0x242/0x2f0 fs/hfs/dir.c:267 vfs_unlink+0x676/0xa90 fs/namei.c:4523 do_unlinkat+0x823/0xe20 fs/namei.c:4587 __do_sys_unlinkat fs/namei.c:4630 [inline] __se_sys_unlinkat fs/namei.c:4623 [inline] __x64_sys_unlinkat+0x17a/0x220 fs/namei.c:4623 x64_sys_call+0x321e/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:264 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: 1 UID: 0 PID: 8758 Comm: syz.7.784 Not tainted 6.13.0-rc5-syzkaller-00161-g63676eefb7a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 =====================================================