================================================================== BUG: KCSAN: data-race in copy_page_to_iter / fat12_ent_put write to 0xffff88812fa82210 of 1 bytes by task 5139 on cpu 0: fat12_ent_put+0xce/0x180 fs/fat/fatent.c:164 fat_alloc_clusters+0x493/0xab0 fs/fat/fatent.c:502 fat_alloc_new_dir+0xba/0x500 fs/fat/dir.c:1144 vfat_mkdir+0x81/0x230 fs/fat/namei_vfat.c:861 vfs_mkdir+0x216/0x320 fs/namei.c:3933 do_mkdirat+0x12e/0x2c0 fs/namei.c:3959 __do_sys_mkdir fs/namei.c:3979 [inline] __se_sys_mkdir fs/namei.c:3977 [inline] __x64_sys_mkdir+0x40/0x50 fs/namei.c:3977 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88812fa82000 of 1024 bytes by task 2277 on cpu 1: instrument_copy_to_user include/linux/instrumented.h:119 [inline] copyout lib/iov_iter.c:154 [inline] copy_page_to_iter_iovec lib/iov_iter.c:226 [inline] __copy_page_to_iter lib/iov_iter.c:850 [inline] copy_page_to_iter+0x2cb/0x950 lib/iov_iter.c:878 copy_folio_to_iter include/linux/uio.h:153 [inline] filemap_read+0x1126/0x1430 mm/filemap.c:2727 blkdev_read_iter+0xcb/0x350 block/fops.c:610 call_read_iter include/linux/fs.h:2068 [inline] new_sync_read fs/read_write.c:400 [inline] vfs_read+0x66c/0x750 fs/read_write.c:481 ksys_read+0xd9/0x190 fs/read_write.c:619 __do_sys_read fs/read_write.c:629 [inline] __se_sys_read fs/read_write.c:627 [inline] __x64_sys_read+0x3e/0x50 fs/read_write.c:627 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 2277 Comm: udevd Not tainted 5.17.0-rc2-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ================================================================== I/O error, dev loop3, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop2, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop1, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 I/O error, dev loop4, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0