syzbot


KCSAN: data-race in rawv6_sendmsg / sock_setsockopt

Status: auto-closed as invalid on 2020/10/15 06:21
Subsystems: net
[Documentation on labels]
First crash: 1324d, last: 1324d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in rawv6_sendmsg / sock_setsockopt (2) net 1 1229d 1229d 0/26 auto-closed as invalid on 2021/01/17 18:57

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

write to 0xffff88809780fca8 of 2 bytes by task 18428 on cpu 1:
 sock_setsockopt+0x1c58/0x1fe0 net/core/sock.c:1039
 __sys_setsockopt+0x326/0x450 net/socket.c:2128
 __do_sys_setsockopt net/socket.c:2143 [inline]
 __se_sys_setsockopt net/socket.c:2140 [inline]
 __x64_sys_setsockopt+0x62/0x70 net/socket.c:2140
 do_syscall_64+0x39/0x80 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88809780fca8 of 2 bytes by task 18446 on cpu 0:
 rawv6_sendmsg+0x1ba/0x1360 net/ipv6/raw.c:812
 inet_sendmsg+0x5f/0x80 net/ipv4/af_inet.c:817
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg net/socket.c:671 [inline]
 ____sys_sendmsg+0x360/0x4d0 net/socket.c:2353
 ___sys_sendmsg net/socket.c:2407 [inline]
 __sys_sendmmsg+0x322/0x4b0 net/socket.c:2497
 __do_sys_sendmmsg net/socket.c:2526 [inline]
 __se_sys_sendmmsg net/socket.c:2523 [inline]
 __x64_sys_sendmmsg+0x53/0x60 net/socket.c:2523
 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: 0 PID: 18446 Comm: syz-executor.3 Not tainted 5.9.0-rc4-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/09/10 06:12 upstream 34d4ddd359db ac7ca78e .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.