syzbot


KCSAN: data-race in dccp_setsockopt / dccp_v6_connect

Status: auto-obsoleted due to no activity on 2023/11/23 03:27
Subsystems: dccp
[Documentation on labels]
First crash: 467d, last: 467d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in dccp_setsockopt / dccp_v6_connect

write to 0xffff8881614c22c0 of 8 bytes by task 6838 on cpu 1:
 dccp_v6_connect+0x58b/0x900 net/dccp/ipv6.c:901
 __inet_stream_connect+0x15c/0x710 net/ipv4/af_inet.c:676
 inet_stream_connect+0x48/0x70 net/ipv4/af_inet.c:740
 __sys_connect_file net/socket.c:2050 [inline]
 __sys_connect+0x1a1/0x1b0 net/socket.c:2067
 __do_sys_connect net/socket.c:2077 [inline]
 __se_sys_connect net/socket.c:2074 [inline]
 __x64_sys_connect+0x41/0x50 net/socket.c:2074
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

read to 0xffff8881614c22c0 of 8 bytes by task 6839 on cpu 0:
 dccp_setsockopt+0xad/0xc20 net/dccp/proto.c:579
 sock_common_setsockopt+0x61/0x70 net/core/sock.c:3699
 __sys_setsockopt+0x1d7/0x240 net/socket.c:2325
 __do_sys_setsockopt net/socket.c:2336 [inline]
 __se_sys_setsockopt net/socket.c:2333 [inline]
 __x64_sys_setsockopt+0x66/0x80 net/socket.c:2333
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd

value changed: 0xffffffff85111c20 -> 0xffffffff85111bc8

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 6839 Comm: syz-executor.3 Not tainted 6.6.0-rc6-syzkaller-00043-gdd72f9c7e512 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
==================================================================

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/19 03:25 upstream dd72f9c7e512 342b9c55 .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in dccp_setsockopt / dccp_v6_connect
* Struck through repros no longer work on HEAD.