syzbot


KCSAN: data-race in __inet_hash_connect / __inet_hash_connect

Status: auto-closed as invalid on 2020/04/06 10:55
Subsystems: net
[Documentation on labels]
First crash: 1551d, last: 1551d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in __inet_hash_connect / __inet_hash_connect (3) net 1 1347d 1347d 0/26 auto-closed as invalid on 2020/09/22 09:01
upstream KCSAN: data-race in __inet_hash_connect / __inet_hash_connect (2) net 1 1444d 1444d 0/26 auto-closed as invalid on 2020/06/18 13:23

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

write to 0xffffffff863b43c0 of 4 bytes by task 10248 on cpu 0:
 __inet_hash_connect+0x4b3/0x8b0 net/ipv4/inet_hashtables.c:715
 inet_hash_connect+0x5c/0xc0 net/ipv4/inet_hashtables.c:742
 tcp_v4_connect+0x693/0xc60 net/ipv4/tcp_ipv4.c:274
 __inet_stream_connect+0x1c6/0x850 net/ipv4/af_inet.c:655
 inet_stream_connect+0x52/0x80 net/ipv4/af_inet.c:719
 __sys_connect_file+0xf4/0x100 net/socket.c:1844
 __sys_connect+0x121/0x150 net/socket.c:1861
 __do_sys_connect net/socket.c:1872 [inline]
 __se_sys_connect net/socket.c:1869 [inline]
 __x64_sys_connect+0x4c/0x60 net/socket.c:1869
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffffffff863b43c0 of 4 bytes by task 10254 on cpu 1:
 __inet_hash_connect+0x49c/0x8b0 net/ipv4/inet_hashtables.c:715
 inet_hash_connect+0x5c/0xc0 net/ipv4/inet_hashtables.c:742
 tcp_v4_connect+0x693/0xc60 net/ipv4/tcp_ipv4.c:274
 __inet_stream_connect+0x1c6/0x850 net/ipv4/af_inet.c:655
 inet_stream_connect+0x52/0x80 net/ipv4/af_inet.c:719
 __sys_connect_file+0xf4/0x100 net/socket.c:1844
 __sys_connect+0x121/0x150 net/socket.c:1861
 __do_sys_connect net/socket.c:1872 [inline]
 __se_sys_connect net/socket.c:1869 [inline]
 __x64_sys_connect+0x4c/0x60 net/socket.c:1869
 do_syscall_64+0xcc/0x3a0 arch/x86/entry/common.c:294
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 10254 Comm: syz-executor.1 Not tainted 5.5.0-rc1-syzkaller #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
2020/01/27 10:55 https://github.com/google/ktsan.git kcsan 245a43005292 dd56146d .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.