syzbot


KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg

Status: auto-closed as invalid on 2020/01/20 16:26
Subsystems: net
[Documentation on labels]
First crash: 1627d, last: 1627d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __ip6_datagram_connect / rawv6_sendmsg (2) net 1 1412d 1412d 0/26 closed as invalid on 2020/06/18 14:13

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

write to 0xffff8881004fea52 of 1 bytes by task 15792 on cpu 1:
 __ip6_datagram_connect+0x830/0x9f0 net/ipv6/datagram.c:259
 ip6_datagram_connect+0x39/0x60 net/ipv6/datagram.c:271
 ip6_datagram_connect_v6_only+0x54/0x80 net/ipv6/datagram.c:283
 inet_dgram_connect+0xcf/0x1a0 net/ipv4/af_inet.c:571
 __sys_connect+0x1e9/0x250 net/socket.c:1828
 __do_sys_connect net/socket.c:1839 [inline]
 __se_sys_connect net/socket.c:1836 [inline]
 __x64_sys_connect+0x4c/0x60 net/socket.c:1836
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff8881004fea52 of 1 bytes by task 15797 on cpu 0:
 rawv6_sendmsg+0xe20/0x21e0 net/ipv6/raw.c:856
 inet_sendmsg+0x6d/0x90 net/ipv4/af_inet.c:807
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg+0x9f/0xc0 net/socket.c:657
 ___sys_sendmsg+0x2b7/0x5d0 net/socket.c:2311
 __sys_sendmmsg+0x123/0x350 net/socket.c:2413
 __do_sys_sendmmsg net/socket.c:2442 [inline]
 __se_sys_sendmmsg net/socket.c:2439 [inline]
 __x64_sys_sendmmsg+0x64/0x80 net/socket.c:2439
 do_syscall_64+0xcc/0x370 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 15797 Comm: syz-executor.4 Not tainted 5.4.0-rc6+ #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
2019/11/11 16:25 https://github.com/google/ktsan.git kcsan 94c006602e13 377d77fa .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.