BTRFS info (device loop3): clearing free space tree BTRFS info (device loop3): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) BTRFS info (device loop3): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) ===================================================== BUG: KMSAN: uninit-value in btrfs_comp_cpu_keys fs/btrfs/ctree.c:753 [inline] BUG: KMSAN: uninit-value in comp_keys fs/btrfs/ctree.c:729 [inline] BUG: KMSAN: uninit-value in generic_bin_search+0x784/0xb80 fs/btrfs/ctree.c:913 btrfs_comp_cpu_keys fs/btrfs/ctree.c:753 [inline] comp_keys fs/btrfs/ctree.c:729 [inline] generic_bin_search+0x784/0xb80 fs/btrfs/ctree.c:913 search_for_key_slot fs/btrfs/ctree.c:1872 [inline] search_leaf fs/btrfs/ctree.c:1964 [inline] btrfs_search_slot+0x3a51/0x4710 fs/btrfs/ctree.c:2177 clear_free_space_tree fs/btrfs/free-space-tree.c:1233 [inline] btrfs_clear_free_space_tree+0x244/0xec0 fs/btrfs/free-space-tree.c:1274 btrfs_start_pre_rw_mount+0x344/0xb60 fs/btrfs/disk-io.c:3305 open_ctree+0x4487/0x5400 fs/btrfs/disk-io.c:3897 btrfs_fill_super+0x21a/0x550 fs/btrfs/super.c:1151 btrfs_mount_root+0x10cf/0x1310 fs/btrfs/super.c:1520 legacy_get_tree+0x110/0x290 fs/fs_context.c:610 vfs_get_tree+0xa5/0x500 fs/super.c:1489 fc_mount fs/namespace.c:1149 [inline] vfs_kern_mount+0x2a1/0x3b0 fs/namespace.c:1179 btrfs_mount+0x6c8/0x1910 fs/btrfs/super.c:1580 legacy_get_tree+0x110/0x290 fs/fs_context.c:610 vfs_get_tree+0xa5/0x500 fs/super.c:1489 do_new_mount+0x69a/0x1580 fs/namespace.c:3145 path_mount+0x725/0x1ec0 fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x734/0x840 fs/namespace.c:3674 __ia32_sys_mount+0xe3/0x150 fs/namespace.c:3674 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+0x9f6/0xe90 mm/page_alloc.c:5572 alloc_pages+0xab0/0xd80 mm/mempolicy.c:2287 folio_alloc+0x42/0x120 mm/mempolicy.c:2297 filemap_alloc_folio+0xb2/0x460 mm/filemap.c:972 __filemap_get_folio+0xe4b/0x1920 mm/filemap.c:1966 pagecache_get_page+0x4f/0x290 mm/folio-compat.c:98 find_or_create_page include/linux/pagemap.h:612 [inline] alloc_extent_buffer+0x733/0x3190 fs/btrfs/extent_io.c:4500 btrfs_find_create_tree_block+0x46/0x60 fs/btrfs/disk-io.c:1002 btrfs_init_new_buffer fs/btrfs/extent-tree.c:4873 [inline] btrfs_alloc_tree_block+0x371/0x1f70 fs/btrfs/extent-tree.c:4992 __btrfs_cow_block+0x578/0x1f20 fs/btrfs/ctree.c:541 btrfs_cow_block+0x7cc/0xa00 fs/btrfs/ctree.c:696 btrfs_search_slot+0x189f/0x4710 fs/btrfs/ctree.c:2141 clear_free_space_tree fs/btrfs/free-space-tree.c:1233 [inline] btrfs_clear_free_space_tree+0x244/0xec0 fs/btrfs/free-space-tree.c:1274 btrfs_start_pre_rw_mount+0x344/0xb60 fs/btrfs/disk-io.c:3305 open_ctree+0x4487/0x5400 fs/btrfs/disk-io.c:3897 btrfs_fill_super+0x21a/0x550 fs/btrfs/super.c:1151 btrfs_mount_root+0x10cf/0x1310 fs/btrfs/super.c:1520 legacy_get_tree+0x110/0x290 fs/fs_context.c:610 vfs_get_tree+0xa5/0x500 fs/super.c:1489 fc_mount fs/namespace.c:1149 [inline] vfs_kern_mount+0x2a1/0x3b0 fs/namespace.c:1179 btrfs_mount+0x6c8/0x1910 fs/btrfs/super.c:1580 legacy_get_tree+0x110/0x290 fs/fs_context.c:610 vfs_get_tree+0xa5/0x500 fs/super.c:1489 do_new_mount+0x69a/0x1580 fs/namespace.c:3145 path_mount+0x725/0x1ec0 fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x734/0x840 fs/namespace.c:3674 __ia32_sys_mount+0xe3/0x150 fs/namespace.c:3674 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: 1 PID: 7596 Comm: syz-executor.3 Not tainted 6.2.0-syzkaller-81152-g97e36f4aa06f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 =====================================================