================================================================== BUG: KCSAN: data-race in fat16_ent_put / fat_parse_short write to 0xffff888101e53566 of 2 bytes by task 10183 on cpu 1: fat16_ent_put+0x54/0x90 fs/fat/fatent.c:181 fat_ent_write+0x69/0xf0 fs/fat/fatent.c:415 fat_chain_add+0x356/0x410 fs/fat/misc.c:130 fat_add_cluster+0x91/0xd0 fs/fat/inode.c:113 __fat_get_block fs/fat/inode.c:155 [inline] fat_get_block+0x3c6/0x4f0 fs/fat/inode.c:190 __block_write_begin_int+0x306/0xf80 fs/buffer.c:2008 __block_write_begin fs/buffer.c:2058 [inline] block_write_begin+0x76/0x160 fs/buffer.c:2117 cont_write_begin+0x3bd/0x660 fs/buffer.c:2466 fat_write_begin+0x69/0xc0 fs/fat/inode.c:236 generic_perform_write+0x13a/0x320 mm/filemap.c:3287 __generic_file_write_iter+0x240/0x370 mm/filemap.c:3416 generic_file_write_iter+0x294/0x38e mm/filemap.c:3448 call_write_iter include/linux/fs.h:1901 [inline] do_iter_readv_writev+0x4a7/0x5d0 fs/read_write.c:693 do_iter_write fs/read_write.c:998 [inline] do_iter_write+0x137/0x3a0 fs/read_write.c:979 vfs_iter_write+0x56/0x80 fs/read_write.c:1039 iter_file_splice_write+0x530/0x830 fs/splice.c:760 do_splice_from fs/splice.c:863 [inline] direct_splice_actor+0x97/0xb0 fs/splice.c:1037 splice_direct_to_actor+0x22f/0x540 fs/splice.c:992 do_splice_direct+0x152/0x1d0 fs/splice.c:1080 do_sendfile+0x396/0x810 fs/read_write.c:1520 __do_sys_sendfile64 fs/read_write.c:1581 [inline] __se_sys_sendfile64 fs/read_write.c:1567 [inline] __x64_sys_sendfile64+0x121/0x140 fs/read_write.c:1567 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888101e53560 of 11 bytes by task 10218 on cpu 0: fat_parse_short+0x159/0x1140 include/linux/string.h:381 fat_search_long+0x260/0xba0 fs/fat/dir.c:507 vfat_find+0xb5/0xc0 fs/fat/namei_vfat.c:698 vfat_lookup+0x73/0x340 fs/fat/namei_vfat.c:712 lookup_open fs/namei.c:3288 [inline] do_last fs/namei.c:3401 [inline] path_openat+0x15ce/0x2f70 fs/namei.c:3607 do_filp_open+0x11e/0x1b0 fs/namei.c:3637 do_sys_openat2+0x4f5/0x620 fs/open.c:1149 do_sys_open+0xa2/0x110 fs/open.c:1165 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_open fs/open.c:1171 [inline] __se_sys_open fs/open.c:1169 [inline] __x64_sys_open+0x50/0x60 fs/open.c:1169 do_syscall_64+0xc7/0x390 arch/x86/entry/common.c:294 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 10218 Comm: syz-executor.2 Not tainted 5.6.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================