syzbot


KCSAN: data-race in do_sys_poll / pollwake
Status: moderation: reported on 2020/07/18 20:22
Reported-by: syzbot+a5d15da12b55f807031f@syzkaller.appspotmail.com
First crash: 705d, last: 13h16m

Sample crash report:
==================================================================
BUG: KCSAN: data-race in do_sys_poll / pollwake

write to 0xffffc90001fb3c50 of 4 bytes by task 8832 on cpu 1:
 __pollwake fs/select.c:198 [inline]
 pollwake+0xb9/0x110 fs/select.c:218
 __wake_up_common+0xbc/0x130 kernel/sched/wait.c:107
 __wake_up_common_lock kernel/sched/wait.c:137 [inline]
 __wake_up+0x80/0xc0 kernel/sched/wait.c:156
 unix_dgram_peer_wake_relay+0xe9/0x110 net/unix/af_unix.c:425
 __wake_up_common+0xbc/0x130 kernel/sched/wait.c:107
 __wake_up_common_lock kernel/sched/wait.c:137 [inline]
 __wake_up_sync_key+0x83/0xc0 kernel/sched/wait.c:204
 __unix_dgram_recvmsg+0x3c8/0x8b0 net/unix/af_unix.c:2416
 unix_dgram_recvmsg+0x81/0x90 net/unix/af_unix.c:2487
 ____sys_recvmsg+0x162/0x2f0
 ___sys_recvmsg net/socket.c:2706 [inline]
 do_recvmmsg+0x53a/0xa30 net/socket.c:2800
 __sys_recvmmsg net/socket.c:2879 [inline]
 __do_sys_recvmmsg net/socket.c:2902 [inline]
 __se_sys_recvmmsg net/socket.c:2895 [inline]
 __x64_sys_recvmmsg+0xde/0x160 net/socket.c:2895
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

read to 0xffffc90001fb3c50 of 4 bytes by task 8837 on cpu 0:
 poll_schedule_timeout fs/select.c:243 [inline]
 do_poll fs/select.c:965 [inline]
 do_sys_poll+0xa47/0xca0 fs/select.c:1015
 __do_sys_ppoll fs/select.c:1121 [inline]
 __se_sys_ppoll+0x195/0x1d0 fs/select.c:1101
 __x64_sys_ppoll+0x63/0x70 fs/select.c:1101
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x46/0xb0

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 8837 Comm: syz-executor.2 Not tainted 5.18.0-syzkaller-02752-gfdaf9a5840ac-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1882):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-upstream-kcsan-gce 2022/05/25 13:29 upstream fdaf9a5840ac 3037caa9 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/25 11:51 upstream fdaf9a5840ac 647c0e27 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/25 11:47 upstream fdaf9a5840ac 647c0e27 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/24 22:15 upstream 0350785b0a09 647c0e27 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/24 10:22 upstream 143a6252e1b8 fcfad4ff .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/23 23:20 upstream 140e40e39a29 e7f9308d .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/23 09:14 upstream 4b0986a3613c 7268fa62 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/22 19:58 upstream 978df3e15846 7268fa62 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/22 06:45 upstream eaea45fc0e7b 7268fa62 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/21 17:31 upstream 6c3f5bec9b40 7268fa62 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/21 04:21 upstream 3b5e1590a267 7268fa62 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/20 15:49 upstream 3d7285a335ed bd37ad7e .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/20 14:16 upstream 3d7285a335ed cb1ac2e7 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/20 00:57 upstream b015dcd62b86 cb1ac2e7 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/19 11:34 upstream f993aed406ea cb1ac2e7 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/19 06:15 upstream f993aed406ea 50c53f39 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/19 06:07 upstream f993aed406ea 50c53f39 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/18 16:56 upstream ef1302160bfb 50c53f39 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/18 13:41 upstream 210e04ff7681 50c53f39 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/18 00:28 upstream 210e04ff7681 744a39e2 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/16 03:24 upstream 42226c989789 744a39e2 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/15 14:20 upstream bc403203d65a 744a39e2 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/15 00:20 upstream 2fe1020d73ca 744a39e2 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/14 10:47 upstream ec7f49619d8e 744a39e2 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/13 21:48 upstream f2dd007445b1 107f6434 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/13 09:31 upstream f3f19f939c11 7ce5a022 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/13 08:12 upstream f3f19f939c11 9ad6612a .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/12 19:00 upstream 0ac824f379fb 9ad6612a .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/12 13:16 upstream feb9c5e19e91 9ad6612a .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/11 16:56 upstream feb9c5e19e91 beb0b407 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/10 23:40 upstream feb9c5e19e91 8d7b3b67 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/09 16:20 upstream 9be9ed2612b5 8b277b8e .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/09 09:13 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/09 07:49 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/09 06:41 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/09 05:05 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/09 03:59 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/09 02:25 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/09 01:00 upstream c5eb0a61238d e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/08 23:55 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/08 22:42 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/08 21:26 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2022/05/08 20:23 upstream 379c72654524 e60b1103 .config log report info KCSAN: data-race in do_sys_poll / pollwake
ci2-upstream-kcsan-gce 2021/01/17 10:56 upstream 0da0a8a0a0e1 813be542 .config log report info
ci2-upstream-kcsan-gce 2020/07/18 19:22 upstream 6cf7ccba29dc 9c812472 .config log report
ci2-upstream-kcsan-gce 2020/07/14 20:16 upstream e9919e11e219 6f458026 .config log report
ci2-upstream-kcsan-gce 2020/06/19 12:55 upstream 5e857ce6eae7 bc258b50 .config log report