BTRFS info (device loop3): enabling ssd optimizations BTRFS info (device loop3): rebuilding free space tree ===================================================== BUG: KMSAN: uninit-value in btrfs_comp_cpu_keys fs/btrfs/ctree.c:769 [inline] BUG: KMSAN: uninit-value in comp_keys fs/btrfs/ctree.c:745 [inline] BUG: KMSAN: uninit-value in btrfs_bin_search+0x74c/0xb30 fs/btrfs/ctree.c:935 btrfs_comp_cpu_keys fs/btrfs/ctree.c:769 [inline] comp_keys fs/btrfs/ctree.c:745 [inline] btrfs_bin_search+0x74c/0xb30 fs/btrfs/ctree.c:935 search_for_key_slot fs/btrfs/ctree.c:1925 [inline] search_leaf fs/btrfs/ctree.c:2017 [inline] btrfs_search_slot+0x3329/0x4680 fs/btrfs/ctree.c:2230 clear_free_space_tree+0xc4/0x470 fs/btrfs/free-space-tree.c:1233 btrfs_rebuild_free_space_tree+0x17b/0x620 fs/btrfs/free-space-tree.c:1323 btrfs_start_pre_rw_mount+0x402/0xd50 fs/btrfs/disk-io.c:2904 open_ctree+0x4933/0x58b0 fs/btrfs/disk-io.c:3505 btrfs_fill_super+0x21a/0x5b0 fs/btrfs/super.c:1154 btrfs_mount_root+0xeea/0x11c0 fs/btrfs/super.c:1519 legacy_get_tree+0x110/0x290 fs/fs_context.c:611 vfs_get_tree+0xa5/0x500 fs/super.c:1519 fc_mount fs/namespace.c:1112 [inline] vfs_kern_mount+0x2a1/0x3b0 fs/namespace.c:1142 btrfs_mount+0x6a1/0x18b0 fs/btrfs/super.c:1579 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 Uninit was created at: __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4500 alloc_pages+0xd01/0x1040 folio_alloc+0x42/0x120 mm/mempolicy.c:2308 filemap_alloc_folio+0xa5/0x430 mm/filemap.c:979 __filemap_get_folio+0x908/0x13a0 mm/filemap.c:1933 pagecache_get_page+0x4e/0x200 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:639 [inline] alloc_extent_buffer+0x6e8/0x2e60 fs/btrfs/extent_io.c:3601 btrfs_find_create_tree_block+0x46/0x60 fs/btrfs/disk-io.c:588 btrfs_init_new_buffer fs/btrfs/extent-tree.c:4771 [inline] btrfs_alloc_tree_block+0x344/0x1d10 fs/btrfs/extent-tree.c:4892 __btrfs_cow_block+0x57a/0x2200 fs/btrfs/ctree.c:546 btrfs_cow_block+0x7cc/0xa00 fs/btrfs/ctree.c:712 btrfs_search_slot+0x16fb/0x4680 fs/btrfs/ctree.c:2194 clear_free_space_tree+0xc4/0x470 fs/btrfs/free-space-tree.c:1233 btrfs_rebuild_free_space_tree+0x17b/0x620 fs/btrfs/free-space-tree.c:1323 btrfs_start_pre_rw_mount+0x402/0xd50 fs/btrfs/disk-io.c:2904 open_ctree+0x4933/0x58b0 fs/btrfs/disk-io.c:3505 btrfs_fill_super+0x21a/0x5b0 fs/btrfs/super.c:1154 btrfs_mount_root+0xeea/0x11c0 fs/btrfs/super.c:1519 legacy_get_tree+0x110/0x290 fs/fs_context.c:611 vfs_get_tree+0xa5/0x500 fs/super.c:1519 fc_mount fs/namespace.c:1112 [inline] vfs_kern_mount+0x2a1/0x3b0 fs/namespace.c:1142 btrfs_mount+0x6a1/0x18b0 fs/btrfs/super.c:1579 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: 1 PID: 7419 Comm: syz-executor.3 Not tainted 6.5.0-rc7-syzkaller-00185-g28f20a19294d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 =====================================================