syzbot


KCSAN: data-race in do_recvmmsg / do_recvmmsg

Status: auto-closed as invalid on 2021/06/21 21:01
Subsystems: net
[Documentation on labels]
First crash: 1110d, last: 1110d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in do_recvmmsg / do_recvmmsg (2) net 1 415d 390d 22/26 fixed on 2023/07/01 16:05

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

write to 0xffff888102dd6230 of 4 bytes by task 26756 on cpu 0:
 do_recvmmsg+0x923/0x9e0 net/socket.c:2761
 __sys_recvmmsg net/socket.c:2784 [inline]
 __do_sys_recvmmsg net/socket.c:2807 [inline]
 __se_sys_recvmmsg net/socket.c:2800 [inline]
 __x64_sys_recvmmsg+0xcf/0x150 net/socket.c:2800
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888102dd6230 of 4 bytes by task 26770 on cpu 1:
 sock_error include/net/sock.h:2267 [inline]
 do_recvmmsg+0x178/0x9e0 net/socket.c:2682
 __sys_recvmmsg net/socket.c:2786 [inline]
 __do_sys_recvmmsg net/socket.c:2807 [inline]
 __se_sys_recvmmsg net/socket.c:2800 [inline]
 __x64_sys_recvmmsg+0xe6/0x150 net/socket.c:2800
 do_syscall_64+0x4a/0x90 arch/x86/entry/common.c:47
 entry_SYSCALL_64_after_hwframe+0x44/0xae

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 26770 Comm: syz-executor.2 Not tainted 5.13.0-rc2-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
2021/05/17 20:55 upstream d07f6ca923ea a2eb125d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in do_recvmmsg / do_recvmmsg
* Struck through repros no longer work on HEAD.