================================================================== BUG: KCSAN: data-race in fat16_ent_put / fat_parse_short write to 0xffff888113fc43c2 of 2 bytes by task 17515 on cpu 0: fat16_ent_put+0x5b/0x90 fs/fat/fatent.c:181 fat_ent_write+0x6d/0xf0 fs/fat/fatent.c:415 fat_chain_add+0x34e/0x400 fs/fat/misc.c:130 fat_add_cluster+0x92/0xd0 fs/fat/inode.c:112 __fat_get_block fs/fat/inode.c:154 [inline] fat_get_block+0x3ae/0x4e0 fs/fat/inode.c:189 __block_write_begin_int+0x2ea/0xf20 fs/buffer.c:1968 __block_write_begin fs/buffer.c:2018 [inline] block_write_begin+0x77/0x160 fs/buffer.c:2077 cont_write_begin+0x3d6/0x670 fs/buffer.c:2426 fat_write_begin+0x72/0xc0 fs/fat/inode.c:235 pagecache_write_begin+0x6b/0x90 mm/filemap.c:3149 cont_expand_zero fs/buffer.c:2353 [inline] cont_write_begin+0x17a/0x670 fs/buffer.c:2416 fat_write_begin+0x72/0xc0 fs/fat/inode.c:235 pagecache_write_begin+0x6b/0x90 mm/filemap.c:3149 generic_cont_expand_simple+0xb0/0x120 fs/buffer.c:2317 fat_cont_expand+0x4e/0x1c0 fs/fat/file.c:233 fat_fallocate+0x1af/0x1f0 fs/fat/file.c:311 vfs_fallocate+0x3be/0x650 fs/open.c:309 ksys_fallocate+0x61/0xa0 fs/open.c:332 __do_sys_fallocate fs/open.c:340 [inline] __se_sys_fallocate fs/open.c:338 [inline] __x64_sys_fallocate+0x5e/0x80 fs/open.c:338 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888113fc43c0 of 11 bytes by task 17527 on cpu 1: fat_parse_short+0x15b/0x1190 include/linux/string.h:378 fat_search_long+0x267/0xc60 fs/fat/dir.c:507 vfat_find+0xc1/0xd0 fs/fat/namei_vfat.c:698 vfat_lookup+0x75/0x350 fs/fat/namei_vfat.c:712 lookup_open fs/namei.c:3203 [inline] do_last fs/namei.c:3314 [inline] path_openat+0x15b4/0x36e0 fs/namei.c:3525 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_open fs/open.c:1115 [inline] __se_sys_open fs/open.c:1110 [inline] __x64_sys_open+0x55/0x70 fs/open.c:1110 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 17527 Comm: syz-executor.2 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================