syzbot


KCSAN: data-race in __inet_hash_connect / __inet_hash_connect (3)

Status: auto-closed as invalid on 2020/09/22 09:01
Subsystems: net
[Documentation on labels]
First crash: 1624d, last: 1624d
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 (2) net 1 1721d 1721d 0/28 auto-closed as invalid on 2020/06/18 13:23
upstream KCSAN: data-race in __inet_hash_connect / __inet_hash_connect net 1 1828d 1828d 0/28 auto-closed as invalid on 2020/04/06 10:55

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

write to 0xffffffff89eca988 of 4 bytes by task 12021 on cpu 0:
 __inet_hash_connect+0x6bf/0x850 net/ipv4/inet_hashtables.c:757
 inet_hash_connect+0x85/0x90 net/ipv4/inet_hashtables.c:784
 dccp_v4_connect+0x637/0x8a0 net/dccp/ipv4.c:102
 __inet_stream_connect+0x5c6/0x6b0 net/ipv4/af_inet.c:661
 inet_stream_connect+0x44/0x70 net/ipv4/af_inet.c:725
 __sys_connect_file net/socket.c:1852 [inline]
 __sys_connect+0x245/0x280 net/socket.c:1869
 __do_sys_connect net/socket.c:1879 [inline]
 __se_sys_connect net/socket.c:1876 [inline]
 __x64_sys_connect+0x3d/0x50 net/socket.c:1876
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffffffff89eca988 of 4 bytes by task 12020 on cpu 1:
 __inet_hash_connect+0x261/0x850 net/ipv4/inet_hashtables.c:703
 inet_hash_connect+0x85/0x90 net/ipv4/inet_hashtables.c:784
 dccp_v4_connect+0x637/0x8a0 net/dccp/ipv4.c:102
 __inet_stream_connect+0x5c6/0x6b0 net/ipv4/af_inet.c:661
 inet_stream_connect+0x44/0x70 net/ipv4/af_inet.c:725
 __sys_connect_file net/socket.c:1852 [inline]
 __sys_connect+0x245/0x280 net/socket.c:1869
 __do_sys_connect net/socket.c:1879 [inline]
 __se_sys_connect net/socket.c:1876 [inline]
 __x64_sys_connect+0x3d/0x50 net/socket.c:1876
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 12020 Comm: syz-executor.2 Not tainted 5.9.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/08/18 08:55 upstream 06a4ec1d9dc6 5ce13532 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.