syzbot


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

Status: auto-closed as invalid on 2020/11/10 03:04
Subsystems: net
[Documentation on labels]
First crash: 1390d, last: 1287d
Similar bugs (11)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (6) net 32 849d 1014d 0/26 auto-closed as invalid on 2022/01/21 16:19
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit net 22 1490d 1622d 0/26 auto-closed as invalid on 2020/05/25 22:33
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (11) net 1 489d 489d 0/26 auto-obsoleted due to no activity on 2023/01/17 03:08
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (9) net 1 610d 610d 0/26 auto-closed as invalid on 2022/09/18 04:26
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (10) net 4 527d 569d 0/26 auto-obsoleted due to no activity on 2022/12/10 01:58
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (5) net 5 1064d 1028d 0/26 auto-closed as invalid on 2021/07/05 08:43
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (8) net 1 652d 652d 0/26 auto-closed as invalid on 2022/08/06 22:00
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (4) net 2 1153d 1177d 0/26 auto-closed as invalid on 2021/03/23 07:29
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (7) net 10 691d 801d 0/26 auto-closed as invalid on 2022/06/29 00:38
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (3) net 5 1212d 1220d 0/26 auto-closed as invalid on 2021/01/23 09:54
upstream KCSAN: data-race in ip_tunnel_xmit / ip_tunnel_xmit (12) net 3 404d 403d 22/26 fixed on 2023/06/08 14:41

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

write to 0xffff888090199130 of 8 bytes by task 14061 on cpu 0:
 ip_tunnel_xmit+0xb28/0x11c0 net/ipv4/ip_tunnel.c:825
 ipip_tunnel_xmit+0x264/0x2c0 net/ipv4/ipip.c:305
 __netdev_start_xmit include/linux/netdevice.h:4681 [inline]
 netdev_start_xmit include/linux/netdevice.h:4695 [inline]
 xmit_one+0xc0/0x310 net/core/dev.c:3561
 dev_hard_start_xmit net/core/dev.c:3577 [inline]
 __dev_queue_xmit+0xf00/0x15a0 net/core/dev.c:4136
 dev_queue_xmit+0x13/0x20 net/core/dev.c:4169
 neigh_connected_output+0x24f/0x280 net/core/neighbour.c:1518
 neigh_output include/net/neighbour.h:509 [inline]
 ip_finish_output2+0x4e2/0xb60 net/ipv4/ip_output.c:229
 __ip_finish_output+0x404/0x490 net/ipv4/ip_output.c:307
 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:317
 NF_HOOK_COND include/linux/netfilter.h:290 [inline]
 ip_output+0xf6/0x1a0 net/ipv4/ip_output.c:431
 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:1567
 udp_send_skb+0x62d/0x860 net/ipv4/udp.c:948
 udp_sendmsg+0x12a3/0x1560 net/ipv4/udp.c:1235
 udpv6_sendmsg+0x94b/0x1780 net/ipv6/udp.c:1344
 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:638
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg net/socket.c:671 [inline]
 ____sys_sendmsg+0x360/0x4d0 net/socket.c:2353
 ___sys_sendmsg net/socket.c:2407 [inline]
 __sys_sendmmsg+0x322/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 to 0xffff888090199130 of 8 bytes by task 14058 on cpu 1:
 ip_tunnel_xmit+0xb16/0x11c0 net/ipv4/ip_tunnel.c:825
 ipip_tunnel_xmit+0x264/0x2c0 net/ipv4/ipip.c:305
 __netdev_start_xmit include/linux/netdevice.h:4681 [inline]
 netdev_start_xmit include/linux/netdevice.h:4695 [inline]
 xmit_one+0xc0/0x310 net/core/dev.c:3561
 dev_hard_start_xmit net/core/dev.c:3577 [inline]
 __dev_queue_xmit+0xf00/0x15a0 net/core/dev.c:4136
 dev_queue_xmit+0x13/0x20 net/core/dev.c:4169
 neigh_connected_output+0x24f/0x280 net/core/neighbour.c:1518
 neigh_output include/net/neighbour.h:509 [inline]
 ip_finish_output2+0x4e2/0xb60 net/ipv4/ip_output.c:229
 __ip_finish_output+0x404/0x490 net/ipv4/ip_output.c:307
 ip_finish_output+0x39/0x160 net/ipv4/ip_output.c:317
 NF_HOOK_COND include/linux/netfilter.h:290 [inline]
 ip_output+0xf6/0x1a0 net/ipv4/ip_output.c:431
 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:1567
 udp_send_skb+0x62d/0x860 net/ipv4/udp.c:948
 udp_sendmsg+0x12a3/0x1560 net/ipv4/udp.c:1235
 udpv6_sendmsg+0x94b/0x1780 net/ipv6/udp.c:1344
 inet6_sendmsg+0x5f/0x80 net/ipv6/af_inet6.c:638
 sock_sendmsg_nosec net/socket.c:651 [inline]
 sock_sendmsg net/socket.c:671 [inline]
 ____sys_sendmsg+0x360/0x4d0 net/socket.c:2353
 ___sys_sendmsg net/socket.c:2407 [inline]
 __sys_sendmmsg+0x322/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: 1 PID: 14058 Comm: syz-executor.3 Not tainted 5.9.0-rc8-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/10/06 02:58 upstream 7575fdda569b 1880b4a9 .config console log report info ci2-upstream-kcsan-gce
2020/09/25 07:09 upstream 171d4ff79f96 54289b08 .config console log report info ci2-upstream-kcsan-gce
2020/09/02 23:52 upstream 9c7d619be5a0 abf9ba4f .config console log report ci2-upstream-kcsan-gce
2020/08/03 08:20 upstream 142c3326b055 96dd3623 .config console log report ci2-upstream-kcsan-gce
2020/07/18 13:42 upstream 6a70f89cc58f 9c812472 .config console log report ci2-upstream-kcsan-gce
2020/07/11 07:49 upstream a581387e415b 18d18b59 .config console log report ci2-upstream-kcsan-gce
2020/06/27 12:40 upstream 1590a2e1c681 032b4239 .config console log report ci2-upstream-kcsan-gce
2020/06/27 11:14 upstream 1590a2e1c681 032b4239 .config console log report ci2-upstream-kcsan-gce
2020/06/27 09:59 upstream 1590a2e1c681 032b4239 .config console log report ci2-upstream-kcsan-gce
2020/06/27 02:35 upstream 1590a2e1c681 ffec44b5 .config console log report ci2-upstream-kcsan-gce
2020/06/24 09:31 upstream 3e08a95294a4 bbad15ae .config console log report ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.