===================================================== BUG: KMSAN: uninit-value in btrfs_comp_cpu_keys fs/btrfs/ctree.c:629 [inline] BUG: KMSAN: uninit-value in comp_keys fs/btrfs/ctree.c:605 [inline] BUG: KMSAN: uninit-value in generic_bin_search+0x780/0xb80 fs/btrfs/ctree.c:789 btrfs_comp_cpu_keys fs/btrfs/ctree.c:629 [inline] comp_keys fs/btrfs/ctree.c:605 [inline] generic_bin_search+0x780/0xb80 fs/btrfs/ctree.c:789 search_for_key_slot fs/btrfs/ctree.c:1742 [inline] search_leaf fs/btrfs/ctree.c:1834 [inline] btrfs_search_slot+0x3794/0x4630 fs/btrfs/ctree.c:2045 update_dev_stat_item fs/btrfs/volumes.c:7884 [inline] btrfs_run_dev_stats+0x3d3/0x1510 fs/btrfs/volumes.c:7961 commit_cowonly_roots+0x2ac/0x1110 fs/btrfs/transaction.c:1275 btrfs_commit_transaction+0x2235/0x5650 fs/btrfs/transaction.c:2376 btrfs_commit_super+0x138/0x180 fs/btrfs/disk-io.c:4497 close_ctree+0x3d6/0xa70 fs/btrfs/disk-io.c:4651 btrfs_put_super+0x38/0x50 fs/btrfs/super.c:394 generic_shutdown_super+0x18c/0x570 fs/super.c:492 kill_anon_super+0x39/0x70 fs/super.c:1086 btrfs_kill_super+0x39/0x60 fs/btrfs/super.c:2441 deactivate_locked_super+0xb1/0x120 fs/super.c:332 deactivate_super+0x13a/0x150 fs/super.c:363 cleanup_mnt+0x6b5/0x730 fs/namespace.c:1186 __cleanup_mnt+0x1e/0x30 fs/namespace.c:1193 task_work_run+0x229/0x2c0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x2a9/0x320 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x16e/0x220 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x23/0x40 kernel/entry/common.c:296 __do_fast_syscall_32+0xb1/0x100 arch/x86/entry/common.c:181 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:915 btrfs_init_new_buffer fs/btrfs/extent-tree.c:4863 [inline] btrfs_alloc_tree_block+0x36d/0x1f70 fs/btrfs/extent-tree.c:4982 __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 update_dev_stat_item fs/btrfs/volumes.c:7884 [inline] btrfs_run_dev_stats+0x3d3/0x1510 fs/btrfs/volumes.c:7961 commit_cowonly_roots+0x2ac/0x1110 fs/btrfs/transaction.c:1275 btrfs_commit_transaction+0x2235/0x5650 fs/btrfs/transaction.c:2376 btrfs_commit_super+0x138/0x180 fs/btrfs/disk-io.c:4497 close_ctree+0x3d6/0xa70 fs/btrfs/disk-io.c:4651 btrfs_put_super+0x38/0x50 fs/btrfs/super.c:394 generic_shutdown_super+0x18c/0x570 fs/super.c:492 kill_anon_super+0x39/0x70 fs/super.c:1086 btrfs_kill_super+0x39/0x60 fs/btrfs/super.c:2441 deactivate_locked_super+0xb1/0x120 fs/super.c:332 deactivate_super+0x13a/0x150 fs/super.c:363 cleanup_mnt+0x6b5/0x730 fs/namespace.c:1186 __cleanup_mnt+0x1e/0x30 fs/namespace.c:1193 task_work_run+0x229/0x2c0 kernel/task_work.c:179 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x2a9/0x320 kernel/entry/common.c:171 exit_to_user_mode_prepare+0x16e/0x220 kernel/entry/common.c:203 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x23/0x40 kernel/entry/common.c:296 __do_fast_syscall_32+0xb1/0x100 arch/x86/entry/common.c:181 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: 18480 Comm: syz-executor.3 Not tainted 6.1.0-rc4-syzkaller-62818-gb1376a14297d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 =====================================================