syzbot


upstream test error: KCSAN: data-race in do_sys_poll / pollwake

Status: auto-obsoleted due to no activity on 2023/03/16 20:29
Subsystems: fs
[Documentation on labels]
First crash: 925d, last: 925d

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

write to 0xffffc9000039bc50 of 4 bytes by task 2772 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:138 [inline]
 __wake_up_sync_key+0x83/0xc0 kernel/sched/wait.c:208
 sock_def_readable+0x61/0xe0 net/core/sock.c:3297
 unix_dgram_sendmsg+0xd75/0x1160 net/unix/af_unix.c:2083
 sock_sendmsg_nosec net/socket.c:714 [inline]
 sock_sendmsg net/socket.c:734 [inline]
 sock_write_iter+0x1b7/0x220 net/socket.c:1108
 do_iter_write+0x494/0x750 fs/read_write.c:861
 vfs_writev fs/read_write.c:934 [inline]
 do_writev+0x256/0x4b0 fs/read_write.c:977
 __do_sys_writev fs/read_write.c:1050 [inline]
 __se_sys_writev fs/read_write.c:1047 [inline]
 __x64_sys_writev+0x41/0x50 fs/read_write.c:1047
 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+0x63/0xcd

read to 0xffffc9000039bc50 of 4 bytes by task 2773 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+0x63/0xcd

value changed: 0x00000000 -> 0x00000001

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 2773 Comm: dhcpcd Not tainted 6.2.0-rc4-syzkaller-00069-g081edded9b38-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/01/19 20:10 upstream 081edded9b38 71197f3a .config console log report ci2-upstream-kcsan-gce upstream test error: KCSAN: data-race in do_sys_poll / pollwake
* Struck through repros no longer work on HEAD.