syzbot


KCSAN: data-race in tipc_group_create / tipc_poll

Status: auto-closed as invalid on 2022/02/15 06:41
Subsystems: tipc
[Documentation on labels]
First crash: 836d, last: 836d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in tipc_group_create / tipc_poll

write to 0xffff8881394debf8 of 1 bytes by task 20032 on cpu 1:
 tipc_group_create+0x22b/0x2a0 net/tipc/group.c:188
 tipc_sk_join net/tipc/socket.c:3082 [inline]
 tipc_setsockopt+0x85f/0xcc0 net/tipc/socket.c:3199
 __sys_setsockopt+0x209/0x2a0 net/socket.c:2176
 __do_sys_setsockopt net/socket.c:2187 [inline]
 __se_sys_setsockopt net/socket.c:2184 [inline]
 __x64_sys_setsockopt+0x62/0x70 net/socket.c:2184
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff8881394debf8 of 1 bytes by task 20035 on cpu 0:
 tipc_poll+0x120/0x340 net/tipc/socket.c:816
 sock_poll+0x23e/0x260 net/socket.c:1302
 vfs_poll include/linux/poll.h:90 [inline]
 do_pollfd fs/select.c:869 [inline]
 do_poll fs/select.c:917 [inline]
 do_sys_poll+0x4b8/0xad0 fs/select.c:1011
 __do_sys_poll fs/select.c:1076 [inline]
 __se_sys_poll+0xf5/0x210 fs/select.c:1064
 __x64_sys_poll+0x3f/0x50 fs/select.c:1064
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x01 -> 0x00

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 20035 Comm: syz-executor.3 Not tainted 5.16.0-syzkaller #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/01/11 06:40 upstream 133d9c53c9dc ddb0ab8c .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in tipc_group_create / tipc_poll
* Struck through repros no longer work on HEAD.