syzbot


KCSAN: data-race in do_epoll_wait / ep_insert

Status: auto-closed as invalid on 2022/06/25 10:25
Subsystems: fs
[Documentation on labels]
First crash: 737d, last: 699d

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

write to 0xffff888103e0c958 of 8 bytes by task 1735 on cpu 1:
 __list_add include/linux/list.h:72 [inline]
 list_add_tail include/linux/list.h:102 [inline]
 ep_insert+0xa02/0xbb0 fs/eventpoll.c:1542
 do_epoll_ctl+0x59c/0x890 fs/eventpoll.c:2141
 __do_sys_epoll_ctl fs/eventpoll.c:2192 [inline]
 __se_sys_epoll_ctl fs/eventpoll.c:2183 [inline]
 __x64_sys_epoll_ctl+0xc2/0xf0 fs/eventpoll.c:2183
 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 0xffff888103e0c958 of 8 bytes by task 1734 on cpu 0:
 list_empty_careful include/linux/list.h:329 [inline]
 ep_events_available fs/eventpoll.c:381 [inline]
 ep_poll fs/eventpoll.c:1797 [inline]
 do_epoll_wait+0x2be/0xf10 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+0x136/0x250 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

value changed: 0xffff888103e0c950 -> 0xffff888138c37598

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 1734 Comm: syz-fuzzer Not tainted 5.18.0-rc7-syzkaller-00136-g3b5e1590a267-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/05/21 10:24 upstream 3b5e1590a267 7268fa62 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_epoll_wait / ep_insert
2022/05/17 10:55 upstream 42226c989789 744a39e2 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_epoll_wait / ep_insert
2022/05/16 02:37 upstream bc403203d65a 744a39e2 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_epoll_wait / ep_insert
2022/05/04 12:36 upstream 107c948d1d3e dc9e5259 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_epoll_wait / ep_insert
2022/04/21 16:53 upstream b253435746d9 2738b391 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_epoll_wait / ep_insert
2022/04/19 19:03 upstream b7f73403a3e9 33fc6ed6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_epoll_wait / ep_insert
2022/04/13 17:45 upstream a19944809fe9 b17b2923 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_epoll_wait / ep_insert
* Struck through repros no longer work on HEAD.