================================================================== BUG: KCSAN: data-race in __alloc_fd / do_select write to 0xffff88810079a880 of 8 bytes by task 25368 on cpu 1: instrument_write include/linux/instrumented.h:42 [inline] __set_bit include/asm-generic/bitops/instrumented-non-atomic.h:27 [inline] __set_open_fd fs/file.c:241 [inline] __alloc_fd+0x207/0x3b0 fs/file.c:519 __get_unused_fd_flags fs/file.c:545 [inline] get_unused_fd_flags+0x85/0xb0 fs/file.c:550 do_sys_openat2+0x3f0/0x680 fs/open.c:1146 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 read to 0xffff88810079a880 of 8 bytes by task 25405 on cpu 0: max_select_fd fs/select.c:446 [inline] do_select+0x315/0x1020 fs/select.c:487 core_sys_select+0x2c7/0x5f0 fs/select.c:677 do_pselect.constprop.0+0x125/0x160 fs/select.c:759 __do_sys_pselect6 fs/select.c:784 [inline] __se_sys_pselect6 fs/select.c:769 [inline] __x64_sys_pselect6+0x12a/0x160 fs/select.c:769 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: 0 PID: 25405 Comm: syz-executor.2 Not tainted 5.7.0-rc1-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================