syzbot


KCSAN: data-race in rawv6_sendmsg / sock_setsockopt (2)

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

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

write to 0xffff888139b528a8 of 2 bytes by task 19424 on cpu 1:
 sock_setsockopt+0x1ce8/0x1ef0 net/core/sock.c:1023
 __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 0xffff888139b528a8 of 2 bytes by task 19453 on cpu 0:
 rawv6_sendmsg+0x1be/0x1320 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+0x352/0x4c0 net/socket.c:2353
 ___sys_sendmsg net/socket.c:2407 [inline]
 __sys_sendmmsg+0x335/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: 19453 Comm: syz-executor.4 Not tainted 5.10.0-rc7-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/12/13 18:56 upstream 6bff9bb8a292 8f160dd5 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.