=====================================================
BUG: KMSAN: uninit-value in crc32_body lib/crc32.c:110 [inline]
BUG: KMSAN: uninit-value in crc32_le_generic lib/crc32.c:179 [inline]
BUG: KMSAN: uninit-value in __crc32c_le_base+0x43c/0xd80 lib/crc32.c:201
 crc32_body lib/crc32.c:110 [inline]
 crc32_le_generic lib/crc32.c:179 [inline]
 __crc32c_le_base+0x43c/0xd80 lib/crc32.c:201
 chksum_update_arch+0x5b/0xd0 crypto/crc32c_generic.c:97
 crypto_shash_update+0x79/0xa0 crypto/shash.c:52
 csum_tree_block+0x35f/0x5d0 fs/btrfs/disk-io.c:96
 btree_csum_one_bio+0x4d5/0xeb0 fs/btrfs/disk-io.c:294
 btrfs_bio_csum fs/btrfs/bio.c:518 [inline]
 btrfs_submit_chunk fs/btrfs/bio.c:751 [inline]
 btrfs_submit_bbio+0x2258/0x2bf0 fs/btrfs/bio.c:792
 write_one_eb+0x13fa/0x1570 fs/btrfs/extent_io.c:1774
 submit_eb_page fs/btrfs/extent_io.c:1931 [inline]
 btree_write_cache_pages+0x1bec/0x2380 fs/btrfs/extent_io.c:1981
 btree_writepages+0x84/0x270 fs/btrfs/disk-io.c:520
 do_writepages+0x427/0xc30 mm/page-writeback.c:2702
 filemap_fdatawrite_wbc mm/filemap.c:388 [inline]
 __filemap_fdatawrite_range mm/filemap.c:421 [inline]
 filemap_fdatawrite_range+0x220/0x270 mm/filemap.c:439
 btrfs_write_marked_extents+0x2d8/0x610 fs/btrfs/transaction.c:1149
 btrfs_sync_log+0x9fd/0x3830 fs/btrfs/tree-log.c:2991
 btrfs_sync_file+0x1a4c/0x2180 fs/btrfs/file.c:1708
 vfs_fsync_range+0x1f9/0x260 fs/sync.c:187
 generic_write_sync include/linux/fs.h:2904 [inline]
 btrfs_do_write_iter+0xa29/0xb60 fs/btrfs/file.c:1407
 btrfs_file_write_iter+0x38/0x50 fs/btrfs/file.c:1417
 new_sync_write fs/read_write.c:586 [inline]
 vfs_write+0xb2b/0x1540 fs/read_write.c:679
 ksys_write+0x240/0x4b0 fs/read_write.c:731
 __do_sys_write fs/read_write.c:742 [inline]
 __se_sys_write fs/read_write.c:739 [inline]
 __x64_sys_write+0x93/0xe0 fs/read_write.c:739
 x64_sys_call+0x3161/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Uninit was created at:
 __alloc_pages_noprof+0x9a7/0xe00 mm/page_alloc.c:4776
 alloc_pages_bulk_noprof+0x1a28/0x20b0 mm/page_alloc.c:4701
 btrfs_alloc_page_array fs/btrfs/extent_io.c:635 [inline]
 alloc_eb_folio_array+0x19c/0x750 fs/btrfs/extent_io.c:659
 alloc_extent_buffer+0x75a/0x3ba0 fs/btrfs/extent_io.c:3049
 btrfs_find_create_tree_block+0x46/0x60 fs/btrfs/disk-io.c:614
 btrfs_init_new_buffer fs/btrfs/extent-tree.c:5019 [inline]
 btrfs_alloc_tree_block+0x415/0x1990 fs/btrfs/extent-tree.c:5132
 btrfs_alloc_log_tree_node fs/btrfs/disk-io.c:950 [inline]
 btrfs_add_log_tree+0x1b7/0x7a0 fs/btrfs/disk-io.c:998
 start_log_trans fs/btrfs/tree-log.c:227 [inline]
 btrfs_log_inode_parent+0xa87/0x1c30 fs/btrfs/tree-log.c:7101
 btrfs_log_dentry_safe+0x9a/0x100 fs/btrfs/tree-log.c:7206
 btrfs_sync_file+0x1676/0x2180 fs/btrfs/file.c:1670
 vfs_fsync_range+0x1f9/0x260 fs/sync.c:187
 generic_write_sync include/linux/fs.h:2904 [inline]
 btrfs_do_write_iter+0xa29/0xb60 fs/btrfs/file.c:1407
 btrfs_file_write_iter+0x38/0x50 fs/btrfs/file.c:1417
 new_sync_write fs/read_write.c:586 [inline]
 vfs_write+0xb2b/0x1540 fs/read_write.c:679
 ksys_write+0x240/0x4b0 fs/read_write.c:731
 __do_sys_write fs/read_write.c:742 [inline]
 __se_sys_write fs/read_write.c:739 [inline]
 __x64_sys_write+0x93/0xe0 fs/read_write.c:739
 x64_sys_call+0x3161/0x3c30 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xcd/0x1e0 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 0 UID: 0 PID: 7382 Comm: syz.6.355 Tainted: G        W          6.13.0-rc6-syzkaller-00262-gb62cef9a5c67 #0
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
=====================================================