===================================================== 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 update_dev_stat_item fs/btrfs/volumes.c:7469 [inline] btrfs_run_dev_stats+0x43d/0x15c0 fs/btrfs/volumes.c:7546 commit_cowonly_roots+0x313/0x1150 fs/btrfs/transaction.c:1284 btrfs_commit_transaction+0x2303/0x6730 fs/btrfs/transaction.c:2410 btrfs_commit_super+0x13c/0x180 fs/btrfs/disk-io.c:4206 close_ctree+0x3d4/0x14b0 fs/btrfs/disk-io.c:4360 btrfs_put_super+0x3c/0x50 fs/btrfs/super.c:82 generic_shutdown_super+0x19a/0x5c0 fs/super.c:499 kill_anon_super+0x3d/0x70 fs/super.c:1110 btrfs_kill_super+0x3d/0x60 fs/btrfs/super.c:2138 deactivate_locked_super+0xc0/0x150 fs/super.c:330 deactivate_super+0x14b/0x160 fs/super.c:361 cleanup_mnt+0x6c4/0x730 fs/namespace.c:1254 __cleanup_mnt+0x22/0x30 fs/namespace.c:1261 task_work_run+0x263/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x29d/0x320 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x163/0x220 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x2a/0x140 kernel/entry/common.c:297 __do_fast_syscall_32+0xb1/0x100 arch/x86/entry/common.c:181 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 update_dev_stat_item fs/btrfs/volumes.c:7469 [inline] btrfs_run_dev_stats+0x43d/0x15c0 fs/btrfs/volumes.c:7546 commit_cowonly_roots+0x313/0x1150 fs/btrfs/transaction.c:1284 btrfs_commit_transaction+0x2303/0x6730 fs/btrfs/transaction.c:2410 btrfs_commit_super+0x13c/0x180 fs/btrfs/disk-io.c:4206 close_ctree+0x3d4/0x14b0 fs/btrfs/disk-io.c:4360 btrfs_put_super+0x3c/0x50 fs/btrfs/super.c:82 generic_shutdown_super+0x19a/0x5c0 fs/super.c:499 kill_anon_super+0x3d/0x70 fs/super.c:1110 btrfs_kill_super+0x3d/0x60 fs/btrfs/super.c:2138 deactivate_locked_super+0xc0/0x150 fs/super.c:330 deactivate_super+0x14b/0x160 fs/super.c:361 cleanup_mnt+0x6c4/0x730 fs/namespace.c:1254 __cleanup_mnt+0x22/0x30 fs/namespace.c:1261 task_work_run+0x263/0x300 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x29d/0x320 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x163/0x220 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:286 [inline] syscall_exit_to_user_mode+0x2a/0x140 kernel/entry/common.c:297 __do_fast_syscall_32+0xb1/0x100 arch/x86/entry/common.c:181 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: 5019 Comm: syz-executor.3 Not tainted 6.5.0-rc7-syzkaller-00182-g3b35375f19fe #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 =====================================================