BTRFS info (device loop5): enabling ssd optimizations ===================================================== BUG: KMSAN: uninit-value in copy_items+0x701/0x1ef0 fs/btrfs/tree-log.c:4395 copy_items+0x701/0x1ef0 fs/btrfs/tree-log.c:4395 btrfs_log_all_xattrs+0x8ad/0xa50 fs/btrfs/tree-log.c:5092 btrfs_log_inode+0x5b25/0x8b00 fs/btrfs/tree-log.c:6586 btrfs_log_inode_parent+0x11df/0x1c00 fs/btrfs/tree-log.c:7037 btrfs_log_dentry_safe+0x96/0x100 fs/btrfs/tree-log.c:7138 btrfs_sync_file+0x1a51/0x24c0 fs/btrfs/file.c:2231 vfs_fsync_range+0x1f9/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2891 [inline] btrfs_do_write_iter+0x1cc7/0x25b0 fs/btrfs/file.c:1990 btrfs_file_write_iter+0x34/0x40 fs/btrfs/file.c:2004 call_write_iter include/linux/fs.h:2199 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x830/0x1570 fs/read_write.c:584 ksys_write+0x21b/0x4e0 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+0x8d/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+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 stored to memory at: read_extent_buffer+0x169/0x3c0 fs/btrfs/extent_io.c:5185 btrfs_item_key fs/btrfs/ctree.h:2201 [inline] btrfs_item_key_to_cpu fs/btrfs/ctree.h:2306 [inline] copy_items+0x446/0x1ef0 fs/btrfs/tree-log.c:4393 btrfs_log_all_xattrs+0x8ad/0xa50 fs/btrfs/tree-log.c:5092 btrfs_log_inode+0x5b25/0x8b00 fs/btrfs/tree-log.c:6586 btrfs_log_inode_parent+0x11df/0x1c00 fs/btrfs/tree-log.c:7037 btrfs_log_dentry_safe+0x96/0x100 fs/btrfs/tree-log.c:7138 btrfs_sync_file+0x1a51/0x24c0 fs/btrfs/file.c:2231 vfs_fsync_range+0x1f9/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2891 [inline] btrfs_do_write_iter+0x1cc7/0x25b0 fs/btrfs/file.c:1990 btrfs_file_write_iter+0x34/0x40 fs/btrfs/file.c:2004 call_write_iter include/linux/fs.h:2199 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x830/0x1570 fs/read_write.c:584 ksys_write+0x21b/0x4e0 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+0x8d/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+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:5581 __alloc_pages_bulk+0x1a99/0x2690 mm/page_alloc.c:5506 alloc_pages_bulk_array include/linux/gfp.h:201 [inline] btrfs_alloc_page_array fs/btrfs/extent_io.c:1317 [inline] btrfs_clone_extent_buffer+0x48d/0x1230 fs/btrfs/extent_io.c:4303 copy_items+0x156/0x1ef0 fs/btrfs/tree-log.c:4359 btrfs_log_all_xattrs+0x8ad/0xa50 fs/btrfs/tree-log.c:5092 btrfs_log_inode+0x5b25/0x8b00 fs/btrfs/tree-log.c:6586 btrfs_log_inode_parent+0x11df/0x1c00 fs/btrfs/tree-log.c:7037 btrfs_log_dentry_safe+0x96/0x100 fs/btrfs/tree-log.c:7138 btrfs_sync_file+0x1a51/0x24c0 fs/btrfs/file.c:2231 vfs_fsync_range+0x1f9/0x250 fs/sync.c:188 generic_write_sync include/linux/fs.h:2891 [inline] btrfs_do_write_iter+0x1cc7/0x25b0 fs/btrfs/file.c:1990 btrfs_file_write_iter+0x34/0x40 fs/btrfs/file.c:2004 call_write_iter include/linux/fs.h:2199 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x830/0x1570 fs/read_write.c:584 ksys_write+0x21b/0x4e0 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+0x8d/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+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: 3763 Comm: syz-executor.5 Not tainted 6.1.0-syzkaller-64311-g5c6259d6d19f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 =====================================================