================================================================== BUG: KCSAN: data-race in copy_page_to_iter / fat12_ent_put write to 0xffff88812d4b22b7 of 1 bytes by task 19729 on cpu 0: fat12_ent_put+0x76/0x1b0 fs/fat/fatent.c:166 fat_ent_write+0x5e/0xd0 fs/fat/fatent.c:415 fat_free fs/fat/file.c:362 [inline] fat_truncate_blocks+0x339/0x550 fs/fat/file.c:393 fat_write_failed fs/fat/inode.c:224 [inline] fat_write_begin+0xd0/0xf0 fs/fat/inode.c:239 generic_perform_write+0x196/0x3c0 mm/filemap.c:3656 __generic_file_write_iter+0x202/0x300 mm/filemap.c:3751 generic_file_write_iter+0x75/0x130 mm/filemap.c:3815 call_write_iter include/linux/fs.h:2114 [inline] do_iter_readv_writev+0x2cb/0x360 fs/read_write.c:740 do_iter_write+0x112/0x4c0 fs/read_write.c:866 vfs_iter_write+0x4c/0x70 fs/read_write.c:907 iter_file_splice_write+0x40a/0x750 fs/splice.c:689 do_splice_from fs/splice.c:767 [inline] direct_splice_actor+0x80/0xa0 fs/splice.c:936 splice_direct_to_actor+0x345/0x650 fs/splice.c:891 do_splice_direct+0xf5/0x170 fs/splice.c:979 do_sendfile+0x773/0xda0 fs/read_write.c:1260 __do_sys_sendfile64 fs/read_write.c:1325 [inline] __se_sys_sendfile64 fs/read_write.c:1311 [inline] __x64_sys_sendfile64+0xf2/0x130 fs/read_write.c:1311 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812d4b2000 of 1377 bytes by task 19717 on cpu 1: instrument_copy_to_user include/linux/instrumented.h:119 [inline] copyout lib/iov_iter.c:156 [inline] copy_page_to_iter_iovec lib/iov_iter.c:228 [inline] __copy_page_to_iter lib/iov_iter.c:801 [inline] copy_page_to_iter+0x2e1/0x940 lib/iov_iter.c:829 filemap_read+0xef6/0x1220 mm/filemap.c:2605 generic_file_read_iter+0x75/0x2c0 mm/filemap.c:2701 blkdev_read_iter+0xb9/0xf0 fs/block_dev.c:1671 call_read_iter include/linux/fs.h:2108 [inline] new_sync_read fs/read_write.c:415 [inline] vfs_read+0x565/0x5d0 fs/read_write.c:496 ksys_read+0xce/0x180 fs/read_write.c:634 __do_sys_read fs/read_write.c:644 [inline] __se_sys_read fs/read_write.c:642 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:642 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0x90 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 19717 Comm: systemd-udevd Not tainted 5.14.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================