syzbot


KCSAN: data-race in geneve_xmit / geneve_xmit (2)

Status: auto-closed as invalid on 2021/01/12 17:00
Subsystems: net
[Documentation on labels]
First crash: 1511d, last: 1511d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in geneve_xmit / geneve_xmit (4) net 1 1100d 1100d 0/28 auto-closed as invalid on 2022/02/27 09:30
upstream KCSAN: data-race in geneve_xmit / geneve_xmit net 4 1786d 1824d 0/28 auto-closed as invalid on 2020/05/17 12:40
upstream KCSAN: data-race in geneve_xmit / geneve_xmit (3) net 1 1166d 1166d 0/28 auto-closed as invalid on 2021/12/23 17:26
upstream KCSAN: data-race in geneve_xmit / geneve_xmit (5) net 1 960d 960d 0/28 auto-closed as invalid on 2022/07/17 10:41

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

read-write to 0xffff88802a80b190 of 8 bytes by task 25940 on cpu 1:
 geneve_xmit+0x1122/0x1220 drivers/net/geneve.c:1082
 __netdev_start_xmit include/linux/netdevice.h:4735 [inline]
 netdev_start_xmit include/linux/netdevice.h:4749 [inline]
 xmit_one+0xf9/0x2e0 net/core/dev.c:3564
 dev_hard_start_xmit net/core/dev.c:3580 [inline]
 __dev_queue_xmit+0xeef/0x1510 net/core/dev.c:4140
 dev_queue_xmit+0x13/0x20 net/core/dev.c:4173
 neigh_hh_output include/net/neighbour.h:499 [inline]
 neigh_output include/net/neighbour.h:508 [inline]
 ip_finish_output2+0xb09/0xba0 net/ipv4/ip_output.c:230
 __ip_finish_output+0x3d8/0x430 net/ipv4/ip_output.c:308
 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:318
 NF_HOOK_COND include/linux/netfilter.h:290 [inline]
 ip_mc_output+0x304/0x4d0 net/ipv4/ip_output.c:417
 dst_output include/net/dst.h:443 [inline]
 ip_local_out net/ipv4/ip_output.c:126 [inline]
 ip_send_skb+0x6e/0xe0 net/ipv4/ip_output.c:1568
 udp_send_skb+0x619/0x850 net/ipv4/udp.c:948
 udp_sendmsg+0x142c/0x15e0 net/ipv4/udp.c:1235
 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

read-write to 0xffff88802a80b190 of 8 bytes by task 25908 on cpu 0:
 geneve_xmit+0x1122/0x1220 drivers/net/geneve.c:1082
 __netdev_start_xmit include/linux/netdevice.h:4735 [inline]
 netdev_start_xmit include/linux/netdevice.h:4749 [inline]
 xmit_one+0xf9/0x2e0 net/core/dev.c:3564
 dev_hard_start_xmit net/core/dev.c:3580 [inline]
 __dev_queue_xmit+0xeef/0x1510 net/core/dev.c:4140
 dev_queue_xmit+0x13/0x20 net/core/dev.c:4173
 neigh_hh_output include/net/neighbour.h:499 [inline]
 neigh_output include/net/neighbour.h:508 [inline]
 ip_finish_output2+0xb09/0xba0 net/ipv4/ip_output.c:230
 __ip_finish_output+0x3d8/0x430 net/ipv4/ip_output.c:308
 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:318
 NF_HOOK_COND include/linux/netfilter.h:290 [inline]
 ip_mc_output+0x304/0x4d0 net/ipv4/ip_output.c:417
 dst_output include/net/dst.h:443 [inline]
 ip_local_out net/ipv4/ip_output.c:126 [inline]
 ip_send_skb+0x6e/0xe0 net/ipv4/ip_output.c:1568
 udp_send_skb+0x619/0x850 net/ipv4/udp.c:948
 udp_sendmsg+0x142c/0x15e0 net/ipv4/udp.c:1235
 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: 25908 Comm: syz-executor.5 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/08 16:56 upstream cd796ed33450 9af51e31 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.