syzbot


KCSAN: data-race in sock_set_timestamping / udpv6_sendmsg (2)

Status: auto-closed as invalid on 2022/01/16 09:11
Subsystems: net
[Documentation on labels]
First crash: 864d, last: 864d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in sock_set_timestamping / udpv6_sendmsg net 1 970d 970d 0/26 auto-closed as invalid on 2021/10/03 07:20

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

write to 0xffff888106480270 of 2 bytes by task 4694 on cpu 0:
 sock_set_timestamping+0x197/0x4c0 net/core/sock.c:896
 sock_setsockopt+0x1a3b/0x1fb0 net/core/sock.c:1195
 __sys_setsockopt+0x239/0x2a0 net/socket.c:2172
 __do_sys_setsockopt net/socket.c:2187 [inline]
 __se_sys_setsockopt net/socket.c:2184 [inline]
 __x64_sys_setsockopt+0x62/0x70 net/socket.c:2184
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

read to 0xffff888106480270 of 2 bytes by task 4695 on cpu 1:
 udpv6_sendmsg+0x1e2/0x16e0 net/ipv6/udp.c:1314
 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:644
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 __sys_sendto+0x21e/0x2c0 net/socket.c:2036
 __do_sys_sendto net/socket.c:2048 [inline]
 __se_sys_sendto net/socket.c:2044 [inline]
 __x64_sys_sendto+0x74/0x90 net/socket.c:2044
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae

value changed: 0x0000 -> 0x0901

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 4695 Comm: syz-executor.0 Tainted: G        W         5.16.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
2021/12/12 09:06 upstream a763d5a5abd6 49ca1f59 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in sock_set_timestamping / udpv6_sendmsg
* Struck through repros no longer work on HEAD.