================================================================== BUG: KCSAN: data-race in copy_page_to_iter / fat16_ent_put write to 0xffff88813b28a26e of 2 bytes by task 6854 on cpu 0: fat16_ent_put+0x24/0x50 fs/fat/fatent.c:181 fat_alloc_clusters+0x430/0xa50 fs/fat/fatent.c:501 fat_add_cluster fs/fat/inode.c:108 [inline] __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x213/0x5a0 fs/fat/inode.c:190 __block_write_begin_int+0x4a2/0x1060 fs/buffer.c:2006 __block_write_begin fs/buffer.c:2056 [inline] block_write_begin fs/buffer.c:2116 [inline] cont_write_begin+0x522/0x850 fs/buffer.c:2465 fat_write_begin+0x61/0xf0 fs/fat/inode.c:235 pagecache_write_begin+0x54/0x70 mm/filemap.c:3479 cont_expand_zero fs/buffer.c:2392 [inline] cont_write_begin+0x164/0x850 fs/buffer.c:2455 fat_write_begin+0x61/0xf0 fs/fat/inode.c:235 pagecache_write_begin+0x54/0x70 mm/filemap.c:3479 generic_cont_expand_simple+0x6d/0x100 fs/buffer.c:2356 fat_cont_expand+0x3a/0x160 fs/fat/file.c:222 fat_setattr+0x267/0x7d0 fs/fat/file.c:503 notify_change+0x8a3/0xa80 fs/attr.c:398 do_truncate fs/open.c:64 [inline] do_sys_ftruncate+0x405/0x4c0 fs/open.c:196 __do_sys_ftruncate fs/open.c:207 [inline] __se_sys_ftruncate fs/open.c:205 [inline] __x64_sys_ftruncate+0x2f/0x40 fs/open.c:205 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 0xffff88813b28a000 of 1377 bytes by task 6861 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: 6861 Comm: systemd-udevd Not tainted 5.14.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================