syzbot


KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit (4)

Status: auto-closed as invalid on 2022/04/03 16:50
Subsystems: net
[Documentation on labels]
First crash: 903d, last: 802d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit (3) net 1 1143d 1143d 0/26 auto-closed as invalid on 2021/04/28 06:20
upstream KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit (5) net 3 716d 720d 0/26 auto-closed as invalid on 2022/06/28 11:15
upstream KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit net 75 1251d 1438d 0/26 auto-closed as invalid on 2021/01/09 17:46
upstream KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit (2) net 2 1180d 1194d 0/26 auto-closed as invalid on 2021/03/22 06:37
upstream KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit (6) net 4 621d 644d 0/26 auto-closed as invalid on 2022/10/01 13:37

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

read to 0xffff888132bf6158 of 8 bytes by task 25000 on cpu 0:
 vti_xmit net/ipv4/ip_vti.c:270 [inline]
 vti_tunnel_xmit+0x8c6/0xb70 net/ipv4/ip_vti.c:304
 __netdev_start_xmit include/linux/netdevice.h:4683 [inline]
 netdev_start_xmit include/linux/netdevice.h:4697 [inline]
 xmit_one+0x105/0x2f0 net/core/dev.c:3473
 dev_hard_start_xmit net/core/dev.c:3489 [inline]
 __dev_queue_xmit+0x86d/0xf90 net/core/dev.c:4116
 dev_queue_xmit+0x13/0x20 net/core/dev.c:4149
 __bpf_tx_skb net/core/filter.c:2113 [inline]
 __bpf_redirect_no_mac net/core/filter.c:2138 [inline]
 __bpf_redirect+0x5a9/0x850 net/core/filter.c:2161
 ____bpf_clone_redirect net/core/filter.c:2428 [inline]
 bpf_clone_redirect+0x168/0x1c0 net/core/filter.c:2400
 ___bpf_prog_run+0xc87/0x30c0 kernel/bpf/core.c:1558
 __bpf_prog_run512+0x70/0xa0 kernel/bpf/core.c:1787
 bpf_dispatcher_nop_func include/linux/bpf.h:784 [inline]
 __bpf_prog_run include/linux/filter.h:626 [inline]
 bpf_prog_run include/linux/filter.h:633 [inline]
 bpf_test_run+0x18b/0x400 net/bpf/test_run.c:120
 bpf_prog_test_run_skb+0x73d/0xed0 net/bpf/test_run.c:666
 bpf_prog_test_run kernel/bpf/syscall.c:3353 [inline]
 __sys_bpf+0x3caa/0xa3c0 kernel/bpf/syscall.c:4655
 __do_sys_bpf kernel/bpf/syscall.c:4741 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4739 [inline]
 __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4739
 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

write to 0xffff888132bf6158 of 8 bytes by task 25001 on cpu 1:
 vti_xmit net/ipv4/ip_vti.c:270 [inline]
 vti_tunnel_xmit+0x8d8/0xb70 net/ipv4/ip_vti.c:304
 __netdev_start_xmit include/linux/netdevice.h:4683 [inline]
 netdev_start_xmit include/linux/netdevice.h:4697 [inline]
 xmit_one+0x105/0x2f0 net/core/dev.c:3473
 dev_hard_start_xmit net/core/dev.c:3489 [inline]
 __dev_queue_xmit+0x86d/0xf90 net/core/dev.c:4116
 dev_queue_xmit+0x13/0x20 net/core/dev.c:4149
 __bpf_tx_skb net/core/filter.c:2113 [inline]
 __bpf_redirect_no_mac net/core/filter.c:2138 [inline]
 __bpf_redirect+0x5a9/0x850 net/core/filter.c:2161
 ____bpf_clone_redirect net/core/filter.c:2428 [inline]
 bpf_clone_redirect+0x168/0x1c0 net/core/filter.c:2400
 ___bpf_prog_run+0xc87/0x30c0 kernel/bpf/core.c:1558
 __bpf_prog_run512+0x70/0xa0 kernel/bpf/core.c:1787
 bpf_dispatcher_nop_func include/linux/bpf.h:784 [inline]
 __bpf_prog_run include/linux/filter.h:626 [inline]
 bpf_prog_run include/linux/filter.h:633 [inline]
 bpf_test_run+0x18b/0x400 net/bpf/test_run.c:120
 bpf_prog_test_run_skb+0x73d/0xed0 net/bpf/test_run.c:666
 bpf_prog_test_run kernel/bpf/syscall.c:3353 [inline]
 __sys_bpf+0x3caa/0xa3c0 kernel/bpf/syscall.c:4655
 __do_sys_bpf kernel/bpf/syscall.c:4741 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4739 [inline]
 __x64_sys_bpf+0x3f/0x50 kernel/bpf/syscall.c:4739
 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: 0x0000000000009cf2 -> 0x0000000000009cf4

Reported by Kernel Concurrency Sanitizer on:
CPU: 1 PID: 25001 Comm: syz-executor.0 Not tainted 5.17.0-rc5-syzkaller-00306-g2293be58d6a1-dirty #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
==================================================================

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/02/27 16:42 upstream 2293be58d6a1 45a13a73 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2022/02/21 17:23 upstream cfb92440ee71 3cd800e4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2022/02/15 23:59 upstream 705d84a366cf 8b9ca619 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2022/02/09 14:59 upstream e6251ab4551f 0b33604d .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2022/01/27 14:00 upstream 626b2dda7651 2cbffd88 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2022/01/22 01:18 upstream 9b57f4589857 214351e1 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2022/01/19 05:47 upstream 99613159ad74 731a2d23 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2022/01/15 16:06 upstream 112450df61b7 723cfaf0 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2022/01/07 12:49 upstream b2b436ec0205 6acc789a .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2021/12/31 17:34 upstream 4f3d93c6eaff 36bd2e48 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2021/12/22 06:04 upstream 1c3e979bf3e2 6caa12e4 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2021/12/21 12:02 upstream 6e0567b73052 a938f0b8 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
2021/11/18 11:52 upstream 42eb8fdac2fc cafff8b6 .config console log report info ci2-upstream-kcsan-gce KCSAN: data-race in vti_tunnel_xmit / vti_tunnel_xmit
* Struck through repros no longer work on HEAD.