================================================================== BUG: KCSAN: data-race in do_select / pollwake write to 0xffffc90000957a50 of 4 bytes by task 8685 on cpu 0: __pollwake fs/select.c:198 [inline] pollwake+0xbe/0x110 fs/select.c:218 __wake_up_common+0xb3/0x130 kernel/sched/wait.c:107 __wake_up_common_lock kernel/sched/wait.c:138 [inline] __wake_up_sync_key+0x82/0xc0 kernel/sched/wait.c:208 pipe_write+0x98f/0xd90 fs/pipe.c:594 call_write_iter include/linux/fs.h:1851 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x463/0x760 fs/read_write.c:584 ksys_write+0xeb/0x1a0 fs/read_write.c:637 __do_sys_write fs/read_write.c:649 [inline] __se_sys_write fs/read_write.c:646 [inline] __x64_sys_write+0x42/0x50 fs/read_write.c:646 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd read to 0xffffc90000957a50 of 4 bytes by task 3105 on cpu 1: poll_schedule_timeout fs/select.c:243 [inline] do_select+0xea3/0xf90 fs/select.c:607 core_sys_select+0x361/0x520 fs/select.c:681 do_pselect fs/select.c:763 [inline] __do_sys_pselect6 fs/select.c:804 [inline] __se_sys_pselect6+0x220/0x290 fs/select.c:795 __x64_sys_pselect6+0x78/0x90 fs/select.c:795 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd value changed: 0x00000000 -> 0x00000001 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 3105 Comm: sshd Not tainted 6.3.0-rc7-syzkaller-00181-g8e41e0a57566 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 ==================================================================