=====================================================
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+0x446/0xd80 lib/crc32.c:201
 crc32_body lib/crc32.c:110 [inline]
 crc32_le_generic lib/crc32.c:179 [inline]
 __crc32c_le_base+0x446/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:2708
 __writeback_single_inode+0x103/0x1290 fs/fs-writeback.c:1680
 writeback_sb_inodes+0xa34/0x1c20 fs/fs-writeback.c:1976
 wb_writeback+0x4df/0xcb0 fs/fs-writeback.c:2156
 wb_do_writeback fs/fs-writeback.c:2303 [inline]
 wb_workfn+0x40b/0x1940 fs/fs-writeback.c:2343
 process_one_work kernel/workqueue.c:3236 [inline]
 process_scheduled_works+0xae0/0x1c40 kernel/workqueue.c:3317
 worker_thread+0xea7/0x14f0 kernel/workqueue.c:3398
 kthread+0x3e2/0x540 kernel/kthread.c:389
 ret_from_fork+0x6d/0x90 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244

Uninit was stored to memory at:
 memcpy_extent_buffer+0x1ec/0x930 fs/btrfs/extent_io.c:4039
 memmove_extent_buffer+0x13e/0xae0 fs/btrfs/extent_io.c:4073
 memmove_leaf_data fs/btrfs/ctree.c:84 [inline]
 setup_items_for_insert+0xd87/0x1b40 fs/btrfs/ctree.c:4285
 btrfs_insert_empty_items+0x183/0x220 fs/btrfs/ctree.c:4360
 btrfs_insert_empty_item fs/btrfs/ctree.h:688 [inline]
 insert_dir_log_key+0x142/0x400 fs/btrfs/tree-log.c:3566
 log_delayed_deletions_full fs/btrfs/tree-log.c:6194 [inline]
 log_delayed_deletion_items+0x137f/0x1630 fs/btrfs/tree-log.c:6329
 btrfs_log_inode+0x8585/0x8620 fs/btrfs/tree-log.c:6675
 btrfs_log_all_parents+0xc27/0x11c0 fs/btrfs/tree-log.c:6851
 btrfs_log_inode_parent+0x1aad/0x1c30 fs/btrfs/tree-log.c:7167
 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
 do_iter_readv_writev+0x88a/0xa30
 vfs_writev+0x56a/0x14f0 fs/read_write.c:1050
 do_pwritev fs/read_write.c:1146 [inline]
 __do_compat_sys_pwritev2 fs/read_write.c:1291 [inline]
 __se_compat_sys_pwritev2+0x282/0x480 fs/read_write.c:1283
 __ia32_compat_sys_pwritev2+0x11d/0x1a0 fs/read_write.c:1283
 ia32_sys_call+0x3587/0x4180 arch/x86/include/generated/asm/syscalls_32.h:380
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e

Uninit was stored to memory at:
 memcpy_extent_buffer+0x1ec/0x930 fs/btrfs/extent_io.c:4039
 memmove_extent_buffer+0x13e/0xae0 fs/btrfs/extent_io.c:4073
 memmove_leaf_data fs/btrfs/ctree.c:84 [inline]
 setup_items_for_insert+0xd87/0x1b40 fs/btrfs/ctree.c:4285
 btrfs_insert_empty_items+0x183/0x220 fs/btrfs/ctree.c:4360
 insert_delayed_items_batch+0x52/0x390 fs/btrfs/tree-log.c:6046
 log_delayed_insertion_items+0xa40/0xca0 fs/btrfs/tree-log.c:6149
 btrfs_log_inode+0x84af/0x8620 fs/btrfs/tree-log.c:6671
 btrfs_log_all_parents+0xc27/0x11c0 fs/btrfs/tree-log.c:6851
 btrfs_log_inode_parent+0x1aad/0x1c30 fs/btrfs/tree-log.c:7167
 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
 do_iter_readv_writev+0x88a/0xa30
 vfs_writev+0x56a/0x14f0 fs/read_write.c:1050
 do_pwritev fs/read_write.c:1146 [inline]
 __do_compat_sys_pwritev2 fs/read_write.c:1291 [inline]
 __se_compat_sys_pwritev2+0x282/0x480 fs/read_write.c:1283
 __ia32_compat_sys_pwritev2+0x11d/0x1a0 fs/read_write.c:1283
 ia32_sys_call+0x3587/0x4180 arch/x86/include/generated/asm/syscalls_32.h:380
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e

