syzbot


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

Status: auto-closed as invalid on 2020/10/29 08:32
Subsystems: net
[Documentation on labels]
First crash: 1308d, last: 1308d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in ip6_tnl_xmit / ip6_tnl_xmit (6) net 1 679d 679d 0/26 auto-closed as invalid on 2022/07/19 20:28
upstream KCSAN: data-race in ip6_tnl_xmit / ip6_tnl_xmit net 3 1637d 1642d 0/26 closed as invalid on 2019/11/19 13:24
upstream KCSAN: data-race in ip6_tnl_xmit / ip6_tnl_xmit (5) net 3 773d 811d 0/26 auto-closed as invalid on 2022/04/16 19:07
upstream KCSAN: data-race in ip6_tnl_xmit / ip6_tnl_xmit (4) net 1 888d 888d 0/26 auto-closed as invalid on 2021/12/22 23:42
upstream KCSAN: data-race in ip6_tnl_xmit / ip6_tnl_xmit (3) net 1 1168d 1168d 0/26 auto-closed as invalid on 2021/03/18 08:19

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

write to 0xffff88808fc2c190 of 8 bytes by task 25317 on cpu 1:
 ip6_tnl_xmit+0x4d3/0x15c0 net/ipv6/ip6_tunnel.c:1297
 ipxip6_tnl_xmit net/ipv6/ip6_tunnel.c:1412 [inline]
 ip6_tnl_start_xmit+0x8af/0x9f0 net/ipv6/ip6_tunnel.c:1461
 __netdev_start_xmit include/linux/netdevice.h:4636 [inline]
 netdev_start_xmit include/linux/netdevice.h:4650 [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]
 ip6_finish_output2+0x97f/0xb20 net/ipv6/ip6_output.c:117
 __ip6_finish_output+0x302/0x330 net/ipv6/ip6_output.c:143
 ip6_finish_output+0x39/0x160 net/ipv6/ip6_output.c:153
 NF_HOOK_COND include/linux/netfilter.h:290 [inline]
 ip6_output+0x10e/0x210 net/ipv6/ip6_output.c:176
 dst_output include/net/dst.h:443 [inline]
 ip6_local_out+0x60/0x80 net/ipv6/output_core.c:179
 ip6_send_skb net/ipv6/ip6_output.c:1867 [inline]
 ip6_push_pending_frames+0xb6/0x170 net/ipv6/ip6_output.c:1887
 rawv6_push_pending_frames net/ipv6/raw.c:613 [inline]
 rawv6_sendmsg+0x12b6/0x1360 net/ipv6/raw.c:956
 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+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 0xffff88808fc2c190 of 8 bytes by task 25274 on cpu 0:
 ip6_tnl_xmit+0x4c1/0x15c0 net/ipv6/ip6_tunnel.c:1297
 ipxip6_tnl_xmit net/ipv6/ip6_tunnel.c:1412 [inline]
 ip6_tnl_start_xmit+0x8af/0x9f0 net/ipv6/ip6_tunnel.c:1461
 __netdev_start_xmit include/linux/netdevice.h:4636 [inline]
 netdev_start_xmit include/linux/netdevice.h:4650 [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]
 ip6_finish_output2+0x97f/0xb20 net/ipv6/ip6_output.c:117
 __ip6_finish_output+0x302/0x330 net/ipv6/ip6_output.c:143
 ip6_finish_output+0x39/0x160 net/ipv6/ip6_output.c:153
 NF_HOOK_COND include/linux/netfilter.h:290 [inline]
 ip6_output+0x10e/0x210 net/ipv6/ip6_output.c:176
 dst_output include/net/dst.h:443 [inline]
 ip6_local_out+0x60/0x80 net/ipv6/output_core.c:179
 ip6_send_skb net/ipv6/ip6_output.c:1867 [inline]
 ip6_push_pending_frames+0xb6/0x170 net/ipv6/ip6_output.c:1887
 rawv6_push_pending_frames net/ipv6/raw.c:613 [inline]
 rawv6_sendmsg+0x12b6/0x1360 net/ipv6/raw.c:956
 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+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: 0 PID: 25274 Comm: syz-executor.2 Not tainted 5.9.0-rc6-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/09/24 08:24 upstream c9c9e6a49f89 54289b08 .config console log report info ci2-upstream-kcsan-gce
* Struck through repros no longer work on HEAD.