syzbot


KCSAN: data-race in dccp_getsockopt / dccp_hdlr_ccid

Status: auto-obsoleted due to no activity on 2022/10/22 05:01
Subsystems: dccp
[Documentation on labels]
First crash: 587d, last: 587d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in dccp_getsockopt / dccp_hdlr_ccid

write to 0xffff88813e07a690 of 8 bytes by task 3156 on cpu 0:
 dccp_hdlr_ccid+0x8f/0xa0
 __dccp_feat_activate net/dccp/feat.c:341 [inline]
 dccp_feat_activate_values+0x368/0x7b0 net/dccp/feat.c:1551
 dccp_rcv_request_sent_state_process+0x23e/0x4a0 net/dccp/input.c:468
 dccp_rcv_state_process+0x39d/0x4d0 net/dccp/input.c:676
 dccp_v4_do_rcv+0x8f/0xe0 net/dccp/ipv4.c:695
 sk_backlog_rcv include/net/sock.h:1100 [inline]
 __release_sock+0xa7/0x220 net/core/sock.c:2852
 release_sock+0x40/0x110 net/core/sock.c:3408
 inet_wait_for_connect net/ipv4/af_inet.c:593 [inline]
 __inet_stream_connect+0x3e4/0x6d0 net/ipv4/af_inet.c:685
 inet_stream_connect+0x44/0x70 net/ipv4/af_inet.c:724
 __sys_connect_file net/socket.c:1976 [inline]
 __sys_connect+0x197/0x1b0 net/socket.c:1993
 __do_sys_connect net/socket.c:2003 [inline]
 __se_sys_connect net/socket.c:2000 [inline]
 __x64_sys_connect+0x3d/0x50 net/socket.c:2000
 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 0xffff88813e07a690 of 8 bytes by task 3157 on cpu 1:
 do_dccp_getsockopt net/dccp/proto.c:658 [inline]
 dccp_getsockopt+0x878/0xa80 net/dccp/proto.c:678
 sock_common_getsockopt+0x53/0x60 net/core/sock.c:3559
 __sys_getsockopt+0x17a/0x1e0 net/socket.c:2296
 __do_sys_getsockopt net/socket.c:2311 [inline]
 __se_sys_getsockopt net/socket.c:2308 [inline]
 __x64_sys_getsockopt+0x62/0x70 net/socket.c:2308
 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: 0x0000000000000000 -> 0xffff8881403429c0

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 3157 Comm: syz-executor.2 Not tainted 6.0.0-rc5-syzkaller-00089-g6879c2d3b960-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/26/2022
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/09/17 05:00 upstream 6879c2d3b960 dd9a85ff .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in dccp_getsockopt / dccp_hdlr_ccid
* Struck through repros no longer work on HEAD.