syzbot


KCSAN: data-race in __ip4_datagram_connect / __ip6_append_data.isra.0

Status: closed as invalid on 2019/11/19 13:44
Subsystems: net
[Documentation on labels]
First crash: 1643d, last: 1643d

Sample crash report:
==================================================================
BUG: KCSAN: data-race in __ip4_datagram_connect / __ip6_append_data.isra.0

write to 0xffff8880a6f81012 of 1 bytes by task 9572 on cpu 0:
 __ip4_datagram_connect+0x502/0x830 net/ipv4/datagram.c:74
 __ip6_datagram_connect+0x8f3/0x9f0 net/ipv6/datagram.c:188
 ip6_datagram_connect+0x39/0x60 net/ipv6/datagram.c:271
 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 0xffff8880a6f81012 of 1 bytes by task 9585 on cpu 1:
 sk_fullsock include/net/sock.h:2480 [inline]
 inet6_sk include/linux/ipv6.h:338 [inline]
 ip6_sk_ignore_df include/net/ip6_route.h:280 [inline]
 __ip6_append_data.isra.0+0x33b/0x2030 net/ipv6/ip6_output.c:1378
 ip6_make_skb+0x1df/0x300 net/ipv6/ip6_output.c:1871
 udpv6_sendmsg+0x18b8/0x1c20 net/ipv6/udp.c:1465
 inet6_sendmsg+0x6d/0x90 net/ipv6/af_inet6.c:576
 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: 1 PID: 9585 Comm: syz-executor.3 Not tainted 5.4.0-rc3+ #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/10/23 21:48 https://github.com/google/ktsan.git kcsan 05f2236801fe b602d64b .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.