================================================================== BUG: KCSAN: data-race in __alloc_file / copy_creds write to 0xffff888100334bd8 of 4 bytes by task 13205 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 alloc_file+0x4e/0x2b0 fs/file_table.c:193 alloc_file_pseudo+0x11c/0x1b0 fs/file_table.c:232 sock_alloc_file+0x65/0x120 net/socket.c:397 __sys_accept4+0x172/0x430 net/socket.c:1743 __do_sys_accept4 net/socket.c:1789 [inline] __se_sys_accept4 net/socket.c:1786 [inline] __x64_sys_accept4+0x5e/0x80 net/socket.c:1786 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x44/0xa9 write to 0xffff888100334bd8 of 4 bytes by task 13190 on cpu 1: get_cred include/linux/cred.h:253 [inline] copy_creds+0x258/0x340 kernel/cred.c:346 copy_process+0x926/0x3b50 kernel/fork.c:1884 _do_fork+0xfe/0x6e0 kernel/fork.c:2366 __do_sys_clone kernel/fork.c:2521 [inline] __se_sys_clone kernel/fork.c:2502 [inline] __x64_sys_clone+0x12b/0x160 kernel/fork.c:2502 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: 13190 Comm: syz-executor.4 Not tainted 5.4.0-rc6+ #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================