BTRFS info (device loop2): using blake2b (blake2b-256-generic) checksum algorithm BTRFS info (device loop2): turning on sync discard BTRFS info (device loop2): using free space tree BTRFS info (device loop2): enabling ssd optimizations ===================================================== BUG: KMSAN: uninit-value in copy_items+0x85a/0x1eb0 fs/btrfs/tree-log.c:4349 copy_items+0x85a/0x1eb0 fs/btrfs/tree-log.c:4349 btrfs_log_all_xattrs+0x869/0x9e0 fs/btrfs/tree-log.c:5045 btrfs_log_inode+0x566f/0x8220 fs/btrfs/tree-log.c:6564 btrfs_log_inode_parent+0x1206/0x1c40 fs/btrfs/tree-log.c:7015 btrfs_log_dentry_safe+0x9a/0x100 fs/btrfs/tree-log.c:7116 btrfs_sync_file+0x1862/0x22d0 fs/btrfs/file.c:1914 vfs_fsync_range+0x201/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2499 [inline] btrfs_do_write_iter+0x1b40/0x2140 fs/btrfs/file.c:1677 btrfs_file_write_iter+0x38/0x40 fs/btrfs/file.c:1687 call_write_iter include/linux/fs.h:1877 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x8ef/0x15c0 fs/read_write.c:584 ksys_write+0x20f/0x4c0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __ia32_sys_write+0x91/0xd0 fs/read_write.c:646 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 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 stored to memory at: read_extent_buffer+0x16d/0x3d0 fs/btrfs/extent_io.c:4080 btrfs_item_key fs/btrfs/accessors.h:489 [inline] btrfs_item_key_to_cpu fs/btrfs/accessors.h:603 [inline] copy_items+0x46f/0x1eb0 fs/btrfs/tree-log.c:4347 btrfs_log_all_xattrs+0x869/0x9e0 fs/btrfs/tree-log.c:5045 btrfs_log_inode+0x566f/0x8220 fs/btrfs/tree-log.c:6564 btrfs_log_inode_parent+0x1206/0x1c40 fs/btrfs/tree-log.c:7015 btrfs_log_dentry_safe+0x9a/0x100 fs/btrfs/tree-log.c:7116 btrfs_sync_file+0x1862/0x22d0 fs/btrfs/file.c:1914 vfs_fsync_range+0x201/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2499 [inline] btrfs_do_write_iter+0x1b40/0x2140 fs/btrfs/file.c:1677 btrfs_file_write_iter+0x38/0x40 fs/btrfs/file.c:1687 call_write_iter include/linux/fs.h:1877 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x8ef/0x15c0 fs/read_write.c:584 ksys_write+0x20f/0x4c0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __ia32_sys_write+0x91/0xd0 fs/read_write.c:646 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 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_bulk+0x19e/0x1fa0 mm/page_alloc.c:4425 alloc_pages_bulk_array include/linux/gfp.h:201 [inline] btrfs_alloc_page_array fs/btrfs/extent_io.c:764 [inline] btrfs_clone_extent_buffer+0x3e7/0x1180 fs/btrfs/extent_io.c:3279 copy_items+0x14d/0x1eb0 fs/btrfs/tree-log.c:4313 btrfs_log_all_xattrs+0x869/0x9e0 fs/btrfs/tree-log.c:5045 btrfs_log_inode+0x566f/0x8220 fs/btrfs/tree-log.c:6564 btrfs_log_inode_parent+0x1206/0x1c40 fs/btrfs/tree-log.c:7015 btrfs_log_dentry_safe+0x9a/0x100 fs/btrfs/tree-log.c:7116 btrfs_sync_file+0x1862/0x22d0 fs/btrfs/file.c:1914 vfs_fsync_range+0x201/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2499 [inline] btrfs_do_write_iter+0x1b40/0x2140 fs/btrfs/file.c:1677 btrfs_file_write_iter+0x38/0x40 fs/btrfs/file.c:1687 call_write_iter include/linux/fs.h:1877 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x8ef/0x15c0 fs/read_write.c:584 ksys_write+0x20f/0x4c0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __ia32_sys_write+0x91/0xd0 fs/read_write.c:646 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0xa2/0x100 arch/x86/entry/common.c:178 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: 5650 Comm: syz-executor.2 Not tainted 6.5.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 =====================================================