BTRFS info (device loop3): read error corrected: ino 0 off 30420992 (dev /dev/loop3 sector 75800) BTRFS info (device loop3): creating free space tree ===================================================== BUG: KMSAN: uninit-value in leaf_space_used fs/btrfs/ctree.c:2882 [inline] BUG: KMSAN: uninit-value in btrfs_leaf_free_space+0x68f/0x790 fs/btrfs/ctree.c:2897 leaf_space_used fs/btrfs/ctree.c:2882 [inline] btrfs_leaf_free_space+0x68f/0x790 fs/btrfs/ctree.c:2897 search_leaf fs/btrfs/ctree.c:1770 [inline] btrfs_search_slot+0x32a8/0x4630 fs/btrfs/ctree.c:2045 btrfs_insert_empty_items fs/btrfs/ctree.c:4103 [inline] btrfs_insert_empty_item fs/btrfs/ctree.h:3127 [inline] btrfs_insert_item+0x188/0x500 fs/btrfs/ctree.c:4132 btrfs_insert_root+0x86/0xb0 fs/btrfs/root-tree.c:202 btrfs_create_tree+0xb8d/0xe50 fs/btrfs/disk-io.c:1231 btrfs_create_free_space_tree+0x144/0x1cb0 fs/btrfs/free-space-tree.c:1169 btrfs_start_pre_rw_mount+0x868/0xb50 fs/btrfs/disk-io.c:3256 open_ctree+0x45f9/0x5501 fs/btrfs/disk-io.c:3792 btrfs_fill_super+0x21a/0x550 fs/btrfs/super.c:1461 btrfs_mount_root+0x10cb/0x1310 fs/btrfs/super.c:1829 legacy_get_tree+0x10c/0x280 fs/fs_context.c:610 vfs_get_tree+0xa1/0x500 fs/super.c:1531 fc_mount fs/namespace.c:1043 [inline] vfs_kern_mount+0x29d/0x3a0 fs/namespace.c:1073 btrfs_mount+0x6c8/0x18c0 fs/btrfs/super.c:1889 legacy_get_tree+0x10c/0x280 fs/fs_context.c:610 vfs_get_tree+0xa1/0x500 fs/super.c:1531 do_new_mount+0x694/0x1580 fs/namespace.c:3040 path_mount+0x71a/0x1eb0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x734/0x840 fs/namespace.c:3568 __ia32_sys_mount+0xdf/0x140 fs/namespace.c:3568 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+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 Uninit was created at: __alloc_pages+0x9f1/0xe80 mm/page_alloc.c:5578 alloc_pages+0xaae/0xd80 mm/mempolicy.c:2285 folio_alloc+0x3e/0x120 mm/mempolicy.c:2295 filemap_alloc_folio mm/filemap.c:971 [inline] __filemap_get_folio+0xe59/0x1b00 mm/filemap.c:1965 pagecache_get_page+0x4a/0x2f0 mm/folio-compat.c:110 find_or_create_page include/linux/pagemap.h:613 [inline] alloc_extent_buffer+0x731/0x2770 fs/btrfs/extent_io.c:4602 btrfs_find_create_tree_block+0x42/0x50 fs/btrfs/disk-io.c:917 btrfs_init_new_buffer fs/btrfs/extent-tree.c:4862 [inline] btrfs_alloc_tree_block+0x36d/0x1f70 fs/btrfs/extent-tree.c:4981 __btrfs_cow_block+0x580/0x1cf0 fs/btrfs/ctree.c:417 btrfs_cow_block+0x7ca/0x9d0 fs/btrfs/ctree.c:572 btrfs_search_slot+0x17b9/0x4630 fs/btrfs/ctree.c:2009 btrfs_insert_empty_items fs/btrfs/ctree.c:4103 [inline] btrfs_insert_empty_item fs/btrfs/ctree.h:3127 [inline] btrfs_insert_item+0x188/0x500 fs/btrfs/ctree.c:4132 btrfs_insert_root+0x86/0xb0 fs/btrfs/root-tree.c:202 btrfs_create_tree+0xb8d/0xe50 fs/btrfs/disk-io.c:1231 btrfs_create_free_space_tree+0x144/0x1cb0 fs/btrfs/free-space-tree.c:1169 btrfs_start_pre_rw_mount+0x868/0xb50 fs/btrfs/disk-io.c:3256 open_ctree+0x45f9/0x5501 fs/btrfs/disk-io.c:3792 btrfs_fill_super+0x21a/0x550 fs/btrfs/super.c:1461 btrfs_mount_root+0x10cb/0x1310 fs/btrfs/super.c:1829 legacy_get_tree+0x10c/0x280 fs/fs_context.c:610 vfs_get_tree+0xa1/0x500 fs/super.c:1531 fc_mount fs/namespace.c:1043 [inline] vfs_kern_mount+0x29d/0x3a0 fs/namespace.c:1073 btrfs_mount+0x6c8/0x18c0 fs/btrfs/super.c:1889 legacy_get_tree+0x10c/0x280 fs/fs_context.c:610 vfs_get_tree+0xa1/0x500 fs/super.c:1531 do_new_mount+0x694/0x1580 fs/namespace.c:3040 path_mount+0x71a/0x1eb0 fs/namespace.c:3370 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x734/0x840 fs/namespace.c:3568 __ia32_sys_mount+0xdf/0x140 fs/namespace.c:3568 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+0x33/0x70 arch/x86/entry/common.c:203 do_SYSENTER_32+0x1b/0x20 arch/x86/entry/common.c:246 entry_SYSENTER_compat_after_hwframe+0x70/0x82 CPU: 0 PID: 4962 Comm: syz-executor.3 Not tainted 6.1.0-rc3-syzkaller-62448-g53d6b047b069 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 =====================================================