loop6: 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+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+0xaab/0x3000 fs/buffer.c:2116 block_write_begin fs/buffer.c:2227 [inline] cont_write_begin+0x10df/0x1ba0 fs/buffer.c:2566 hfsplus_write_begin+0x85/0x130 fs/hfsplus/inode.c:46 generic_perform_write+0x3f4/0x10c0 mm/filemap.c:4103 __generic_file_write_iter+0x213/0x460 mm/filemap.c:4220 generic_file_write_iter+0x131/0x980 mm/filemap.c:4246 new_sync_write fs/read_write.c:591 [inline] vfs_write+0xb31/0x1560 fs/read_write.c:684 ksys_write fs/read_write.c:736 [inline] __do_sys_write fs/read_write.c:747 [inline] __se_sys_write fs/read_write.c:744 [inline] __x64_sys_write+0x1fb/0x4d0 fs/read_write.c:744 x64_sys_call+0x38c3/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 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:4167 [inline] slab_alloc_node mm/slub.c:4210 [inline] __do_kmalloc_node mm/slub.c:4340 [inline] __kmalloc_noprof+0x95f/0x1310 mm/slub.c:4353 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+0xaab/0x3000 fs/buffer.c:2116 block_write_begin fs/buffer.c:2227 [inline] cont_write_begin+0x10df/0x1ba0 fs/buffer.c:2566 hfsplus_write_begin+0x85/0x130 fs/hfsplus/inode.c:46 generic_perform_write+0x3f4/0x10c0 mm/filemap.c:4103 __generic_file_write_iter+0x213/0x460 mm/filemap.c:4220 generic_file_write_iter+0x131/0x980 mm/filemap.c:4246 new_sync_write fs/read_write.c:591 [inline] vfs_write+0xb31/0x1560 fs/read_write.c:684 ksys_write fs/read_write.c:736 [inline] __do_sys_write fs/read_write.c:747 [inline] __se_sys_write fs/read_write.c:744 [inline] __x64_sys_write+0x1fb/0x4d0 fs/read_write.c:744 x64_sys_call+0x38c3/0x3db0 arch/x86/include/generated/asm/syscalls_64.h:2 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xd9/0x1b0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f CPU: 1 UID: 0 PID: 8883 Comm: syz.6.566 Not tainted 6.15.0-rc3-syzkaller-00094-g02ddfb981de8 #0 PREEMPT(undef) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 =====================================================