syzbot


KCSAN: data-race in do_epoll_wait / ep_poll_callback (8)

Status: auto-closed as invalid on 2022/05/01 05:30
Subsystems: fs
[Documentation on labels]
First crash: 775d, last: 775d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback (7) fs 1 824d 824d 0/26 auto-closed as invalid on 2022/03/12 11:24
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback (9) fs 9 440d 558d 0/26 auto-obsoleted due to no activity on 2023/04/08 19:56
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback (11) fs 3 41d 70d 0/26 auto-obsoleted due to no activity on 2024/05/03 13:41
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback (6) fs 1 866d 866d 0/26 auto-closed as invalid on 2022/01/29 14:05
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback (2) fs 2 1188d 1190d 0/26 auto-closed as invalid on 2021/03/14 02:07
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback (5) fs 2 972d 983d 0/26 auto-closed as invalid on 2021/10/15 22:14
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback (4) fs 1 1065d 1065d 0/26 auto-closed as invalid on 2021/07/14 13:56
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback (3) fs 1 1136d 1136d 0/26 auto-closed as invalid on 2021/05/17 11:16
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback fs 221 1375d 1412d 0/26 auto-closed as invalid on 2020/08/31 10:40
upstream KCSAN: data-race in do_epoll_wait / ep_poll_callback (10) fs 2 165d 151d 0/26 auto-obsoleted due to no activity on 2024/01/01 00:54

Sample crash report:
==================================================================
BUG: KCSAN: data-race in do_epoll_wait / ep_poll_callback

write to 0xffff8881368aab68 of 4 bytes by task 31611 on cpu 0:
 ep_send_events fs/eventpoll.c:1706 [inline]
 ep_poll fs/eventpoll.c:1806 [inline]
 do_epoll_wait+0x8a3/0xf50 fs/eventpoll.c:2234
 do_epoll_pwait fs/eventpoll.c:2268 [inline]
 __do_sys_epoll_pwait fs/eventpoll.c:2281 [inline]
 __se_sys_epoll_pwait+0x12b/0x240 fs/eventpoll.c:2275
 __x64_sys_epoll_pwait+0x74/0x80 fs/eventpoll.c:2275
 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+0x44/0xae

read to 0xffff8881368aab68 of 4 bytes by task 31616 on cpu 1:
 ep_poll_callback+0x415/0x4e0 fs/eventpoll.c:1213
 __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
 sock_def_wakeup+0x59/0x70 net/core/sock.c:3139
 inet_shutdown+0x1e4/0x200 net/ipv4/af_inet.c:909
 __sys_shutdown_sock net/socket.c:2252 [inline]
 __sys_shutdown net/socket.c:2264 [inline]
 __do_sys_shutdown net/socket.c:2272 [inline]
 __se_sys_shutdown+0xf6/0x140 net/socket.c:2270
 __x64_sys_shutdown+0x2d/0x40 net/socket.c:2270
 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+0x44/0xae

value changed: 0x60000019 -> 0x60000000

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 31616 Comm: syz-executor.4 Not tainted 5.17.0-syzkaller-10753-gbddac7c1e02b-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/03/27 05:28 upstream bddac7c1e02b 89bc8608 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_epoll_wait / ep_poll_callback
* Struck through repros no longer work on HEAD.