===================================================== 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+0x5b/0xd0 crypto/crc32c_generic.c:88 crypto_shash_update+0x75/0xa0 crypto/shash.c:74 csum_tree_block+0x2bc/0x4d0 fs/btrfs/disk-io.c:86 btree_csum_one_bio+0x4e4/0xed0 fs/btrfs/disk-io.c:271 btrfs_bio_csum fs/btrfs/bio.c:535 [inline] btrfs_submit_chunk fs/btrfs/bio.c:726 [inline] btrfs_submit_bio+0x1dcd/0x2800 fs/btrfs/bio.c:755 write_one_eb+0x19f6/0x1f40 fs/btrfs/extent_io.c:1708 submit_eb_page fs/btrfs/extent_io.c:1865 [inline] btree_write_cache_pages+0x1c2e/0x2380 fs/btrfs/extent_io.c:1915 btree_writepages+0x84/0x270 fs/btrfs/disk-io.c:493 do_writepages+0x426/0x870 mm/page-writeback.c:2553 filemap_fdatawrite_wbc+0x1d8/0x270 mm/filemap.c:387 __filemap_fdatawrite_range mm/filemap.c:420 [inline] filemap_fdatawrite_range+0x10a/0x140 mm/filemap.c:438 btrfs_write_marked_extents+0x2e7/0x620 fs/btrfs/transaction.c:1190 btrfs_sync_log+0xa09/0x39c0 fs/btrfs/tree-log.c:2926 btrfs_sync_file+0x19ad/0x22d0 fs/btrfs/file.c:1956 vfs_fsync_range+0x201/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2734 [inline] btrfs_do_write_iter+0x1acd/0x2300 fs/btrfs/file.c:1694 btrfs_file_write_iter+0x38/0x40 fs/btrfs/file.c:1704 call_write_iter include/linux/fs.h:2084 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x786/0x1200 fs/read_write.c:590 ksys_write+0x20f/0x4c0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x93/0xd0 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b Uninit was created at: __alloc_pages+0x9a4/0xe00 mm/page_alloc.c:4591 alloc_pages_mpol+0x62b/0x9d0 mm/mempolicy.c:2133 alloc_pages mm/mempolicy.c:2204 [inline] folio_alloc+0x1da/0x380 mm/mempolicy.c:2211 filemap_alloc_folio+0xa5/0x430 mm/filemap.c:974 __filemap_get_folio+0xa5a/0x1760 mm/filemap.c:1918 pagecache_get_page+0x4a/0x1a0 mm/folio-compat.c:99 find_or_create_page include/linux/pagemap.h:740 [inline] alloc_extent_buffer+0xa2e/0x2b10 fs/btrfs/extent_io.c:3537 btrfs_find_create_tree_block+0x46/0x60 fs/btrfs/disk-io.c:586 btrfs_init_new_buffer fs/btrfs/extent-tree.c:5028 [inline] btrfs_alloc_tree_block+0x353/0x1af0 fs/btrfs/extent-tree.c:5143 btrfs_alloc_log_tree_node fs/btrfs/disk-io.c:939 [inline] btrfs_add_log_tree+0x1b7/0x7a0 fs/btrfs/disk-io.c:987 start_log_trans fs/btrfs/tree-log.c:210 [inline] btrfs_log_inode_parent+0x98c/0x1c40 fs/btrfs/tree-log.c:7002 btrfs_log_dentry_safe+0x9a/0x100 fs/btrfs/tree-log.c:7107 btrfs_sync_file+0x185c/0x22d0 fs/btrfs/file.c:1930 vfs_fsync_range+0x201/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2734 [inline] btrfs_do_write_iter+0x1acd/0x2300 fs/btrfs/file.c:1694 btrfs_file_write_iter+0x38/0x40 fs/btrfs/file.c:1704 call_write_iter include/linux/fs.h:2084 [inline] new_sync_write fs/read_write.c:497 [inline] vfs_write+0x786/0x1200 fs/read_write.c:590 ksys_write+0x20f/0x4c0 fs/read_write.c:643 __do_sys_write fs/read_write.c:655 [inline] __se_sys_write fs/read_write.c:652 [inline] __x64_sys_write+0x93/0xd0 fs/read_write.c:652 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0x6d/0x140 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x63/0x6b CPU: 1 PID: 7564 Comm: syz-executor.3 Not tainted 6.7.0-syzkaller-00562-g9f8413c4a66f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024 =====================================================