================================================================== BUG: KCSAN: data-race in copy_page_to_iter / fat12_ent_put write to 0xffff8881383c3412 of 1 bytes by task 13369 on cpu 0: fat12_ent_put+0x76/0x1b0 fs/fat/fatent.c:167 fat_alloc_clusters+0x493/0xab0 fs/fat/fatent.c:502 fat_add_cluster fs/fat/inode.c:108 [inline] __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x267/0x610 fs/fat/inode.c:190 __block_write_begin_int+0x4c5/0x1080 fs/buffer.c:2010 __block_write_begin fs/buffer.c:2060 [inline] block_write_begin fs/buffer.c:2120 [inline] cont_write_begin+0x542/0x870 fs/buffer.c:2469 fat_write_begin+0x61/0xf0 fs/fat/inode.c:235 generic_perform_write+0x1b8/0x3e0 mm/filemap.c:3770 __generic_file_write_iter+0x174/0x310 mm/filemap.c:3897 generic_file_write_iter+0x75/0x130 mm/filemap.c:3929 call_write_iter include/linux/fs.h:2163 [inline] do_iter_readv_writev+0x2de/0x380 fs/read_write.c:729 do_iter_write+0x192/0x5c0 fs/read_write.c:855 vfs_iter_write+0x4c/0x70 fs/read_write.c:896 iter_file_splice_write+0x43a/0x790 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+0x106/0x190 fs/splice.c:979 do_sendfile+0x63e/0xbb0 fs/read_write.c:1249 __do_sys_sendfile64 fs/read_write.c:1314 [inline] __se_sys_sendfile64 fs/read_write.c:1300 [inline] __x64_sys_sendfile64+0x102/0x140 fs/read_write.c:1300 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff8881383c3000 of 1377 bytes by task 13380 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:805 [inline] copy_page_to_iter+0x2cb/0x950 lib/iov_iter.c:833 filemap_read+0xee6/0x1220 mm/filemap.c:2683 generic_file_read_iter+0x75/0x2c0 mm/filemap.c:2779 blkdev_read_iter+0xb9/0xf0 block/fops.c:545 call_read_iter include/linux/fs.h:2157 [inline] new_sync_read fs/read_write.c:404 [inline] vfs_read+0x66c/0x750 fs/read_write.c:485 ksys_read+0xd9/0x190 fs/read_write.c:623 __do_sys_read fs/read_write.c:633 [inline] __se_sys_read fs/read_write.c:631 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:631 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 13380 Comm: systemd-udevd Not tainted 5.15.0-rc4-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================