Uninit was stored to memory at:
 memcpy_extent_buffer+0x1ec/0x930 fs/btrfs/extent_io.c:4039
 memmove_extent_buffer+0x13e/0xae0 fs/btrfs/extent_io.c:4073
 memmove_leaf_data fs/btrfs/ctree.c:84 [inline]
 setup_items_for_insert+0xd87/0x1b40 fs/btrfs/ctree.c:4285
 btrfs_insert_empty_items+0x183/0x220 fs/btrfs/ctree.c:4360
 btrfs_insert_empty_item fs/btrfs/ctree.h:688 [inline]
 insert_dir_log_key+0x142/0x400 fs/btrfs/tree-log.c:3566
 log_dir_items+0x837/0x2d70 fs/btrfs/tree-log.c:4000
 log_directory_changes+0x137/0x750 fs/btrfs/tree-log.c:4103
 btrfs_log_inode+0x820a/0x8620 fs/btrfs/tree-log.c:6668
 btrfs_log_all_parents+0xc27/0x11c0 fs/btrfs/tree-log.c:6851
 btrfs_log_inode_parent+0x1aad/0x1c30 fs/btrfs/tree-log.c:7167
 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
 do_iter_readv_writev+0x88a/0xa30
 vfs_writev+0x56a/0x14f0 fs/read_write.c:1050
 do_pwritev fs/read_write.c:1146 [inline]
 __do_compat_sys_pwritev2 fs/read_write.c:1291 [inline]
 __se_compat_sys_pwritev2+0x282/0x480 fs/read_write.c:1283
 __ia32_compat_sys_pwritev2+0x11d/0x1a0 fs/read_write.c:1283
 ia32_sys_call+0x3587/0x4180 arch/x86/include/generated/asm/syscalls_32.h:380
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e

Uninit was stored to memory at:
 memcpy_extent_buffer+0x1ec/0x930 fs/btrfs/extent_io.c:4039
 memmove_extent_buffer+0x13e/0xae0 fs/btrfs/extent_io.c:4073
 memmove_leaf_data fs/btrfs/ctree.c:84 [inline]
 setup_items_for_insert+0xd87/0x1b40 fs/btrfs/ctree.c:4285
 btrfs_insert_empty_items+0x183/0x220 fs/btrfs/ctree.c:4360
 copy_items+0x164d/0x20e0 fs/btrfs/tree-log.c:4515
 copy_inode_items_to_log fs/btrfs/tree-log.c:6019 [inline]
 btrfs_log_inode+0x516a/0x8620 fs/btrfs/tree-log.c:6612
 btrfs_log_all_parents+0xc27/0x11c0 fs/btrfs/tree-log.c:6851
 btrfs_log_inode_parent+0x1aad/0x1c30 fs/btrfs/tree-log.c:7167
 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
 do_iter_readv_writev+0x88a/0xa30
 vfs_writev+0x56a/0x14f0 fs/read_write.c:1050
 do_pwritev fs/read_write.c:1146 [inline]
 __do_compat_sys_pwritev2 fs/read_write.c:1291 [inline]
 __se_compat_sys_pwritev2+0x282/0x480 fs/read_write.c:1283
 __ia32_compat_sys_pwritev2+0x11d/0x1a0 fs/read_write.c:1283
 ia32_sys_call+0x3587/0x4180 arch/x86/include/generated/asm/syscalls_32.h:380
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e

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
 do_iter_readv_writev+0x88a/0xa30
 vfs_writev+0x56a/0x14f0 fs/read_write.c:1050
 do_pwritev fs/read_write.c:1146 [inline]
 __do_compat_sys_pwritev2 fs/read_write.c:1291 [inline]
 __se_compat_sys_pwritev2+0x282/0x480 fs/read_write.c:1283
 __ia32_compat_sys_pwritev2+0x11d/0x1a0 fs/read_write.c:1283
 ia32_sys_call+0x3587/0x4180 arch/x86/include/generated/asm/syscalls_32.h:380
 do_syscall_32_irqs_on arch/x86/entry/common.c:165 [inline]
 __do_fast_syscall_32+0xb0/0x110 arch/x86/entry/common.c:386
 do_fast_syscall_32+0x38/0x80 arch/x86/entry/common.c:411
 do_SYSENTER_32+0x1f/0x30 arch/x86/entry/common.c:449
 entry_SYSENTER_compat_after_hwframe+0x84/0x8e

CPU: 1 UID: 0 PID: 1120 Comm: kworker/u8:6 Not tainted 6.13.0-rc7-syzkaller-00043-g619f0b6fad52 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
Workqueue: writeback wb_workfn (flush-btrfs-1)
=====================================================