loop3: detected capacity change from 0 to 64 ===================================================== BUG: KMSAN: uninit-value in hfs_ext_read_extent fs/hfs/extent.c:196 [inline] BUG: KMSAN: uninit-value in hfs_extend_file+0x3e8/0x19f0 fs/hfs/extent.c:401 hfs_ext_read_extent fs/hfs/extent.c:196 [inline] hfs_extend_file+0x3e8/0x19f0 fs/hfs/extent.c:401 hfs_bmap_reserve+0xfc/0x540 fs/hfs/btree.c:234 hfs_cat_create+0x21a/0xbf0 fs/hfs/catalog.c:104 hfs_create+0xcf/0x250 fs/hfs/dir.c:202 lookup_open fs/namei.c:3492 [inline] open_last_lookups fs/namei.c:3560 [inline] path_openat+0x2ca4/0x5a00 fs/namei.c:3790 do_filp_open+0x20d/0x590 fs/namei.c:3820 do_sys_openat2+0x1bf/0x2f0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_compat_sys_open fs/open.c:1473 [inline] __se_compat_sys_open fs/open.c:1471 [inline] __ia32_compat_sys_open+0x26c/0x2c0 fs/open.c:1471 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4500 alloc_pages+0xd01/0x1040 alloc_slab_page mm/slub.c:1862 [inline] allocate_slab mm/slub.c:2009 [inline] new_slab+0x41e/0x1580 mm/slub.c:2062 ___slab_alloc+0x13c3/0x33b0 mm/slub.c:3215 __slab_alloc mm/slub.c:3314 [inline] __slab_alloc_node mm/slub.c:3367 [inline] slab_alloc_node mm/slub.c:3460 [inline] slab_alloc mm/slub.c:3478 [inline] __kmem_cache_alloc_lru mm/slub.c:3485 [inline] kmem_cache_alloc_lru+0x5ee/0xa10 mm/slub.c:3501 alloc_inode_sb include/linux/fs.h:2735 [inline] hfs_alloc_inode+0x5a/0xc0 fs/hfs/super.c:165 alloc_inode+0x83/0x440 fs/inode.c:259 iget_locked+0x2dd/0xe80 fs/inode.c:1327 hfs_btree_open+0x16c/0x1aa0 fs/hfs/btree.c:38 hfs_mdb_get+0x1fe2/0x28b0 fs/hfs/mdb.c:199 hfs_fill_super+0x1cf5/0x23c0 fs/hfs/super.c:406 mount_bdev+0x4ab/0x790 fs/super.c:1391 hfs_mount+0x4d/0x60 fs/hfs/super.c:456 legacy_get_tree+0x110/0x290 fs/fs_context.c:611 vfs_get_tree+0xa5/0x500 fs/super.c:1519 do_new_mount+0x68d/0x1550 fs/namespace.c:3335 path_mount+0x73d/0x1f20 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x725/0x810 fs/namespace.c:3861 __ia32_sys_mount+0xe3/0x150 fs/namespace.c:3861 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 do_fast_syscall_32+0x37/0x80 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 0 PID: 7982 Comm: syz-executor.3 Not tainted 6.5.0-rc7-syzkaller-00013-g53663f4103ff #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 =====================================================