================================================================== BUG: KCSAN: data-race in __alloc_file / __alloc_file write to 0xffff88812067af98 of 4 bytes by task 20345 on cpu 0: get_cred include/linux/cred.h:253 [inline] __alloc_file+0x74/0x210 fs/file_table.c:105 alloc_empty_file+0x8f/0x180 fs/file_table.c:151 path_openat+0x74/0x36e0 fs/namei.c:3514 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_openat fs/open.c:1124 [inline] __se_sys_openat fs/open.c:1118 [inline] __x64_sys_openat+0x62/0x80 fs/open.c:1118 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff88812067af98 of 4 bytes by task 20341 on cpu 1: get_cred include/linux/cred.h:253 [inline] __alloc_file+0x74/0x210 fs/file_table.c:105 alloc_empty_file+0x8f/0x180 fs/file_table.c:151 path_openat+0x74/0x36e0 fs/namei.c:3514 do_filp_open+0x11e/0x1b0 fs/namei.c:3555 do_sys_open+0x3b3/0x4f0 fs/open.c:1097 __do_sys_openat fs/open.c:1124 [inline] __se_sys_openat fs/open.c:1118 [inline] __x64_sys_openat+0x62/0x80 fs/open.c:1118 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: 20341 Comm: syz-executor.3 Not tainted 5.4.0-rc3+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================