================================================================== BUG: KCSAN: data-race in fat12_ent_put / fat_parse_short write to 0xffff888108c4736c of 1 bytes by task 17224 on cpu 0: fat12_ent_put+0x165/0x1b0 fs/fat/fatent.c:167 fat_free_clusters+0x26a/0x690 fs/fat/fatent.c:595 fat_free fs/fat/file.c:375 [inline] fat_truncate_blocks+0x4bf/0x6f0 fs/fat/file.c:393 fat_setattr+0x7d9/0x810 fs/fat/file.c:537 notify_change+0x82b/0xad0 fs/attr.c:336 do_truncate+0xf9/0x180 fs/open.c:64 handle_truncate fs/namei.c:2887 [inline] do_open fs/namei.c:3233 [inline] path_openat+0x1e51/0x23d0 fs/namei.c:3346 do_filp_open+0x11e/0x1b0 fs/namei.c:3373 do_sys_openat2+0x52e/0x680 fs/open.c:1148 do_sys_open+0xa2/0x110 fs/open.c:1164 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_creat fs/open.c:1232 [inline] __se_sys_creat fs/open.c:1230 [inline] __x64_sys_creat+0x42/0x60 fs/open.c:1230 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 read to 0xffff888108c4736c of 1 bytes by task 17213 on cpu 1: fat_parse_short+0x231/0x1140 fs/fat/dir.c:384 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:3060 [inline] open_last_lookups fs/namei.c:3155 [inline] path_openat+0xb33/0x23d0 fs/namei.c:3343 do_filp_open+0x11e/0x1b0 fs/namei.c:3373 do_sys_openat2+0x52e/0x680 fs/open.c:1148 do_sys_open+0xa2/0x110 fs/open.c:1164 ksys_open include/linux/syscalls.h:1386 [inline] __do_sys_open fs/open.c:1170 [inline] __se_sys_open fs/open.c:1168 [inline] __x64_sys_open+0x50/0x60 fs/open.c:1168 do_syscall_64+0xc7/0x3b0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 17213 Comm: syz-executor.3 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================