syzbot


KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg (4)

Status: auto-obsoleted due to no activity on 2026/03/17 11:40
Subsystems: net
[Documentation on labels]
First crash: 86d, last: 86d
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision Error
7b551d1b-21c3-4a0d-a630-e321598248a4 repro KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg (4) 2026/03/07 18:41 2026/03/07 18:41 2026/03/07 18:48 31e9c887f7dc24e04b3ca70d0d54fc34141844b0
7dc7af85-5a8a-4d2b-91d0-7fc262c92e27 assessment-kcsan Benign: ✅  Confident: ✅  KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg (4) 2026/01/23 06:09 2026/01/23 06:09 2026/01/23 06:16 499a21815ec0ab13dbfc80e05fc32aadbc482145
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg (2) net 6 1 2133d 2133d 0/29 closed as invalid on 2020/06/18 14:13
upstream KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg (3) net 6 3 187d 255d 0/29 auto-obsoleted due to no activity on 2025/12/06 14:52
upstream KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg net 6 1 2348d 2348d 0/29 auto-closed as invalid on 2020/01/20 16:26

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg

read to 0xffff888103896e38 of 8 bytes by task 3872 on cpu 0:
 ipv6_addr_any include/net/ipv6.h:730 [inline]
 rawv6_sendmsg+0xa0c/0x1210 net/ipv6/raw.c:874
 inet_sendmsg+0xc5/0xd0 net/ipv4/af_inet.c:859
 sock_sendmsg_nosec net/socket.c:727 [inline]
 __sock_sendmsg+0x102/0x170 net/socket.c:742
 ____sys_sendmsg+0x345/0x4a0 net/socket.c:2592
 ___sys_sendmsg+0x195/0x1e0 net/socket.c:2646
 __sys_sendmmsg+0x185/0x320 net/socket.c:2735
 __do_sys_sendmmsg net/socket.c:2762 [inline]
 __se_sys_sendmmsg net/socket.c:2759 [inline]
 __x64_sys_sendmmsg+0x57/0x70 net/socket.c:2759
 x64_sys_call+0x1e28/0x3000 arch/x86/include/generated/asm/syscalls_64.h:308
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

write to 0xffff888103896e38 of 16 bytes by task 3880 on cpu 1:
 __ip6_datagram_connect+0x6ef/0x800 net/ipv6/datagram.c:246
 ip6_datagram_connect net/ipv6/datagram.c:279 [inline]
 ip6_datagram_connect_v6_only+0x52/0x80 net/ipv6/datagram.c:291
 inet_dgram_connect+0x125/0x1c0 net/ipv4/af_inet.c:594
 __sys_connect_file net/socket.c:2089 [inline]
 __sys_connect+0x1f1/0x2a0 net/socket.c:2108
 __do_sys_connect net/socket.c:2114 [inline]
 __se_sys_connect net/socket.c:2111 [inline]
 __x64_sys_connect+0x3f/0x50 net/socket.c:2111
 x64_sys_call+0x2e09/0x3000 arch/x86/include/generated/asm/syscalls_64.h:43
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xc0/0x2a0 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 UID: 0 PID: 3880 Comm: syz.2.130 Not tainted syzkaller #0 PREEMPT(voluntary) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
==================================================================
9p: Bad value for 'rfdno'

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/20 11:00 upstream 24d479d26b25 06648d9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-kcsan-gce KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg
* Struck through repros no longer work on HEAD.