syzbot


KCSAN: data-race in udpv6_sendmsg / udpv6_sendmsg

Status: auto-closed as invalid on 2020/08/23 02:37
Subsystems: net
[Documentation on labels]
First crash: 1586d, last: 1586d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in udpv6_sendmsg / udpv6_sendmsg (3) net 1 1300d 1300d 0/28 auto-closed as invalid on 2021/06/05 06:06
upstream KCSAN: data-race in udpv6_sendmsg / udpv6_sendmsg (6) net 1 317d 313d 25/28 fixed on 2024/01/30 15:47
upstream KCSAN: data-race in udpv6_sendmsg / udpv6_sendmsg (4) net 1 1244d 1238d 0/28 auto-closed as invalid on 2021/09/03 03:58
upstream KCSAN: data-race in udpv6_sendmsg / udpv6_sendmsg (5) net 1 549d 549d 0/28 auto-obsoleted due to no activity on 2023/06/26 01:26
upstream KCSAN: data-race in udpv6_sendmsg / udpv6_sendmsg (2) net 1 1538d 1538d 0/28 auto-closed as invalid on 2020/10/10 02:50

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

write to 0xffff88807a680e48 of 4 bytes by task 11432 on cpu 1:
 udpv6_sendmsg+0x14af/0x1780 net/ipv6/udp.c:1488
 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:638
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg net/socket.c:672 [inline]
 __sys_sendto+0x2ad/0x380 net/socket.c:1995
 __do_sys_sendto net/socket.c:2007 [inline]
 __se_sys_sendto net/socket.c:2003 [inline]
 __x64_sys_sendto+0x74/0x90 net/socket.c:2003
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

read to 0xffff88807a680e48 of 4 bytes by task 11456 on cpu 0:
 udpv6_sendmsg+0x1eb/0x1780 net/ipv6/udp.c:1268
 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:638
 sock_sendmsg_nosec net/socket.c:652 [inline]
 sock_sendmsg net/socket.c:672 [inline]
 sock_write_iter+0x1a1/0x200 net/socket.c:999
 call_write_iter include/linux/fs.h:1908 [inline]
 new_sync_write fs/read_write.c:503 [inline]
 vfs_write+0x607/0x690 fs/read_write.c:578
 ksys_write+0xce/0x180 fs/read_write.c:631
 __do_sys_write fs/read_write.c:643 [inline]
 __se_sys_write fs/read_write.c:640 [inline]
 __x64_sys_write+0x3e/0x50 fs/read_write.c:640
 do_syscall_64+0x51/0xb0 arch/x86/entry/common.c:384
 entry_SYSCALL_64_after_hwframe+0x44/0xa9

Reported by Kernel Concurrency Sanitizer on:
CPU: 0 PID: 11456 Comm: syz-executor.3 Not tainted 5.8.0-rc5-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/07/19 02:30 upstream 6cf7ccba29dc 9c812472 .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.